Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): JAV 订阅源分清同一人的两页,空的旧艺名页不再报拉取失败

longmeidao638e06fc94d6
diff --git a/docs/SOURCING.md b/docs/SOURCING.md
index fcce78376..7ab61cf66 100644
--- a/docs/SOURCING.md
+++ b/docs/SOURCING.md
@@ -1278,6 +1278,9 @@ Feed 只回答一个问题:**最近出了哪些番号**。它不下载、不
- 限流照库内采集:主机间隔 3 秒、403 就整源停下,冷却判据在 `scraping_access`,见「javdb、AVBase 与 JavBus 的限流与封禁」。
不要因为 Feed 是后台任务就另开一套。
- **加 `?sort_type=4` 拿到的页面一条作品都解不出**,同一轮里不带参数的请求仍是完整页。所以演员页伪 Feed 一律用不带查询串的地址。
+ - 标题栏 `<span class="actor-section-name">` 是这一页挂的名字,另一个 `section-meta` 写着「N 部影片」。一位女优常有两页,
+ 旧艺名那页可能常年是空的(`/actors/MmbDR` 白石アイリ,2026-09-28 实测「0 部影片」「暂无内容」)。页面自报 0 部才算安静源;
+ 计数不为 0 却一条都解不出,仍按拉取失败报。
### 已核实不可用
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.ts
index 3e733272a..691efe6c0 100644
--- a/frontend/e2e/smoke.test.ts
+++ b/frontend/e2e/smoke.test.ts
@@ -64,7 +64,7 @@ const ROUTES: readonly Route[] = [
{
// 订阅源页签由地址参数直达;演示库没有订阅源,等到的是那一节的页脚按钮。
path: '/follow-manage?tab=feeds',
- body: (page) => [page.locator('#stats').getByRole('tab', { name: '订阅源', exact: true, selected: true }),
+ body: (page) => [page.locator('#stats').getByRole('tab', { name: 'JAV 订阅源', exact: true, selected: true }),
page.locator('#stats').getByRole('button', { name: '立即拉取', exact: true })],
},
{
diff --git a/frontend/src/board-skeleton.ts b/frontend/src/board-skeleton.ts
index 24a0e3494..133e9cba6 100644
--- a/frontend/src/board-skeleton.ts
+++ b/frontend/src/board-skeleton.ts
@@ -20,9 +20,9 @@ const text = (width: string) => `<span class="skeleton skeleton-text" style="wid
const block = (width: number, height: number, round = false) =>
`<span class="skeleton" style="width:${width}px;height:${height}px;flex:none${round ? ';border-radius:50%' : ''}"></span>`;
const STAT = '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';
-const followReadings = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4">${['关注创作者', '启用来源', '检查失败', '未看更新'].map(term => `<div class="${STAT}"><span class="text-body-medium text-text-secondary">${term}</span><b class="text-title-1-medium tabular-nums text-text-primary">${text('3em')}</b></div>`).join('')}</div>`;
+const followReadings = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${['关注创作者', '启用来源', '检查失败', '未看更新', 'JAV 订阅', '未看新作'].map(term => `<div class="${STAT}"><span class="text-body-medium text-text-secondary">${term}</span><b class="text-title-1-medium tabular-nums text-text-primary">${text('3em')}</b></div>`).join('')}</div>`;
const SEGMENT = 'flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover';
-const followTabs = () => `<div class="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">${['关注列表', '添加关注', '订阅源', '来源和凭证'].map((name, at) => `<span class="${SEGMENT}"${at === 0 ? ' data-selected="true"' : ''}>${name}</span>`).join('')}</div>`;
+const followTabs = () => `<div class="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">${['关注列表', '添加关注', 'JAV 订阅源', '来源和凭证'].map((name, at) => `<span class="${SEGMENT}"${at === 0 ? ' data-selected="true"' : ''}>${name}</span>`).join('')}</div>`;
/** Board UI `Checkbox` 的未勾静止态;给了字就是「全选本页」那种带标签的一枚。 */
const followCheck = (label = '') => `<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>${label ? `<span class="text-body-medium text-text-primary">${label}</span>` : ''}</span>`;
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index b6c0aa392..1d83fb2e1 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -261,6 +261,13 @@ export interface FollowManageProps {
readOnlyMessage: string;
/** 写入端上这一页的地址。取不到时门禁里不给去处。 */
writerUrl: string;
+ /** 订阅源那一行的人物圆标:有图走图,没图退到首字母。遗留层那份唯一的回落链实现。 */
+ avatarInner(
+ name: string,
+ entity: { id: number; has_image: boolean; avatar_focus?: unknown } | null,
+ representativeAssetId: number | null,
+ kind: string,
+ ): string;
}
/** 人工复核页。
diff --git a/frontend/src/react/components/stat-card.tsx b/frontend/src/react/components/stat-card.tsx
index d1d7c6848..75fefa4e9 100644
--- a/frontend/src/react/components/stat-card.tsx
+++ b/frontend/src/react/components/stat-card.tsx
@@ -26,6 +26,10 @@ export function statCardClass(options: CardOptions = {}) {
/** 一排读数卡:四张一排,窄屏折成两张一排。宿主可能是 `TabList`,所以类名也单独给一份。 */
export const STAT_STRIP = 'inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4';
+/** 一排六张读数卡:宽屏一排,中等宽度三张一排,窄屏两张一排。关注管理顶上那一排是四张关注
+ * 读数加两张 JAV 订阅读数;放进四列那一档会折成四加二,后两张孤零零挂在第二行。 */
+export const STAT_STRIP_SIX = 'inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6';
+
/** 净面读数卡的卡面:数据管理顶上那一排入口与资源同步的结果。和上面那一档不是同一张卡——
* 旧 `.board-plain-stat` 没有脚注带、没有阴影,内边距落在卡片自己身上(16px,三段之间
* 8px),图标块是一格白底,读数下面那行脚注是三级灰小字。 */
diff --git a/frontend/src/react/follow-manage/feed-sources.tsx b/frontend/src/react/follow-manage/feed-sources.tsx
index 06ddd469b..57d614345 100644
--- a/frontend/src/react/follow-manage/feed-sources.tsx
+++ b/frontend/src/react/follow-manage/feed-sources.tsx
@@ -1,4 +1,4 @@
-/* 关注管理页的「订阅源」页签:上面一张「添加 JAV 订阅」卡,下面一张和关注列表同一个外观的表,
+/* 关注管理页的「JAV 订阅源」页签:上面一张「添加 JAV 订阅」卡,下面一张和关注列表同一个外观的表,
* 一行一条源,名字前是她的资料图,列出类型、来源、状态、频率、上次拉取与新增,行尾是启用开关、
* 拉取键与移除键(ADR-0042)。行尾这三样和关注列表那一行一一对应,两张表看起来是一回事。
*
@@ -25,8 +25,10 @@ import {
} from '@/components/base/table/table';
import { errorMessage } from '../../api';
+import type { FollowManageProps } from '../bundle';
import { DataTableFrame } from '../components/data-table-frame';
import { EmptyState } from '../components/empty-state';
+import { LEGACY_AVATAR_IMG } from '../components/legacy-avatar';
import { Note } from '../components/note';
import { SelectionDock } from '../components/selection-dock';
import { queryClient } from '../query';
@@ -77,25 +79,29 @@ function StatusChip({ source }: { source: FeedSource }) {
return <Chip variant="caption" color="lime">正常</Chip>;
}
-/** 名字前的圆框:和关注列表的创作者圆标同一个尺寸与底色。有资料图走 `/entity-image`,判据由
- * 服务端的 `has_image` 给;没有就退首字母,首字母不进读屏,名字本身就在旁边。 */
-function FeedAvatar({ source }: { source: FeedSource }) {
- if (source.has_image && source.entity_id) {
- return (
- <img src={`/entity-image?kind=performer&id=${source.entity_id}&thumb=1`} alt="" width={32} height={32}
- loading="lazy" className="size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover" />
- );
- }
+type AvatarInner = FollowManageProps['avatarInner'];
+
+/** 名字前的圆框:和关注列表的创作者圆标同一个尺寸与底色。里面那段由遗留层 `avatarInner` 拼:
+ * 有资料图按人脸取景出图,判据是服务端的 `has_image`;没有就是首字母。整格不进读屏,名字就在旁边。 */
+function FeedAvatar({ source, avatarInner }: { source: FeedSource; avatarInner: AvatarInner }) {
+ const entity = source.entity_id
+ ? { id: source.entity_id, has_image: !!source.has_image, avatar_focus: source.avatar_focus }
+ : null;
return (
<span aria-hidden
- className="inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary">
- {feedName(source).slice(0, 1)}
- </span>
+ 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 ${LEGACY_AVATAR_IMG}`}
+ dangerouslySetInnerHTML={{ __html: avatarInner(feedName(source), entity, null, 'performer') }} />
);
}
+/** 这一页在站上挂的另一个名字。一个人常有两页,本名页和旧艺名页在表里同名,
+ * 只有这一段说得出哪一行是哪一页;和统称一样时不重复。 */
+const pageAlias = (source: FeedSource) =>
+ (source.page_name && source.page_name !== source.name ? source.page_name : '');
+
interface RowHandlers {
readOnly: boolean;
+ avatarInner: AvatarInner;
/** 正在跑的那个动作的键(`useAction` 的 `busy`),行尾的拉取键按它挂忙态。 */
busy: string | null;
toggle(source: FeedSource, enabled: boolean): void;
@@ -117,7 +123,9 @@ function confirmRemove(sources: FeedSource[], write: () => Promise<unknown>) {
});
}
-export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(message: string): void }) {
+export function FeedSources({ readOnly, toast, avatarInner }: {
+ readOnly: boolean; toast(message: string): void; avatarInner: AvatarInner;
+}) {
const feeds = useQuery({ queryKey: FEEDS_KEY, queryFn: ({ signal }) => fetchFeeds(signal) });
const action = useAction();
const data = feeds.data;
@@ -157,10 +165,11 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
/* 列定义只建一次,行里的控件到点击那一刻再从这里取最新的处理器与只读态。 */
const handlers = useRef<RowHandlers>({
- readOnly, busy: null, toggle: () => {}, fetch: () => {}, remove: () => {},
+ readOnly, avatarInner, busy: null, toggle: () => {}, fetch: () => {}, remove: () => {},
});
handlers.current = {
readOnly,
+ avatarInner,
busy: action.busy,
toggle: (source, enabled) => void action.run(`enabled-${source.id}`,
(signal) => setFeedEnabled(source.id, enabled, signal), () => void reload()),
@@ -194,12 +203,20 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
header: label('name'),
/* 名字、频率与时间都不换行:窄屏上这张表靠 Table 自带的容器横着滚,让格子换行只会
把「三上悠亜」竖着摆成四行,滚动反而没了用处。 */
- cell: (context) => (
- <span className="flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary">
- <FeedAvatar source={context.row.original} />
- {context.getValue()}
- </span>
- ),
+ cell: (context) => {
+ const alias = pageAlias(context.row.original);
+ return (
+ <span className="flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary">
+ <FeedAvatar source={context.row.original} avatarInner={handlers.current.avatarInner} />
+ {context.getValue()}
+ {alias ? (
+ <span className="text-body-2-regular text-text-secondary" title={`站上这一页挂在「${alias}」名下`}>
+ {alias}
+ </span>
+ ) : null}
+ </span>
+ );
+ },
}),
column.accessor((row) => row.kind_label, {
id: 'kind',
@@ -291,7 +308,7 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
const chosen = sources.filter((source) => selected.has(source.id));
const failing = sources.filter((source) => source.last_error);
- /* 分区名由页签「订阅源」给,表上面没有同名的小标题。 */
+ /* 分区名由页签「JAV 订阅源」给,表上面没有同名的小标题。 */
return (
<div className="flex flex-col gap-3">
<AddFeed readOnly={readOnly} toast={toast} onAdded={() => void reload()} />
@@ -327,7 +344,7 @@ export function FeedSources({ readOnly, toast }: { readOnly: boolean; toast(mess
{sources.length ? (
<DataTableFrame onRowClick={(key) => toggleRow(Number(key))}>
- <Table aria-label="订阅源" size="sm">
+ <Table aria-label="JAV 订阅源" size="sm">
<TableHeader>
{table.getHeaderGroups()[0]!.headers.map((header) => {
const text = flexRender(header.column.columnDef.header, header.getContext());
diff --git a/frontend/src/react/follow-manage/follow-manage-page.tsx b/frontend/src/react/follow-manage/follow-manage-page.tsx
index 5fef3a39c..444e36be7 100644
--- a/frontend/src/react/follow-manage/follow-manage-page.tsx
+++ b/frontend/src/react/follow-manage/follow-manage-page.tsx
@@ -25,20 +25,20 @@ import { cardClass } from '../components/card';
import { Note } from '../components/note';
import { Page } from '../components/page';
import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';
-import { STAT_STRIP } from '../components/stat-card';
+import { STAT_STRIP_SIX } from '../components/stat-card';
import { AddSource } from './add-source';
import { AliasManager } from './alias-manager';
import { Credentials } from './credentials';
import { FeedSources } from './feed-sources';
import {
- credentialDone, DEFAULT_SORT, fetchCredentials, fetchFollow, FOLLOW_CREDENTIALS_KEY,
+ credentialDone, DEFAULT_SORT, FEEDS_KEY, fetchCredentials, fetchFeeds, fetchFollow, FOLLOW_CREDENTIALS_KEY,
FOLLOW_MANAGE_KEY, groupByAuthor, isBroken, isLayout, keepSelected, pageSizeOf,
SORT_DEFAULT_DIR, type CredentialData, type FollowData, type Layout, type SortDir, type SortKey,
} from './follow-manage';
import { SourceList } from './source-list';
const TABS = [
- ['list', '关注列表'], ['add', '添加关注'], ['feeds', '订阅源'], ['source', '来源和凭证'],
+ ['list', '关注列表'], ['add', '添加关注'], ['feeds', 'JAV 订阅源'], ['source', '来源和凭证'],
] as const;
type TabKey = (typeof TABS)[number][0];
@@ -74,6 +74,8 @@ export function FollowManagePage(props: FollowManageProps) {
const credentials = useQuery({
queryKey: FOLLOW_CREDENTIALS_KEY, queryFn: ({ signal }) => fetchCredentials(signal),
});
+ /* 和 JAV 订阅源页签同一份缓存:读数与表格看的是同一次读取。 */
+ const feeds = useQuery({ queryKey: FEEDS_KEY, queryFn: ({ signal }) => fetchFeeds(signal) });
const data: FollowData = follow.data || { sources: [] };
const creds: CredentialData = credentials.data || { root: '', providers: [] };
const sources = data.sources;
@@ -104,6 +106,9 @@ export function FollowManagePage(props: FollowManageProps) {
const enabled = sources.filter((source) => source.enabled).length;
const pending = (creds.providers || []).filter(
(row) => row.requirement === 'required' && !credentialDone(row)).length;
+ /* 按人数:一位女优常有本名页和旧艺名页两条源,订的是她这个人。没挂人物的源各算一位。 */
+ const subscribed = new Set((feeds.data?.sources || []).map(
+ (source) => source.entity_id ?? `source-${source.id}`)).size;
return (
<Page>
@@ -120,12 +125,14 @@ export function FollowManagePage(props: FollowManageProps) {
</Note>
) : null}
- {/* 四张一排,窄屏折成两张:旧 `.fmanageoverview` 就是定死四栏,不按卡片宽度自己折。 */}
- <div className={STAT_STRIP} aria-label="关注概览">
+ {/* 前四张是关注,后两张是 JAV 订阅源:订了几位、拉回来的新作还有几条没看。 */}
+ <div className={STAT_STRIP_SIX} aria-label="关注概览">
<Reading term="关注创作者" figure={groups.length} unit="位" />
<Reading term="启用来源" figure={enabled} unit={`/ ${sources.length}`} />
<Reading term="检查失败" figure={broken} unit="个来源" />
<Reading term="未看更新" figure={data.counts?.new || 0} unit="条" />
+ <Reading term="JAV 订阅" figure={subscribed} unit="位" />
+ <Reading term="未看新作" figure={feeds.data?.unread || 0} unit="条" />
</div>
<Tabs selectedKey={tab} onSelectionChange={(key) => {
@@ -177,7 +184,7 @@ export function FollowManagePage(props: FollowManageProps) {
</TabPanel>
<TabPanel id="feeds" className="flex flex-col gap-4">
- <FeedSources readOnly={readOnly} toast={toast} />
+ <FeedSources readOnly={readOnly} toast={toast} avatarInner={props.avatarInner} />
</TabPanel>
<TabPanel id="source" className="flex flex-col gap-4">
diff --git a/frontend/src/react/follow-manage/follow-manage.ts b/frontend/src/react/follow-manage/follow-manage.ts
index 14c8fcc5a..a185633b1 100644
--- a/frontend/src/react/follow-manage/follow-manage.ts
+++ b/frontend/src/react/follow-manage/follow-manage.ts
@@ -457,13 +457,17 @@ export interface FeedSource {
id: number;
kind: string;
kind_label: string;
- /** 挂着人物时是她在账本里的统称,否则是登记时存的名字。 */
+ /** 挂着人物时是她在账本里的统称,否则是存下的名字。 */
name: string;
+ /** 上次拉取时这一页在站上挂的名字。同一个人的旧艺名页靠它和本名页分开。 */
+ page_name?: string;
url: string;
entity_id: number | null;
entity_name: string | null;
/** 这位有没有资料图:有就在名字前画 `/entity-image` 的圆框,没有退首字母。 */
has_image?: boolean;
+ /** 资料图的人脸取景,和 `has_image` 出自同一份身份引用。 */
+ avatar_focus?: unknown;
enabled: boolean;
interval_minutes: number;
last_fetched_at: string | null;
diff --git a/frontend/test/board-skeleton.test.ts b/frontend/test/board-skeleton.test.ts
index 9ff60c458..44873fbdc 100644
--- a/frontend/test/board-skeleton.test.ts
+++ b/frontend/test/board-skeleton.test.ts
@@ -57,7 +57,7 @@ describe('Board 页面骨架', () => {
expect(root.querySelector('.board-segment-thumb')).toBeNull();
expect(root.querySelector('.peach-react [data-selected]')?.textContent).toBe('关注列表');
const track = root.querySelector('.peach-react [data-selected]')!.parentElement!;
- expect([...track.children].map((span) => span.textContent)).toEqual(['关注列表', '添加关注', '订阅源', '来源和凭证']);
+ expect([...track.children].map((span) => span.textContent)).toEqual(['关注列表', '添加关注', 'JAV 订阅源', '来源和凭证']);
});
it('关注骨架的工具行按 Board UI 最终变体画:检查全部是主按钮,视图切换是按版式选中的按钮组', () => {
const toolbar = follow().querySelector('.follow-skeleton-toolbar')!;
diff --git a/frontend/test/react/follow-manage.test.tsx b/frontend/test/react/follow-manage.test.tsx
index 0727ac3e5..e4b5fb0c1 100644
--- a/frontend/test/react/follow-manage.test.tsx
+++ b/frontend/test/react/follow-manage.test.tsx
@@ -145,6 +145,10 @@ const shellProps = (over: Partial<Props> = {}): Props => ({
toast: vi.fn(),
openFollow: vi.fn(),
readOnly: false, readOnlyMessage: '', writerUrl: '',
+ // 遗留层那条回落链的形状:先垫首字母,有图再叠一张。
+ avatarInner: vi.fn((name: string, entity: { id: number; has_image: boolean } | null) =>
+ `<span class="ini">${name.slice(0, 1)}</span>`
+ + (entity?.has_image ? `<img src="/entity-image?kind=performer&amp;id=${entity.id}" alt="">` : '')),
...over,
});
@@ -586,7 +590,7 @@ it('一条来源都没有时空态给出添加关注的去处', async () => {
it('各栏按做事的先后排,缺凭据的数挂在最后一栏上', async () => {
const { host } = await open({ creds: { root: 'C:\\creds', providers: [credential({ provider: 'fanbox' })] } });
expect([...host.querySelectorAll('[role="tab"]')].map((tab) => tab.textContent))
- .toEqual(['关注列表', '添加关注', '订阅源', '来源和凭证(1)']);
+ .toEqual(['关注列表', '添加关注', 'JAV 订阅源', '来源和凭证(1)']);
});
const FEEDS: FeedsData = {
@@ -631,17 +635,19 @@ function stubConfirm(accept: boolean) {
it('地址栏指着订阅源时首屏就带着清单,开关、移除与立即拉取都落到订阅源的接口上', async () => {
stubConfirm(true);
- const { host, fetcher } = await open({ feeds: FEEDS }, { tab: 'feeds' });
- expect(host.querySelector('[role="tab"][aria-selected="true"]')?.textContent).toBe('订阅源');
+ const { host, fetcher, props } = await open({ feeds: FEEDS }, { tab: 'feeds' });
+ expect(host.querySelector('[role="tab"][aria-selected="true"]')?.textContent).toBe('JAV 订阅源');
expect([...host.querySelectorAll('[role="columnheader"]')].map((cell) => cell.textContent?.trim()))
.toEqual(['选择', '名称', '类型', '来源', '状态', '频率', '上次拉取', '上次新增', '操作']);
const first = checkboxNamed(host, '选择 甲 的新作')!.closest('[role="row"]')!;
expect([...first.querySelectorAll('[role="rowheader"],[role="gridcell"]')].map(shown))
.toEqual(['', '甲 的新作', 'JAV 订阅', 'feeds.test', '正常', '每 12 小时', '还没拉过', '0 条', '']);
expect(first.querySelector('a')?.getAttribute('href')).toBe('https://feeds.test/a');
- // 名字前的圆框:有资料图的走 `/entity-image`,没有的退首字母。
+ // 名字前的圆框由遗留层的回落链拼:身份引用带着有没有图,图有了才叠上去。
+ expect(props.avatarInner).toHaveBeenCalledWith(
+ '甲 的新作', { id: 41, has_image: true, avatar_focus: undefined }, null, 'performer');
expect(first.querySelector('[role="rowheader"] img')?.getAttribute('src'))
- .toBe('/entity-image?kind=performer&id=41&thumb=1');
+ .toBe('/entity-image?kind=performer&id=41');
const second = checkboxNamed(host, '选择 乙 的新作')!.closest('[role="row"]')!;
expect(second.querySelector('[role="rowheader"] img')).toBeNull();
expect(second.querySelector('[role="rowheader"] [aria-hidden]')?.textContent).toBe('乙');
@@ -665,6 +671,20 @@ it('地址栏指着订阅源时首屏就带着清单,开关、移除与立即
expect(feedReads(fetcher)).toBeGreaterThan(1);
});
+it('同一个人的两页各一行,旧艺名那页在名字旁写出站上的名字;顶上按人数计订阅', async () => {
+ const page = (id: number, pageName: string) => ({
+ id, kind: 'javdb-actor', kind_label: 'JAV 订阅', name: '森日向子', page_name: pageName,
+ url: `https://javdb.com/actors/${id}`, entity_id: 8112, entity_name: '森日向子', has_image: true,
+ enabled: true, interval_minutes: 360, last_fetched_at: null, last_error: null, last_new_count: 0, seen: 0,
+ });
+ const { host } = await open(
+ { feeds: { unread: 81, sources: [page(3, '白石アイリ'), page(4, '森日向子')] } }, { tab: 'feeds' });
+ const names = [...host.querySelectorAll('[role="rowheader"]')].map(shown);
+ expect(names).toEqual(['森日向子白石アイリ', '森日向子']);
+ const readings = [...host.querySelector('[aria-label="关注概览"]')!.children].map((card) => card.textContent);
+ expect(readings.slice(-2)).toEqual(['JAV 订阅1 位', '未看新作81 条']);
+});
+
it('订阅源表里点一行的空白处就是选这一行,选中了底部浮出批量操作,暂停逐条写到订阅源接口', async () => {
const { host, fetcher } = await open({ feeds: FEEDS }, { tab: 'feeds' });
const row = () => checkboxNamed(host, '选择 乙 的新作')!.closest('[role="row"]')!;
diff --git a/src/peach/feeds.py b/src/peach/feeds.py
index d6ddca76b..983b28837 100644
--- a/src/peach/feeds.py
+++ b/src/peach/feeds.py
@@ -50,6 +50,10 @@ _JAVDB_BOX = re.compile(
r'.*?<div class="meta">\s*(?P<date>\d{4}-\d{2}-\d{2})',
re.S)
_TAGS = re.compile(r"<[^>]+>")
+#: 演员页标题栏:站上这一页挂在哪个名字下,和页面自报的作品数。一位女优常有两页,
+#: 本名一页、旧艺名一页(森日向子的另一页挂在「白石アイリ」下),名字是区分两行的唯一线索。
+_JAVDB_ACTOR_NAME = re.compile(r'<span class="actor-section-name">([^<]*)</span>')
+_JAVDB_WORK_COUNT = re.compile(r'<span class="section-meta">\s*(\d+)\s*部影片\s*</span>')
#: 合集的标题记号:精选、总集、连发。`BEST` 前后不许紧挨字母,`BESTIE` 那种词不算。
_COMPILATION_TITLE = re.compile(
@@ -166,15 +170,21 @@ def _published(value: str) -> str | None:
def parse_javdb_actor(html: str, base_url: str) -> ParsedFeed | None:
- """JavDB 演员页 → 条目。一条作品都解不出时返回 None。
+ """JavDB 演员页 → 条目,`title` 是这一页挂的名字。一条作品都解不出时返回 None。
解不出不等于这个人没作品:带查询串的地址回过一份 27 KB、一条作品都没有的页面
(2026-09-22 实测;09-23 同一种 `?t=s` 地址回的是 85 KB、40 条的完整页),不带参数
的是 78 KB 的完整页。所以这种情况按拉取失败报出来,而不是当成「这次没有新作」——
后者会把一个坏掉的源伪装成安静的源。
+
+ 例外只有页面自己说「0 部影片」的那种:旧艺名页常年挂着空列表(`MmbDR` 白石アイリ,
+ 2026-09-28 实测),那是一个真实存在、只是没有作品的源,返回零条。判据是页面自报的
+ 计数,不是「暂无内容」那行字——计数不为零却没有作品,照旧算失败。
"""
if not html:
return None
+ named = _JAVDB_ACTOR_NAME.search(html)
+ name = (named.group(1).strip() or None) if named else None
rows: list[FeedEntry] = []
for found in list(_JAVDB_BOX.finditer(html))[:MAX_ENTRIES]:
href = found.group("href")
@@ -184,8 +194,11 @@ def parse_javdb_actor(html: str, base_url: str) -> ParsedFeed | None:
rows.append(FeedEntry(href, title, urljoin(base_url, href),
_published(found.group("date"))))
if not rows:
+ counted = _JAVDB_WORK_COUNT.search(html)
+ if name and counted and int(counted.group(1)) == 0:
+ return ParsedFeed(name, ())
return None
- return ParsedFeed(None, tuple(rows))
+ return ParsedFeed(name, tuple(rows))
def solo_works_url(url: str) -> str:
@@ -283,17 +296,22 @@ def set_enabled(connection: sqlite3.Connection, source_id: int, enabled: bool) -
def sources(connection: sqlite3.Connection) -> list[dict]:
"""订阅源清单。挂着人物的源,名字就是她在账本里的统称:用户在资料页定的那个写法,
- 不是登记时从站上抄下来的。没挂人物的才用登记时存的名字。"""
+ 不是登记时从站上抄下来的。没挂人物的才用存下的名字。
+
+ `page_name` 是上次拉取时这一页在站上挂的名字(`settle` 写进 `feed_source.name`)。
+ 同一个人的两页在表里名字一样,只有它说得出哪一行是旧艺名那页。排序按人物走,
+ 同一个人的几页挨在一起,不被页名拆开。"""
rows = connection.execute(
"SELECT s.*, e.canonical_name AS entity_name,"
" (SELECT count(*) FROM feed_item i WHERE i.source_id=s.id) AS seen"
" FROM feed_source s LEFT JOIN entity e ON e.id=s.entity_id"
- " ORDER BY s.kind, s.name, s.id").fetchall()
+ " ORDER BY s.kind, coalesce(e.canonical_name, s.name), s.id").fetchall()
return [{
"id": int(row["id"]),
"kind": row["kind"],
"kind_label": KIND_LABELS.get(row["kind"], row["kind"]),
"name": row["entity_name"] or row["name"] or "",
+ "page_name": row["name"] or "",
"url": row["url"],
"entity_id": row["entity_id"],
"entity_name": row["entity_name"],
@@ -319,8 +337,8 @@ def due_sources(connection: sqlite3.Connection, now: str | None = None) -> list[
def settle(connection: sqlite3.Connection, source_id: int, *, error: str | None = None,
etag: str | None = None, last_modified: str | None = None,
interval_minutes: int, seen: int = 0, new: int = 0,
- now: datetime | None = None) -> None:
- """结算一次拉取。
+ page_name: str | None = None, now: datetime | None = None) -> None:
+ """结算一次拉取。`page_name` 是这一页在站上挂的名字,解不出时留着上次的。
失败也按同一间隔排下一次,不做指数退避——退避要么在这里写第二套判据,要么让一个
临时挡回来的源沉默半天。下次时间在所有返回路径上都写,任何一种结局都不会让源卡住。
@@ -329,9 +347,9 @@ def settle(connection: sqlite3.Connection, source_id: int, *, error: str | None
connection.execute(
"UPDATE feed_source SET last_error=?,last_fetched_at=?,next_fetch_at=?,"
"etag=COALESCE(?,etag),last_modified=COALESCE(?,last_modified),"
- "last_seen_count=?,last_new_count=? WHERE id=?",
+ "name=COALESCE(?,name),last_seen_count=?,last_new_count=? WHERE id=?",
(error, stamp(moment), stamp(moment + timedelta(minutes=interval_minutes)),
- etag, last_modified, int(seen), int(new), int(source_id)))
+ etag, last_modified, page_name or None, int(seen), int(new), int(source_id)))
# -- 条目与壳 --------------------------------------------------------------
diff --git a/src/peach/web_feeds.py b/src/peach/web_feeds.py
index acd517aa7..463946456 100644
--- a/src/peach/web_feeds.py
+++ b/src/peach/web_feeds.py
@@ -16,7 +16,7 @@ from urllib.parse import quote
from . import (
entities, entry_links, feed_followup, feeds, javdb, performer_alias_followup as alias,
- performer_profile_followup, web_settings,
+ performer_profile_followup, web_catalog, web_settings,
)
from .jobs import TaskRunConflict
from .http import HttpRequest, public_https_url
@@ -102,7 +102,7 @@ def poll_source(contract, transport, source) -> dict:
feeds.settle(connection, source_id, error=None,
etag=headers.get("etag"), last_modified=headers.get("last-modified"),
interval_minutes=interval, seen=outcome["seen"],
- new=len(outcome["created"]))
+ new=len(outcome["created"]), page_name=parsed.title)
report.update(seen=outcome["seen"], fresh=outcome["fresh"],
without_code=outcome["without_code"],
added=len(outcome["created"]),
@@ -231,9 +231,11 @@ def q_feeds(contract, args) -> dict:
with contract.database.read_connection() as connection:
feeds.register_functions(connection, hidden)
rows = feeds.sources(connection)
- # 表里名字前面那个圆框:有图走 `/entity-image`,判据和资料页同一个。
+ # 表里名字前面那个圆框:有图走 `/entity-image`,判据与取景都取自身份引用那一份。
for row in rows:
- row["has_image"] = contract.has_entity_image("performer", row["entity_id"])
+ ref = web_catalog.entity_ref(contract, "performer", row["entity_id"], row["name"])
+ row["has_image"] = ref["has_image"]
+ row["avatar_focus"] = ref.get("avatar_focus")
pending = connection.execute(
"SELECT count(*) FROM feed_discovery d WHERE d.ignored_at IS NULL"
f" AND d.read_at IS NULL AND {' AND '.join(LISTED)}").fetchone()[0]
diff --git a/tests/test_feeds.py b/tests/test_feeds.py
index a423c4353..53e3f0803 100644
--- a/tests/test_feeds.py
+++ b/tests/test_feeds.py
@@ -48,6 +48,31 @@ JAVDB_ACTOR = """
</div>
"""
+#: 旧艺名那一页:`/actors/MmbDR`(白石アイリ)2026-09-28 抓回来的标题栏与空列表。
+JAVDB_EMPTY_ACTOR = """
+<div class="columns is-desktop section-columns">
+ <div class="column section-title">
+ <h2 class="title is-4 has-text-justified">
+ <span class="actor-section-name">白石アイリ</span>
+ <br>
+ <span class="section-meta">0 部影片</span>
+ </h2>
+ </div>
+</div>
+ <div class="empty-message">暂无内容</div>
+"""
+
+#: 本名那一页(`/actors/bkxd`)的标题栏:别名一行在前,作品数一行在后。
+JAVDB_ACTOR_HEADER = """
+ <h2 class="title is-4 has-text-justified">
+ <span class="actor-section-name">森日向子</span>
+ <br>
+ <span class="section-meta">朝比奈えみり, ひー, ひなこちゃん, 雛子ちゃん, 日向結衣</span>
+ <br>
+ <span class="section-meta">1060 部影片</span>
+ </h2>
+"""
+
def _database(root: Path) -> LedgerDatabase:
path = root / "ledger.db"
@@ -83,6 +108,22 @@ class FeedParsingTest(unittest.TestCase):
self.assertIsNone(feeds.parse_javdb_actor("<html>nothing</html>",
"https://javdb.com/actors/pRMq"))
+ def test_a_page_that_says_it_has_no_work_is_a_quiet_source(self):
+ # 旧艺名页常年是空的;页面自报 0 部,它就是一个没有作品的真实源。
+ parsed = feeds.parse_javdb_actor(JAVDB_EMPTY_ACTOR, "https://javdb.com/actors/MmbDR")
+ self.assertEqual((parsed.title, parsed.entries), ("白石アイリ", ()))
+
+ def test_a_page_that_claims_works_but_lists_none_is_still_a_failure(self):
+ self.assertIsNone(feeds.parse_javdb_actor(
+ JAVDB_ACTOR_HEADER + '<div class="empty-message">暂无内容</div>',
+ "https://javdb.com/actors/bkxd"))
+
+ def test_the_page_name_is_read_from_the_title_bar(self):
+ parsed = feeds.parse_javdb_actor(JAVDB_ACTOR_HEADER + JAVDB_ACTOR,
+ "https://javdb.com/actors/bkxd")
+ self.assertEqual(parsed.title, "森日向子")
+ self.assertEqual(len(parsed.entries), 3)
+
class CompilationTest(unittest.TestCase):
"""标题与名单取自一份订阅实际抓回的壳。"""
diff --git a/tests/test_feeds_web.py b/tests/test_feeds_web.py
index e548f5542..bef21ec96 100644
--- a/tests/test_feeds_web.py
+++ b/tests/test_feeds_web.py
@@ -188,6 +188,23 @@ class FeedWebTest(FeedWebFixture):
self.assertEqual(row["last_error"], "来源回了 HTTP 503")
self.assertIsNotNone(row["next_fetch_at"])
+ def test_an_empty_alias_page_settles_quietly_and_names_its_row(self):
+ """同一个人的第二页挂在旧艺名下、一部作品都没有:不算失败,行上说出是哪个名字。"""
+ with self.contract.database.write_transaction() as connection:
+ entity_id = int(connection.execute(
+ "INSERT INTO entity(kind,canonical_name,normalized_name,created_at,updated_at)"
+ " VALUES('performer',?,peach_normalize(?),?,?)",
+ ("森日向子", "森日向子", feeds.stamp(), feeds.stamp())).lastrowid)
+ self._add(entity_id)
+ empty = ('<span class="actor-section-name">白石アイリ</span><br>'
+ '<span class="section-meta">0 部影片</span>'
+ '<div class="empty-message">暂无内容</div>').encode("utf-8")
+ self.transport.responses[self.url] = HttpResponse(200, {}, empty, self.url)
+ self.assertTrue(self._check()["results"][0]["ok"])
+ [row] = dispatch_api_get(self.contract, "/api/feeds", {})["sources"]
+ self.assertEqual((row["last_error"], row["name"], row["page_name"]),
+ (None, "森日向子", "白石アイリ"))
+
def test_read_and_ignore_are_separate_and_idempotent(self):
self._add()
self._check()
diff --git a/web/app.js b/web/app.js
index 23d0a8ddd..b083903e6 100644
--- a/web/app.js
+++ b/web/app.js
@@ -6062,7 +6062,7 @@ async function openFollowManage(push=true,workspace=''){
if(patch.layout!==undefined)appSettings.followLayout=patch.layout;
saveSettings();
},
- toast:actionReceipt,openFollow:()=>void openFollow(),
+ toast:actionReceipt,openFollow:()=>void openFollow(),avatarInner,
readOnly:!!runtime?.ledger_read_only,
readOnlyMessage:runtime?.ledger_read_only_message||'本机当前只能浏览',
writerUrl:writer,
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index ae510f5b0..feb942e06 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.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-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:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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-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-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;--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;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--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;--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-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-0{inset-block: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-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-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-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-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-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-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}.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-0\.5{height:calc(var(--spacing) * .5)}.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-6{height:calc(var(--spacing) * 6)}.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-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.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-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.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-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.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-review-cover-narrow{width:var(--container-review-cover-narrow)}.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-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.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)}.-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-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)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.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-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-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.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-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.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)}}.border-transparent{border-color:#0000}.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-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-border-focus-ring{background-color:var(--color-border-focus-ring)}.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-input-disabled-background{background-color:var(--color-input-disabled-background)}.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-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-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-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-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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-right{text-align:right}.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-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}.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-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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.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-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-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-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)}.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-\[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-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}.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-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.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-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-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-\[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-\[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 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\: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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.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)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.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\:grid-cols-2{grid-template-columns:repeat(2,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))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.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)}.\[\&\>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(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:11px;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}.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]{border-radius:0}.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:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.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;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@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;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [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]:hover{transform:scale(1.2)}.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]:hover [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]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.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 button[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]>: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 [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;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-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-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.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=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.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]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.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-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] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.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);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.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;padding-bottom:7px;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));padding-left:calc(var(--railW) + 32px)}}.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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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)}.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-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] 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-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]{align-self:stretch;align-items:center;width:max-content;max-width:100%;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-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]{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 [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.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=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,.peach-react [data-hero-pop] dd>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);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;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.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;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.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);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]{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}.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]>:is(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 [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[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:20px;height:20px;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-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-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.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)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.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 [data-entity-filter-glass]>[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 [data-entity-filter-glass]>[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-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 10px;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}@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%)}}: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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.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)}@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]>: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-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.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);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-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:""}@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}@keyframes spin{to{transform:rotate(360deg)}}
+@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-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:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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-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-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;--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;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--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;--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-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-0{inset-block: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-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-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-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-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-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-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}.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-0\.5{height:calc(var(--spacing) * .5)}.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-6{height:calc(var(--spacing) * 6)}.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-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.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-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.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-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.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-review-cover-narrow{width:var(--container-review-cover-narrow)}.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-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.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)}.-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-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)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.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-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-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.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-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.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)}}.border-transparent{border-color:#0000}.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-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-border-focus-ring{background-color:var(--color-border-focus-ring)}.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-input-disabled-background{background-color:var(--color-input-disabled-background)}.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-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-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-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-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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-right{text-align:right}.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-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}.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-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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.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-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-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-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)}.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-\[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-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}.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-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.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-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-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-\[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-\[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 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\: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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.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)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.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\: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\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.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)}.\[\&\>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(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:11px;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}.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]{border-radius:0}.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:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.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;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@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;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [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]:hover{transform:scale(1.2)}.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]:hover [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]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.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 button[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]>: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 [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;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-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-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.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=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.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]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.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-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] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.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);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.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;padding-bottom:7px;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));padding-left:calc(var(--railW) + 32px)}}.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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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)}.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-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] 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-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]{align-self:stretch;align-items:center;width:max-content;max-width:100%;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-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]{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 [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.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=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,.peach-react [data-hero-pop] dd>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);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;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.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;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.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);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]{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}.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]>:is(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 [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[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:20px;height:20px;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-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-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.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)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.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 [data-entity-filter-glass]>[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 [data-entity-filter-glass]>[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-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 10px;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}@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%)}}: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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.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)}@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]>: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-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.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);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-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:""}@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}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index d6e288adb..fa1433ade 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -10994,7 +10994,7 @@ function Lv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Rv(e) {
+function Fee(e) {
let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Lv({
onLongPressStart() {
n.current = !1;
@@ -11038,13 +11038,13 @@ function Rv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var zv = /* @__PURE__ */ new WeakMap();
-function Bv(e) {
+var Rv = /* @__PURE__ */ new WeakMap();
+function Iee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, I.useEffect)(() => !n || r === null ? void 0 : Qf(ip(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !np(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || zv.get(t.current);
+ let i = r || Rv.get(t.current);
i && i();
}, !0), [
n,
@@ -11054,10 +11054,10 @@ function Bv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Fee(e, t, n) {
+function Lee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, I.useEffect)(() => {
- n && n.current && zv.set(n.current, t.close);
+ n && n.current && Rv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -11074,11 +11074,11 @@ function Fee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Vv(e) {
+function Ree(e) {
return e && e.__esModule ? e.default : e;
}
-function Hv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Rm(), { triggerProps: s, overlayProps: c } = Fee({ type: r }, t, n), l = (e, n, r = "first") => {
+function zv(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Rm(), { triggerProps: s, overlayProps: c } = Lee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = ah({
@@ -11093,7 +11093,7 @@ function Hv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = pg(Vv(Iv), "@react-aria/menu"), { longPressProps: f } = Lv({
+ }), d = pg(Ree(Iv), "@react-aria/menu"), { longPressProps: f } = Lv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11112,7 +11112,7 @@ function Hv(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = Rv({ onContextMenu(e) {
+ let { contextMenuProps: m } = Fee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11157,8 +11157,8 @@ function Hv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Uv = 1e3;
-function Wv(e) {
+var Bv = 1e3;
+function Vv(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, I.useRef)({
search: "",
timeout: void 0
@@ -11177,11 +11177,11 @@ function Wv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Uv);
+ }, Bv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Iee(e.key);
+ let a = zee(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !np(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -11193,17 +11193,17 @@ function Wv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Uv);
+ }, Bv);
}
} : void 0
} };
}
-function Iee(e) {
+function zee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Gv(e, t) {
+function Hv(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null);
gp(() => (n.current = !0, () => {
n.current = !1;
@@ -11213,7 +11213,7 @@ function Gv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Kv(e) {
+function Uv(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 } = ag(), _ = Lp(), v = (e, n, i) => {
if (n != null) {
if (t.isLink(n) && m === "selection" && l && !Z_(e)) {
@@ -11406,14 +11406,14 @@ function Kv(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- Gv(() => {
+ Hv(() => {
if (F.current) {
if (ne == null) {
let e = rp();
zh(r.current), Vh(e, null), t.collection.size > 0 && (F.current = !1);
} else t.setFocusedKey(ne), F.current = !1;
}
- }, [ne, t.collection.size]), Gv(() => {
+ }, [ne, t.collection.size]), Hv(() => {
t.collection.size > 0 && (F.current = !1);
}, [t.focusedKey]), Jh(r, Lh, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -11455,7 +11455,7 @@ function Kv(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = Wv({
+ }, { typeSelectProps: se } = Vv({
keyboardDelegate: n,
selectionManager: t
});
@@ -11470,13 +11470,13 @@ function Kv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function qv(e, t) {
+function Wv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Jv(e) {
- return Yv(e, 0);
+function Gv(e) {
+ return Kv(e, 0);
}
-function Yv(e, t) {
+function Kv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11484,44 +11484,44 @@ function Yv(e, t) {
n++;
}
}
-function Xv(e) {
+function qv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Zv(e, t, n) {
+function Jv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Qv(e, t), t], i = [...Qv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Yv(e, t), t], i = [...Yv(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 Qv(e, t) {
+function Yv(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 $v = /* @__PURE__ */ new WeakMap();
-function ey(e) {
- let t = $v.get(e);
+var Xv = /* @__PURE__ */ new WeakMap();
+function Zv(e) {
+ let t = Xv.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(qv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Wv(i, e)) : i.type === "item" && n++;
};
- return r(e), $v.set(e, n), n;
+ return r(e), Xv.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var ty = /* @__PURE__ */ new Map();
-function ny(e) {
+var Qv = /* @__PURE__ */ new Map();
+function $v(e) {
let { locale: t } = ag(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (ty.has(n)) return ty.get(n);
+ if (Qv.has(n)) return Qv.get(n);
let r = new Intl.Collator(t, e);
- return ty.set(n, r), r;
+ return Qv.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Lee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
+var Bee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
let r = (0, I.useRef)(!1), i = (0, I.useContext)(Sg), a = H(i || {}, {
...t,
register() {
@@ -11532,44 +11532,44 @@ var Lee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
r.current ||= !0;
}, []), /*#__PURE__*/ I.createElement(Sg.Provider, { value: a }, e);
});
-function Ree({ children: e }) {
+function Vee({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
return /*#__PURE__*/ I.createElement(Sg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var ry = /*#__PURE__*/ (0, I.createContext)({});
-function iy(e) {
- let { getContainer: t } = e, { getContainer: n } = ay();
- return /*#__PURE__*/ I.createElement(ry.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var ey = /*#__PURE__*/ (0, I.createContext)({});
+function ty(e) {
+ let { getContainer: t } = e, { getContainer: n } = ny();
+ return /*#__PURE__*/ I.createElement(ey.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ay() {
- return (0, I.useContext)(ry) ?? {};
+function ny() {
+ return (0, I.useContext)(ey) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var oy = /*#__PURE__*/ I.createContext(null);
-function sy(e) {
+var ry = /*#__PURE__*/ I.createContext(null);
+function iy(e) {
let t = nm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ay();
+ }), [i, a]), { getContainer: s } = ny();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Hg, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(oy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Ree, null, /*#__PURE__*/ I.createElement(ch.Provider, { value: null }, c))), /*#__PURE__*/ yh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(ry.Provider, { value: o }, /*#__PURE__*/ I.createElement(Vee, null, /*#__PURE__*/ I.createElement(ch.Provider, { value: null }, c))), /*#__PURE__*/ yh.createPortal(c, n);
}
-function cy() {
- let e = (0, I.useContext)(oy)?.setContain;
+function ay() {
+ let e = (0, I.useContext)(ry)?.setContain;
gp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function zee(e, t) {
+function Hee(e, t) {
let { role: n = "dialog" } = e, r = Bm();
r = e["aria-label"] ? void 0 : r;
let i = Bm();
@@ -11585,7 +11585,7 @@ function zee(e, t) {
clearTimeout(e);
};
}
- }, [t]), cy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), ay(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
@@ -11604,7 +11604,7 @@ function zee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function ly(e = {}) {
+function oy(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
isFocusVisible: t || ym()
@@ -11632,35 +11632,35 @@ function ly(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Bee(e = {}) {
+function Uee(e = {}) {
let { locale: t } = ag();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var uy = !1, dy = 0;
-function fy() {
- uy = !0, setTimeout(() => {
- uy = !1;
+var sy = !1, cy = 0;
+function ly() {
+ sy = !0, setTimeout(() => {
+ sy = !1;
}, 500);
}
-function py(e) {
- e.pointerType === "touch" && fy();
+function uy(e) {
+ e.pointerType === "touch" && ly();
}
-function my() {
+function dy() {
let e = Kf(null);
- if (e !== void 0) return dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", py), dy++, () => {
- dy--, !(dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", py);
+ if (e !== void 0) return cy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", uy), cy++, () => {
+ cy--, !(cy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", uy);
};
}
-function hy(e) {
+function fy(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, I.useState)(!1), s = (0, I.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, I.useEffect)(my, []);
+ (0, I.useEffect)(dy, []);
let { addGlobalListener: c, removeAllGlobalListeners: l } = Cg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !np(e.currentTarget, V(e))) return;
@@ -11682,7 +11682,7 @@ function hy(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- uy && t.pointerType === "mouse" || e(t, t.pointerType);
+ sy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && np(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -11707,12 +11707,12 @@ function hy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function gy(e) {
+function py(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = qh((e) => {
- n && _y(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && my(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = qh((e) => {
n && n(e);
});
@@ -11722,7 +11722,7 @@ function gy(e) {
let n = t.current, i = Kf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && _y(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && my(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);
@@ -11730,7 +11730,7 @@ function gy(e) {
}
}, [t, r]);
}
-function _y(e, t) {
+function my(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -11741,8 +11741,8 @@ function _y(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var vy = {};
-vy = {
+var hy = {};
+hy = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11756,8 +11756,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var yy = {};
-yy = {
+var gy = {};
+gy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11771,8 +11771,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var by = {};
-by = {
+var _y = {};
+_y = {
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",
@@ -11786,8 +11786,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var xy = {};
-xy = {
+var vy = {};
+vy = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11801,8 +11801,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var Sy = {};
-Sy = {
+var yy = {};
+yy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11816,8 +11816,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var Cy = {};
-Cy = {
+var by = {};
+by = {
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: "Επιλογή",
@@ -11831,8 +11831,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var wy = {};
-wy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11846,8 +11846,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Ty = {};
-Ty = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11861,8 +11861,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Ey = {};
-Ey = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11876,8 +11876,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Dy = {};
-Dy = {
+var wy = {};
+wy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11891,8 +11891,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Oy = {};
-Oy = {
+var Ty = {};
+Ty = {
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",
@@ -11906,8 +11906,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var ky = {};
-ky = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11921,8 +11921,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Ay = {};
-Ay = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11936,8 +11936,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var jy = {};
-jy = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11951,8 +11951,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var My = {};
-My = {
+var ky = {};
+ky = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11966,8 +11966,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Ny = {};
-Ny = {
+var Ay = {};
+Ay = {
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: "選択",
@@ -11981,8 +11981,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Py = {};
-Py = {
+var jy = {};
+jy = {
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: "선택",
@@ -11996,8 +11996,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Fy = {};
-Fy = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12011,8 +12011,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Iy = {};
-Iy = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12026,8 +12026,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Ly = {};
-Ly = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12041,8 +12041,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Ry = {};
-Ry = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12056,8 +12056,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var zy = {};
-zy = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12071,8 +12071,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var By = {};
-By = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12086,8 +12086,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Vy = {};
-Vy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12101,8 +12101,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Hy = {};
-Hy = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12116,8 +12116,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Uy = {};
-Uy = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12131,8 +12131,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Wy = {};
-Wy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12146,8 +12146,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Gy = {};
-Gy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12161,8 +12161,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Ky = {};
-Ky = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12176,8 +12176,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var qy = {};
-qy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12191,8 +12191,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Jy = {};
-Jy = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12206,8 +12206,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Yy = {};
-Yy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12221,8 +12221,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Xy = {};
-Xy = {
+var qy = {};
+qy = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12236,8 +12236,8 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Zy = {};
-Zy = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12251,55 +12251,55 @@ Zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Qy = {};
-Qy = {
- "ar-AE": vy,
- "bg-BG": yy,
- "cs-CZ": by,
- "da-DK": xy,
- "de-DE": Sy,
- "el-GR": Cy,
- "en-US": wy,
- "es-ES": Ty,
- "et-EE": Ey,
- "fi-FI": Dy,
- "fr-FR": Oy,
- "he-IL": ky,
- "hr-HR": Ay,
- "hu-HU": jy,
- "it-IT": My,
- "ja-JP": Ny,
- "ko-KR": Py,
- "lt-LT": Fy,
- "lv-LV": Iy,
- "nb-NO": Ly,
- "nl-NL": Ry,
- "pl-PL": zy,
- "pt-BR": By,
- "pt-PT": Vy,
- "ro-RO": Hy,
- "ru-RU": Uy,
- "sk-SK": Wy,
- "sl-SI": Gy,
- "sr-SP": Ky,
- "sv-SE": qy,
- "tr-TR": Jy,
- "uk-UA": Yy,
- "zh-CN": Xy,
- "zh-TW": Zy
+var Yy = {};
+Yy = {
+ "ar-AE": hy,
+ "bg-BG": gy,
+ "cs-CZ": _y,
+ "da-DK": vy,
+ "de-DE": yy,
+ "el-GR": by,
+ "en-US": xy,
+ "es-ES": Sy,
+ "et-EE": Cy,
+ "fi-FI": wy,
+ "fr-FR": Ty,
+ "he-IL": Ey,
+ "hr-HR": Dy,
+ "hu-HU": Oy,
+ "it-IT": ky,
+ "ja-JP": Ay,
+ "ko-KR": jy,
+ "lt-LT": My,
+ "lv-LV": Ny,
+ "nb-NO": Py,
+ "nl-NL": Fy,
+ "pl-PL": Iy,
+ "pt-BR": Ly,
+ "pt-PT": Ry,
+ "ro-RO": zy,
+ "ru-RU": By,
+ "sk-SK": Vy,
+ "sl-SI": Hy,
+ "sr-SP": Uy,
+ "sv-SE": Wy,
+ "tr-TR": Gy,
+ "uk-UA": Ky,
+ "zh-CN": qy,
+ "zh-TW": Jy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Vee(e) {
+function Wee(e) {
return e && e.__esModule ? e.default : e;
}
-function Hee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = pg(Vee(Qy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+function Gee(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = pg(Wee(Yy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = $y(i, a.current), o = $y(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Xy(i, a.current), o = Xy(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)) {
@@ -12338,7 +12338,7 @@ function Hee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function $y(e, t) {
+function Xy(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);
@@ -12346,7 +12346,7 @@ function $y(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function eb(e, t) {
+function Zy(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
return gp(() => {
if (e?.current && !n) {
@@ -12371,11 +12371,11 @@ function eb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Uee(e) {
+function Kee(e) {
return e && e.__esModule ? e.default : e;
}
-function Wee(e) {
- let t = pg(Uee(Qy), "@react-aria/grid"), n = Sm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+function qee(e) {
+ let t = pg(Kee(Yy), "@react-aria/grid"), n = Sm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
return C_((0, I.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;
@@ -12389,8 +12389,8 @@ function Wee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function tb(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ny({
+function Qy(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = $v({
usage: "search",
sensitivity: "base"
}), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new tv({
@@ -12410,7 +12410,7 @@ function tb(e) {
c,
l,
s
- ]), { collectionProps: d } = Kv({
+ ]), { collectionProps: d } = Uv({
...e,
ref: i,
selectionManager: t,
@@ -12420,7 +12420,7 @@ function tb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function nb(e) {
+function $y(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 = Lp();
t = Rm(t);
let p = (e) => {
@@ -12467,20 +12467,20 @@ function nb(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || ib(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || tb(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !rb(e.key)) return;
+ if (e.pointerType === "keyboard" && !eb(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || ib(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || tb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && rb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && eb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
let A = Nee(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
@@ -12549,22 +12549,22 @@ function nb(e) {
hasAction: S
};
}
-function rb(e) {
+function eb(e) {
return e === "Enter";
}
-function ib(e) {
+function tb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Gee(e) {
+function Jee(e) {
return e && e.__esModule ? e.default : e;
}
-function Kee(e, t) {
+function Yee(e, t) {
let { key: n } = e, r = t.selectionManager, i = Rm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": pg(Gee(Qy), "@react-aria/grid").format("select"),
+ "aria-label": pg(Jee(Yy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12572,10 +12572,10 @@ function Kee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function qee(e, t, n) {
+function Xee(e, t, n) {
let r = hg(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 } = tb({
+ let { listProps: s } = Qy({
...e,
ref: n,
selectionManager: t.selectionManager,
@@ -12613,7 +12613,7 @@ function qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function ab(e) {
+function Zee(e) {
let { heading: t, "aria-label": n } = e, r = Rm();
return {
itemProps: { role: "presentation" },
@@ -12633,7 +12633,7 @@ function ab(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function ob(e, t, n) {
+function nb(e, t, n) {
let { key: r } = e, i = X_.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 = Bm(), f = Bm(), p = {
role: "option",
"aria-disabled": a || void 0,
@@ -12644,9 +12644,9 @@ function ob(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"] = ey(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Zv(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = jee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = nb({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = jee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = $y({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12659,7 +12659,7 @@ function ob(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = hy({
+ }), { hoverProps: S } = fy({
isDisabled: a || !c,
onHoverStart() {
ym() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
@@ -12686,13 +12686,13 @@ function ob(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var sb = /* @__PURE__ */ new WeakMap();
+var rb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function cb(e, t, n) {
+function ib(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = hg(e, { labelable: !0 }), { listProps: c } = tb({
+ let s = hg(e, { labelable: !0 }), { listProps: c } = Qy({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -12701,7 +12701,7 @@ function cb(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return sb.set(t, {
+ return rb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -12718,8 +12718,8 @@ function cb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function lb(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = sb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Lp(), M = () => {
+function ab(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = rb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Lp(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
@@ -12743,7 +12743,7 @@ function lb(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (F["aria-checked"] = D), s) {
let e = Number(k?.index);
- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = ey(t.collection);
+ F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = Zv(t.collection);
}
let ne = (0, I.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
@@ -12753,7 +12753,7 @@ function lb(e, t, n) {
m?.(e), M(), Wp(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: oe, isFocused: se } = nb({
+ }, { itemProps: oe, isFocused: se } = $y({
id: r,
selectionManager: C,
key: i,
@@ -12769,7 +12769,7 @@ function lb(e, t, n) {
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: ue } = hy({
+ }), { hoverProps: ue } = fy({
isDisabled: E,
onHoverStart(e) {
!ym() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
@@ -12831,7 +12831,7 @@ function lb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function ub(e) {
+function ob(e) {
let { heading: t, "aria-label": n } = e, r = Rm();
return {
itemProps: { role: "presentation" },
@@ -12848,15 +12848,15 @@ function ub(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function db() {
+function sb() {
return window.ResizeObserver !== void 0;
}
-function fb(e) {
+function cb(e) {
let { ref: t, box: n, onResize: r } = e, i = qh(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if (db()) {
+ if (sb()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12872,186 +12872,186 @@ function fb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var pb = {};
-pb = { dismiss: "تجاهل" };
+var lb = {};
+lb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var mb = {};
-mb = { dismiss: "Отхвърляне" };
+var ub = {};
+ub = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var hb = {};
-hb = { dismiss: "Odstranit" };
+var db = {};
+db = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var gb = {};
-gb = { dismiss: "Luk" };
+var fb = {};
+fb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var _b = {};
-_b = { dismiss: "Schließen" };
+var pb = {};
+pb = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var vb = {};
-vb = { dismiss: "Απόρριψη" };
+var mb = {};
+mb = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var yb = {};
-yb = { dismiss: "Dismiss" };
+var hb = {};
+hb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var bb = {};
-bb = { dismiss: "Descartar" };
+var gb = {};
+gb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var xb = {};
-xb = { dismiss: "Lõpeta" };
+var _b = {};
+_b = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var Sb = {};
-Sb = { dismiss: "Hylkää" };
+var vb = {};
+vb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var Cb = {};
-Cb = { dismiss: "Rejeter" };
+var yb = {};
+yb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var wb = {};
-wb = { dismiss: "התעלם" };
+var bb = {};
+bb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var Tb = {};
-Tb = { dismiss: "Odbaci" };
+var xb = {};
+xb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var Eb = {};
-Eb = { dismiss: "Elutasítás" };
+var Sb = {};
+Sb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Db = {};
-Db = { dismiss: "Ignora" };
+var Cb = {};
+Cb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Ob = {};
-Ob = { dismiss: "閉じる" };
+var wb = {};
+wb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var kb = {};
-kb = { dismiss: "무시" };
+var Tb = {};
+Tb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Ab = {};
-Ab = { dismiss: "Atmesti" };
+var Eb = {};
+Eb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var jb = {};
-jb = { dismiss: "Nerādīt" };
+var Db = {};
+Db = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Mb = {};
-Mb = { dismiss: "Lukk" };
+var Ob = {};
+Ob = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Nb = {};
-Nb = { dismiss: "Negeren" };
+var kb = {};
+kb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Pb = {};
-Pb = { dismiss: "Zignoruj" };
+var Ab = {};
+Ab = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Fb = {};
-Fb = { dismiss: "Descartar" };
+var jb = {};
+jb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Ib = {};
-Ib = { dismiss: "Dispensar" };
+var Mb = {};
+Mb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Lb = {};
-Lb = { dismiss: "Revocare" };
+var Nb = {};
+Nb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Rb = {};
-Rb = { dismiss: "Пропустить" };
+var Pb = {};
+Pb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var zb = {};
-zb = { dismiss: "Zrušiť" };
+var Fb = {};
+Fb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Bb = {};
-Bb = { dismiss: "Opusti" };
+var Ib = {};
+Ib = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Vb = {};
-Vb = { dismiss: "Odbaci" };
+var Lb = {};
+Lb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Hb = {};
-Hb = { dismiss: "Avvisa" };
+var Rb = {};
+Rb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Ub = {};
-Ub = { dismiss: "Kapat" };
+var zb = {};
+zb = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Wb = {};
-Wb = { dismiss: "Скасувати" };
+var Bb = {};
+Bb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Gb = {};
-Gb = { dismiss: "取消" };
+var Vb = {};
+Vb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Kb = {};
-Kb = { dismiss: "關閉" };
+var Hb = {};
+Hb = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var qb = {};
-qb = {
- "ar-AE": pb,
- "bg-BG": mb,
- "cs-CZ": hb,
- "da-DK": gb,
- "de-DE": _b,
- "el-GR": vb,
- "en-US": yb,
- "es-ES": bb,
- "et-EE": xb,
- "fi-FI": Sb,
- "fr-FR": Cb,
- "he-IL": wb,
- "hr-HR": Tb,
- "hu-HU": Eb,
- "it-IT": Db,
- "ja-JP": Ob,
- "ko-KR": kb,
- "lt-LT": Ab,
- "lv-LV": jb,
- "nb-NO": Mb,
- "nl-NL": Nb,
- "pl-PL": Pb,
- "pt-BR": Fb,
- "pt-PT": Ib,
- "ro-RO": Lb,
- "ru-RU": Rb,
- "sk-SK": zb,
- "sl-SI": Bb,
- "sr-SP": Vb,
- "sv-SE": Hb,
- "tr-TR": Ub,
- "uk-UA": Wb,
- "zh-CN": Gb,
- "zh-TW": Kb
+var Ub = {};
+Ub = {
+ "ar-AE": lb,
+ "bg-BG": ub,
+ "cs-CZ": db,
+ "da-DK": fb,
+ "de-DE": pb,
+ "el-GR": mb,
+ "en-US": hb,
+ "es-ES": gb,
+ "et-EE": _b,
+ "fi-FI": vb,
+ "fr-FR": yb,
+ "he-IL": bb,
+ "hr-HR": xb,
+ "hu-HU": Sb,
+ "it-IT": Cb,
+ "ja-JP": wb,
+ "ko-KR": Tb,
+ "lt-LT": Eb,
+ "lv-LV": Db,
+ "nb-NO": Ob,
+ "nl-NL": kb,
+ "pl-PL": Ab,
+ "pt-BR": jb,
+ "pt-PT": Mb,
+ "ro-RO": Nb,
+ "ru-RU": Pb,
+ "sk-SK": Fb,
+ "sl-SI": Ib,
+ "sr-SP": Lb,
+ "sv-SE": Rb,
+ "tr-TR": zb,
+ "uk-UA": Bb,
+ "zh-CN": Vb,
+ "zh-TW": Hb
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Jee(e) {
+function Wb(e) {
return e && e.__esModule ? e.default : e;
}
-function Jb(e) {
- let { onDismiss: t, ...n } = e, r = Yh(n, pg(Jee(qb), "@react-aria/overlays").format("dismiss")), i = () => {
+function Gb(e) {
+ let { onDismiss: t, ...n } = e, r = Yh(n, pg(Wb(Ub), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
return /*#__PURE__*/ I.createElement(G_, null, /*#__PURE__*/ I.createElement("button", {
@@ -13066,22 +13066,22 @@ function Jb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Yb = [];
-function Xb(e, t) {
+var Kb = [];
+function qb(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, I.useRef)(void 0);
(0, I.useEffect)(() => {
- if (i && !Yb.includes(t)) return Yb.push(t), () => {
- let e = Yb.indexOf(t);
- e >= 0 && Yb.splice(e, 1);
+ if (i && !Kb.includes(t)) return Kb.push(t), () => {
+ let e = Kb.indexOf(t);
+ e >= 0 && Kb.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Yb[Yb.length - 1] === t && n && n();
+ Kb[Kb.length - 1] === t && n && n();
}, u = (e) => {
- let n = Yb[Yb.length - 1];
+ let n = Kb[Kb.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Yb[Yb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (Kb[Kb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = ah({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -13089,7 +13089,7 @@ function Xb(e, t) {
}
return !1;
} } });
- gy({
+ py({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
@@ -13110,20 +13110,20 @@ function Xb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Zb = typeof document < "u" && window.visualViewport, Qb = 0, $b;
-function ex(e = {}) {
+var Jb = typeof document < "u" && window.visualViewport, Yb = 0, Xb;
+function Zb(e = {}) {
let { isDisabled: t } = e;
gp(() => {
- if (!t) return Qb++, Qb === 1 && ($b = Op() && Ap() ? Xee() : Yee()), () => {
- Qb--, Qb === 0 && $b();
+ if (!t) return Yb++, Yb === 1 && (Xb = Op() && Ap() ? $ee() : Qee()), () => {
+ Yb--, Yb === 0 && Xb();
};
}, [t]);
}
-function Yee() {
+function Qee() {
let e = window.innerWidth - document.documentElement.clientWidth;
return Mm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? $f(document.documentElement, "scrollbar-gutter", "stable") : $f(document.documentElement, "padding-right", `${e}px`)), $f(document.documentElement, "overflow", "hidden"));
}
-function Xee() {
+function $ee() {
let e = $f(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
t = __(r) ? r : v_(r, !0), n = !1;
@@ -13141,7 +13141,7 @@ function Xee() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Gh(n) ? (n.focus({ preventScroll: !0 }), tx(n, Gh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Gh(n) ? (n.focus({ preventScroll: !0 }), Qb(n, Gh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13151,7 +13151,7 @@ function Xee() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && tx(this, n);
+ }), (!e || !e.preventScroll) && Qb(this, n);
}
});
let l = Mm(Qf(document, "touchstart", r, {
@@ -13169,10 +13169,10 @@ function Xee() {
});
};
}
-function tx(e, t) {
- t || !Zb ? nx(e) : Zb.addEventListener("resize", () => nx(e), { once: !0 });
+function Qb(e, t) {
+ t || !Jb ? $b(e) : Jb.addEventListener("resize", () => $b(e), { once: !0 });
}
-function nx(e) {
+function $b(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
let e = v_(n);
@@ -13180,7 +13180,7 @@ function nx(e) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Zb && (n = Math.min(n, Zb.offsetTop + Zb.height));
+ Jb && (n = Math.min(n, Jb.offsetTop + Jb.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)),
@@ -13193,13 +13193,13 @@ function nx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Zee(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Xb({
+function ete(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = qb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return ex({ isDisabled: !t.isOpen }), cy(), (0, I.useEffect)(() => {
+ return Zb({ isDisabled: !t.isOpen }), ay(), (0, I.useEffect)(() => {
if (t.isOpen && n.current) return Y_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
@@ -13208,32 +13208,32 @@ function Zee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var rx = {
+var ex = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, ix = {
+}, tx = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Qee = {
+}, tte = {
top: "left",
left: "top"
-}, ax = {
+}, nx = {
top: "height",
left: "width"
-}, ox = {
+}, rx = {
width: "totalWidth",
height: "totalHeight"
-}, sx = {}, $ee = () => typeof document < "u" ? window.visualViewport : null;
-function cx(e, t) {
+}, ix = {}, nte = () => typeof document < "u" ? window.visualViewport : null;
+function ax(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} = mx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = dx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return Ap() && (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,
@@ -13244,7 +13244,7 @@ function cx(e, t) {
left: s
};
}
-function ete(e) {
+function rte(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13252,11 +13252,11 @@ function ete(e) {
height: e.scrollHeight
};
}
-function lx(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[ax[e]], l = o[e] + r.scroll[rx[e]] + a, u = o[e] + r.scroll[rx[e]] + c - a, d = t - s + r.scroll[rx[e]] + o[e] - r[rx[e]], f = t - s + n + r.scroll[rx[e]] + o[e] - r[rx[e]];
+function ox(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[nx[e]], l = o[e] + r.scroll[ex[e]] + a, u = o[e] + r.scroll[ex[e]] + c - a, d = t - s + r.scroll[ex[e]] + o[e] - r[ex[e]], f = t - s + n + r.scroll[ex[e]] + o[e] - r[ex[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function tte(e) {
+function ite(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13265,55 +13265,55 @@ function tte(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function ux(e) {
- if (sx[e]) return sx[e];
- let [t, n] = e.split(" "), r = rx[t] || "right", i = Qee[r];
- rx[n] || (n = "center");
- let a = ax[r], o = ax[i];
- return sx[e] = {
+function sx(e) {
+ if (ix[e]) return ix[e];
+ let [t, n] = e.split(" "), r = ex[t] || "right", i = tte[r];
+ ex[n] || (n = "center");
+ let a = nx[r], o = nx[i];
+ return ix[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, sx[e];
+ }, ix[e];
}
-function dx(e, t, n, r, i, a, o, s, c, l, u) {
+function cx(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] = H_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[ox[h]];
- _[ix[p]] = Math.floor(t - e[p] + i);
+ let t = s ? u[h] : u[rx[h]];
+ _[tx[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function nte(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[ox.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function ate(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[rx.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 fx(e, t, n, r, i, a, o, s) {
+function lx(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[ix[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[ix[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[tx[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[tx[l]] - i);
}
-function rte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = ux(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = dx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = fx(s, l, t, i, a + u, v, c, g);
+function ote(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = sx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = cx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = lx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = ux(`${ix[S]} ${C}`), r = dx(t, s, n, e, u, d, l, f, m, h, c);
- fx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = sx(`${tx[S]} ${C}`), r = cx(t, s, n, e, u, d, l, f, m, h, c);
+ lx(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 = lx(b, w[b], n[x], s, c, a, l);
+ let O = ox(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = nte(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = dx(t, s, n, v, T, d, l, f, m, h, c), O = lx(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[rx[b]], M = j + .5 * t[x], N = m / 2 + h, ee = rx[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = H_(H_(M, t[b] + m / 2 - (w[b] + i[rx[b]]), t[b] + t[x] - m / 2 - (w[b] + i[rx[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = ate(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = cx(t, s, n, v, T, d, l, f, m, h, c), O = ox(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[ex[b]], M = j + .5 * t[x], N = m / 2 + h, ee = ex[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = H_(H_(M, t[b] + m / 2 - (w[b] + i[ex[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ex[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, F = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -13327,17 +13327,17 @@ function rte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: F
};
}
-function ite(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 = $ee(), h = r instanceof HTMLElement ? ate(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? mx(n, !1, p) : hx(n, h, !1, p);
+function ste(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 = nte(), h = r instanceof HTMLElement ? cte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? dx(n, !1, p) : fx(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 = mx(r, !0), x = tte(r);
+ let b = dx(r, !0), x = ite(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ete(i), C = cx(s, m), w = cx(h, m), T;
+ let S = rte(i), C = ax(s, m), w = ax(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = px(h, !1);
+ let e = ux(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13349,11 +13349,11 @@ function ite(e) {
left: 0,
width: 0,
height: 0
- } : hx(s, h, !1);
+ } : fx(s, h, !1);
let E = np(s, h);
- return rte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return ote(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function px(e, t) {
+function ux(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,
@@ -13362,8 +13362,8 @@ function px(e, t) {
height: a
};
}
-function mx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || px(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function dx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || ux(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13371,29 +13371,29 @@ function mx(e, t, n) {
height: o
};
}
-function hx(e, t, n, r) {
+function fx(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || px(e, n);
+ if (i.position === "fixed") a = r || ux(e, n);
else {
- a = mx(e, n, r);
- let i = mx(t, n), o = window.getComputedStyle(t);
+ a = dx(e, n, r);
+ let i = dx(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 ate(e) {
+function cte(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !gx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !gx(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !px(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !px(t);) t = t.parentElement;
return t || document.documentElement;
}
-function gx(e) {
+function px(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 _x = typeof document < "u" ? window.visualViewport : null;
-function ote(e) {
+var mx = typeof document < "u" ? window.visualViewport : null;
+function lte(e) {
let { direction: t } = ag(), { 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, I.useState)(null), x = [
p,
s,
@@ -13411,12 +13411,12 @@ function ote(e) {
g,
_,
n
- ], S = (0, I.useRef)(_x?.scale);
+ ], S = (0, I.useRef)(mx?.scale);
(0, I.useEffect)(() => {
- m && (S.current = _x?.scale);
+ m && (S.current = mx?.scale);
}, [m]);
let C = (0, I.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || _x?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || mx?.scale !== S.current) return;
let e = null;
if (o.current && ap(o.current)) {
let t = rp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13427,8 +13427,8 @@ function ote(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 = ite({
- placement: cte(s, t),
+ let y = ste({
+ placement: dte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13438,7 +13438,7 @@ function ote(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? px(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? ux(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13451,10 +13451,10 @@ function ote(e) {
}
b(y);
}, x);
- gp(C, x), ste(C), fb({
+ gp(C, x), ute(C), cb({
ref: i,
onResize: C
- }), fb({
+ }), cb({
ref: r,
onResize: C
});
@@ -13467,16 +13467,16 @@ function ote(e) {
}, n = () => {
w.current && t();
};
- _x?.addEventListener("resize", t), _x?.addEventListener("scroll", n);
+ mx?.addEventListener("resize", t), mx?.addEventListener("scroll", n);
let r = Qf(ip(window), "scroll", n);
return () => {
- _x?.removeEventListener("resize", t), _x?.removeEventListener("scroll", n), r();
+ mx?.removeEventListener("resize", t), mx?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, I.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Bv({
+ return Iee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13502,25 +13502,25 @@ function ote(e) {
updatePosition: C
};
}
-function ste(e) {
+function ute(e) {
gp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function cte(e, t) {
+function dte(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 lte(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 } = Xb({
+function fte(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 } = qb({
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 } = ote({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lte({
...c,
targetRef: n,
overlayRef: r,
@@ -13528,7 +13528,7 @@ function lte(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)
});
- ex({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ Zb({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
if (t.isOpen && r.current) return a ? kee(i?.current ?? r.current) : Y_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
@@ -13547,10 +13547,10 @@ function lte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var vx = /* @__PURE__ */ new WeakMap();
+var hx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function ute(e, t, n) {
+function pte(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: _ } = Og({
@@ -13573,7 +13573,7 @@ function ute(e, t, n) {
}
}), { focusableProps: b } = uh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = hg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = vx.get(t);
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = hx.get(t);
w_(n, t.defaultSelectedValue, t.setSelectedValue), T_({ validationBehavior: O }, t, n);
let k = E_();
return {
@@ -13607,7 +13607,7 @@ function ute(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function dte(e, t) {
+function mte(e, t) {
let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ag(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = R_({
...e,
labelElementType: "span",
@@ -13636,7 +13636,7 @@ function dte(e, t) {
},
allowRepeats: !0
}), x = Rm(n);
- return vx.set(t, {
+ return hx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13665,9 +13665,9 @@ function dte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var yx = /* @__PURE__ */ new WeakMap();
-function fte(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ny({
+var gx = /* @__PURE__ */ new WeakMap();
+function hte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = $v({
usage: "search",
sensitivity: "base"
}), u = (0, I.useMemo)(() => r || new tv(t.collection, t.disabledKeys, n, l), [
@@ -13676,7 +13676,7 @@ function fte(e, t, n) {
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Hv({
+ ]), { menuTriggerProps: d, menuProps: f } = zv({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = ah({
@@ -13695,7 +13695,7 @@ function fte(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Wv({
+ }), { typeSelectProps: m } = Vv({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
@@ -13709,7 +13709,7 @@ function fte(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = hg(e, { labelable: !0 }), C = H(m, d, y), w = Rm();
- return yx.set(t, {
+ return gx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13770,8 +13770,8 @@ function fte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function pte(e, t, n) {
- let r = yx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = W_({ style: {
+function gte(e, t, n) {
+ let r = gx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = W_({ style: {
position: "fixed",
top: 0,
left: 0
@@ -13806,8 +13806,8 @@ function pte(e, t, n) {
}
};
}
-function mte(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = pte({
+function _te(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = gte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13831,7 +13831,7 @@ function mte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = yx.get(t) || {};
+ let { validationBehavior: e } = gx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13862,7 +13862,7 @@ function mte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function hte(e) {
+function vte(e) {
let t = hg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -13872,7 +13872,7 @@ function hte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function gte(e, t, n) {
+function yte(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = F_(e, t, n);
return {
labelProps: r,
@@ -13887,10 +13887,10 @@ function gte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var bx = class {
+var _x = 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 _te(e.layout) : new ev(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new bte(e.layout) : new ev(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13926,7 +13926,7 @@ var bx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of qv(n, this.collection)) {
+ for (let e of Wv(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -13960,13 +13960,13 @@ var bx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = qv(t, this.collection);
- return (this.direction === "rtl" ? Xv(e)?.key : Jv(e)?.key) ?? null;
+ let e = Wv(t, this.collection);
+ return (this.direction === "rtl" ? qv(e)?.key : Gv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index - 1) : Yv(r, t.index + 1)) ?? null;
+ let r = Wv(n, this.collection), i = (this.direction === "rtl" ? Kv(r, t.index - 1) : Kv(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;
@@ -13975,13 +13975,13 @@ var bx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = qv(t, this.collection);
- return (this.direction === "rtl" ? Jv(e)?.key : Xv(e)?.key) ?? null;
+ let e = Wv(t, this.collection);
+ return (this.direction === "rtl" ? Gv(e)?.key : qv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index + 1) : Yv(r, t.index - 1)) ?? null;
+ let r = Wv(n, this.collection), i = (this.direction === "rtl" ? Kv(r, t.index + 1) : Kv(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;
@@ -13992,13 +13992,13 @@ var bx = 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 ? Jv(qv(e, this.collection))?.key ?? null : null;
+ return e ? Gv(Wv(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 = Jv(qv(e, this.collection))?.key ?? null;
+ n = Gv(Wv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14008,13 +14008,13 @@ var bx = 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 ? Xv(qv(e, this.collection))?.key ?? null : null;
+ return e ? qv(Wv(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 = Xv(qv(e, this.collection))?.key ?? null;
+ n = qv(Wv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14050,13 +14050,13 @@ var bx = 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" ? Jv(qv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Gv(Wv(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;
}
-}, _te = class {
+}, bte = class {
constructor(e) {
this.layout = e;
}
@@ -14069,16 +14069,16 @@ var bx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, xx = /* @__PURE__ */ new WeakMap();
+}, vx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function vte(e, t, n) {
+function xte(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 = ny({
+ let h = $v({
usage: "search",
sensitivity: "base"
- }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new bx({
+ }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new _x({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14095,7 +14095,7 @@ function vte(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Kv({
+ ]), { collectionProps: y } = Uv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -14104,7 +14104,7 @@ function vte(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Rm(e.id);
- xx.set(t, {
+ vx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14113,7 +14113,7 @@ function vte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Wee({
+ let x = qee({
selectionManager: m,
hasItemActions: !!(l || u)
}), S = hg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
@@ -14125,36 +14125,36 @@ function vte(e, t, n) {
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = eb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = Zy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Hee({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Gee({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Sx = /* @__PURE__ */ new WeakMap();
-function Cx(e) {
+var yx = /* @__PURE__ */ new WeakMap();
+function bx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function yte(e, t) {
- let n = Sx.get(e);
+function Ste(e, t) {
+ let n = yx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Cx(t)}`;
+ return `${n}-${bx(t)}`;
}
-function wx(e, t, n) {
- let r = Sx.get(e);
+function xx(e, t, n) {
+ let r = yx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Cx(t)}-${Cx(n)}`;
+ return `${r}-${bx(t)}-${bx(n)}`;
}
-function Tx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => wx(e, t, n)).join(" ");
+function Sx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => xx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Ex = {};
-Ex = {
+var Cx = {};
+Cx = {
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: "طي",
@@ -14169,8 +14169,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Dx = {};
-Dx = {
+var wx = {};
+wx = {
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: "Свиване",
@@ -14185,8 +14185,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Ox = {};
-Ox = {
+var Tx = {};
+Tx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14201,8 +14201,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var kx = {};
-kx = {
+var Ex = {};
+Ex = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14217,8 +14217,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Ax = {};
-Ax = {
+var Dx = {};
+Dx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14233,8 +14233,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var jx = {};
-jx = {
+var Ox = {};
+Ox = {
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: "Σύμπτυξη",
@@ -14249,8 +14249,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Mx = {};
-Mx = {
+var kx = {};
+kx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14265,8 +14265,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Nx = {};
-Nx = {
+var Ax = {};
+Ax = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14281,8 +14281,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Px = {};
-Px = {
+var jx = {};
+jx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14297,8 +14297,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Fx = {};
-Fx = {
+var Mx = {};
+Mx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14313,8 +14313,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Ix = {};
-Ix = {
+var Nx = {};
+Nx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14329,8 +14329,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Lx = {};
-Lx = {
+var Px = {};
+Px = {
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: "כווץ",
@@ -14345,8 +14345,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Rx = {};
-Rx = {
+var Fx = {};
+Fx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14361,8 +14361,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var zx = {};
-zx = {
+var Ix = {};
+Ix = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14377,8 +14377,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Bx = {};
-Bx = {
+var Lx = {};
+Lx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14393,8 +14393,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Vx = {};
-Vx = {
+var Rx = {};
+Rx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14409,8 +14409,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Hx = {};
-Hx = {
+var zx = {};
+zx = {
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: "접기",
@@ -14425,8 +14425,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Ux = {};
-Ux = {
+var Bx = {};
+Bx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14441,8 +14441,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Wx = {};
-Wx = {
+var Vx = {};
+Vx = {
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",
@@ -14457,8 +14457,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Gx = {};
-Gx = {
+var Hx = {};
+Hx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14473,8 +14473,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Kx = {};
-Kx = {
+var Ux = {};
+Ux = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14489,8 +14489,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var qx = {};
-qx = {
+var Wx = {};
+Wx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14505,8 +14505,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Jx = {};
-Jx = {
+var Gx = {};
+Gx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14521,8 +14521,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Yx = {};
-Yx = {
+var Kx = {};
+Kx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14537,8 +14537,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Xx = {};
-Xx = {
+var qx = {};
+qx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14553,8 +14553,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Zx = {};
-Zx = {
+var Jx = {};
+Jx = {
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: "Свернуть",
@@ -14569,8 +14569,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Qx = {};
-Qx = {
+var Yx = {};
+Yx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14585,8 +14585,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var $x = {};
-$x = {
+var Xx = {};
+Xx = {
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",
@@ -14601,8 +14601,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var eS = {};
-eS = {
+var Zx = {};
+Zx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14617,8 +14617,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var tS = {};
-tS = {
+var Qx = {};
+Qx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14633,8 +14633,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var nS = {};
-nS = {
+var $x = {};
+$x = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14649,8 +14649,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var rS = {};
-rS = {
+var eS = {};
+eS = {
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: "Згорнути",
@@ -14665,8 +14665,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var iS = {};
-iS = {
+var tS = {};
+tS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14681,8 +14681,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var aS = {};
-aS = {
+var nS = {};
+nS = {
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: "收合",
@@ -14697,46 +14697,46 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var oS = {};
-oS = {
- "ar-AE": Ex,
- "bg-BG": Dx,
- "cs-CZ": Ox,
- "da-DK": kx,
- "de-DE": Ax,
- "el-GR": jx,
- "en-US": Mx,
- "es-ES": Nx,
- "et-EE": Px,
- "fi-FI": Fx,
- "fr-FR": Ix,
- "he-IL": Lx,
- "hr-HR": Rx,
- "hu-HU": zx,
- "it-IT": Bx,
- "ja-JP": Vx,
- "ko-KR": Hx,
- "lt-LT": Ux,
- "lv-LV": Wx,
- "nb-NO": Gx,
- "nl-NL": Kx,
- "pl-PL": qx,
- "pt-BR": Jx,
- "pt-PT": Yx,
- "ro-RO": Xx,
- "ru-RU": Zx,
- "sk-SK": Qx,
- "sl-SI": $x,
- "sr-SP": eS,
- "sv-SE": tS,
- "tr-TR": nS,
- "uk-UA": rS,
- "zh-CN": iS,
- "zh-TW": aS
+var rS = {};
+rS = {
+ "ar-AE": Cx,
+ "bg-BG": wx,
+ "cs-CZ": Tx,
+ "da-DK": Ex,
+ "de-DE": Dx,
+ "el-GR": Ox,
+ "en-US": kx,
+ "es-ES": Ax,
+ "et-EE": jx,
+ "fi-FI": Mx,
+ "fr-FR": Nx,
+ "he-IL": Px,
+ "hr-HR": Fx,
+ "hu-HU": Ix,
+ "it-IT": Lx,
+ "ja-JP": Rx,
+ "ko-KR": zx,
+ "lt-LT": Bx,
+ "lv-LV": Vx,
+ "nb-NO": Hx,
+ "nl-NL": Ux,
+ "pl-PL": Wx,
+ "pt-BR": Gx,
+ "pt-PT": Kx,
+ "ro-RO": qx,
+ "ru-RU": Jx,
+ "sk-SK": Yx,
+ "sl-SI": Xx,
+ "sr-SP": Zx,
+ "sv-SE": Qx,
+ "tr-TR": $x,
+ "uk-UA": eS,
+ "zh-CN": tS,
+ "zh-TW": nS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var bte = class extends bx {
+var Cte = class extends _x {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14744,7 +14744,7 @@ var bte = class extends bx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Jv(qv(n, this.collection));
+ let e = Gv(Wv(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);
@@ -14765,13 +14765,13 @@ var bte = class extends bx {
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 qv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Wv(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 = [...qv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Wv(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -14800,7 +14800,7 @@ var bte = class extends bx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of qv(o, this.collection)) {
+ for (let r of Wv(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);
@@ -14814,14 +14814,14 @@ var bte = class extends bx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function xte(e) {
+function wte(e) {
return e && e.__esModule ? e.default : e;
}
-function Ste(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ny({
+function Tte(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = $v({
usage: "search",
sensitivity: "base"
- }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new bte({
+ }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Cte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14841,14 +14841,14 @@ function Ste(e, t, n) {
a,
o
]), d = Rm(e.id);
- Sx.set(t, d);
- let { gridProps: f } = vte({
+ yx.set(t, d);
+ let { gridProps: f } = xte({
...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 = pg(xte(oS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = pg(wte(rS), "@react-aria/table"), g = (0, I.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -14862,13 +14862,13 @@ function Ste(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function sS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = xx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function iS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = vx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
let e = c_(n.current);
if (p === "child") {
if (ap(n.current) && n.current !== rp(Kf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? cS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? aS(e) : e.firstChild();
if (r) {
jm(r);
return;
@@ -14876,7 +14876,7 @@ function sS(e, t, n) {
}
(m.current != null && r.key !== m.current || !ap(n.current)) && jm(n.current);
}
- }, { itemProps: g, isPressed: _ } = nb({
+ }, { itemProps: g, isPressed: _ } = $y({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14900,7 +14900,7 @@ function sS(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : cS(a), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
+ p === "cell" && l === "rtl" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : aS(a), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
}
break;
}
@@ -14912,7 +14912,7 @@ function sS(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? cS(a) : a.firstChild(), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
+ p === "cell" && l === "ltr" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? aS(a) : a.firstChild(), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
}
break;
}
@@ -14957,7 +14957,7 @@ function sS(e, t, n) {
isPressed: _
};
}
-function cS(e) {
+function aS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14966,20 +14966,20 @@ function cS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Cte(e, t, n) {
- let { gridCellProps: r, isPressed: i } = sS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = wx(t, e.node.parentKey, a)), {
+function Ete(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = iS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = xx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function wte(e) {
+function Dte(e) {
return e && e.__esModule ? e.default : e;
}
-function Tte(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = sS({
+function Ote(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = iS({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Og({
@@ -14990,7 +14990,7 @@ function Tte(e, t, n) {
ref: n
}), { focusableProps: l } = uh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !Mp() && (u = d ? f : "none");
- let p = pg(wte(oS), "@react-aria/table"), m;
+ let p = pg(Dte(rS), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && Mp() && (m = `${m}, ${p.format(f)}`));
let h = C_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
@@ -15003,7 +15003,7 @@ function Tte(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: yte(t, r.key),
+ id: Ste(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15012,14 +15012,14 @@ function Tte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Ete(e, t, n) {
+function kte(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 Dte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = xx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = nb({
+function Ate(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = vx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = $y({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15040,10 +15040,10 @@ function Dte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Ote(e) {
+function jte(e) {
return e && e.__esModule ? e.default : e;
}
-var lS = {
+var oS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15053,21 +15053,21 @@ var lS = {
rtl: "ArrowRight"
}
};
-function kte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Dte(e, t, n), { direction: s } = ag();
+function Mte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Ate(e, t, n), { direction: s } = ag();
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 = pg(Ote(oS), "@react-aria/table"), u = Yh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = pg(jte(rS), "@react-aria/table"), u = Yh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Tx(t, r.key)
+ "aria-labelledby": Sx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = uS(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 = uS(t.collection, a);
+ let n = sS(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 = sS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === lS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === lS.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 === oS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === oS.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,
@@ -15089,41 +15089,41 @@ function kte(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Tx(t, r.key)
+ "aria-labelledby": Sx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function uS(e, t) {
+function sS(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 Ate() {
+function Nte() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function dS() {
- return Ate();
+function cS() {
+ return Nte();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function jte(e) {
+function Pte(e) {
return e && e.__esModule ? e.default : e;
}
-function Mte(e, t) {
- let { key: n } = e, { checkboxProps: r } = Kee(e, t);
+function Fte(e, t) {
+ let { key: n } = e, { checkboxProps: r } = Yee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Tx(t, n)}`
+ "aria-labelledby": `${r.id} ${Sx(t, n)}`
} };
}
-function Nte(e) {
+function Ite(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": pg(jte(oS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": pg(Pte(rS), "@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,
@@ -15132,21 +15132,21 @@ function Nte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var fS = /* @__PURE__ */ new WeakMap();
-function pS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${fS.get(e)}-${n}-${t}`) : "";
+var lS = /* @__PURE__ */ new WeakMap();
+function uS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${lS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Pte(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 } = nb({
+function Lte(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 } = $y({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = pS(t, r, "tab"), m = pS(t, r, "tabpanel"), { tabIndex: h } = d, g = hg(u?.props, { labelable: !0 });
+ }), p = uS(t, r, "tab"), m = uS(t, r, "tabpanel"), { tabIndex: h } = d, g = hg(u?.props, { labelable: !0 });
delete g.id;
let _ = Up(u?.props), { focusableProps: v } = uh({
...u?.props,
@@ -15168,7 +15168,7 @@ function Pte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Fte = class {
+var Rte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15212,11 +15212,11 @@ var Fte = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Ite(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ag(), { collectionProps: l } = Kv({
+function zte(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ag(), { collectionProps: l } = Uv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new Fte(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new Rte(a, c, r, s), [
a,
s,
r,
@@ -15227,7 +15227,7 @@ function Ite(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Rm();
- return fS.set(t, u), { tabListProps: {
+ return lS.set(t, u), { tabListProps: {
...H(l, Yh({
...e,
id: u
@@ -15239,12 +15239,12 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Lte(e, t, n) {
- let r = eb(n) ? void 0 : 0, i = pS(t, e.id ?? t?.selectedKey, "tabpanel");
+function Bte(e, t, n) {
+ let r = Zy(n) ? void 0 : 0, i = uS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(Yh({
...e,
id: i,
- "aria-labelledby": pS(t, t?.selectedKey, "tab")
+ "aria-labelledby": uS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15254,7 +15254,7 @@ function Lte(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var Rte = /* @__PURE__ */ M(((e) => {
+var Vte = /* @__PURE__ */ M(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15453,10 +15453,10 @@ var Rte = /* @__PURE__ */ M(((e) => {
}
};
};
-})), zte = /* @__PURE__ */ M(((e, t) => {
- t.exports = Rte();
-})), Bte = /* @__PURE__ */ M(((e) => {
- var t = zte(), n = ne(), r = gh();
+})), Hte = /* @__PURE__ */ M(((e, t) => {
+ t.exports = Vte();
+})), Ute = /* @__PURE__ */ M(((e) => {
+ var t = Hte(), n = ne(), r = gh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -23866,7 +23866,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
var n = !1, r = "", o = wc, s = Tc, c = Ec;
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 = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, ep(e), new eg(t);
};
-})), mS = (/* @__PURE__ */ M(((e, t) => {
+})), dS = (/* @__PURE__ */ M(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -23874,8 +23874,8 @@ var Rte = /* @__PURE__ */ M(((e) => {
console.error(e);
}
}
- n(), t.exports = Bte();
-})))(), Vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = Ute();
+})))(), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23883,7 +23883,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23891,7 +23891,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), fS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23899,7 +23899,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), pS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23907,7 +23907,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), mS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23915,7 +23915,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23923,7 +23923,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23931,7 +23931,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23939,7 +23939,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23947,7 +23947,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23955,7 +23955,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23963,7 +23963,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23971,7 +23971,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23979,7 +23979,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23987,7 +23987,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23995,7 +23995,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24003,7 +24003,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24011,7 +24011,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Xte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24019,7 +24019,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24027,7 +24027,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24035,7 +24035,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24043,7 +24043,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24051,7 +24051,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24059,7 +24059,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24067,7 +24067,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24075,7 +24075,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24083,7 +24083,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24091,7 +24091,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24099,7 +24099,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24107,7 +24107,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24115,7 +24115,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24123,7 +24123,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24131,7 +24131,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), BS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24139,7 +24139,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), VS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24147,7 +24147,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), HS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24155,7 +24155,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), BS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24163,7 +24163,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), VS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24171,100 +24171,100 @@ var Rte = /* @__PURE__ */ M(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), GS = (e, t) => {
+}, I.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), HS = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, KS = (e, t) => ({
+}, US = (e, t) => ({
classGroupId: e,
validator: t
-}), qS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), WS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), JS = "-", YS = [], XS = "arbitrary..", ZS = (e) => {
- let t = eC(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), GS = "-", KS = [], qS = "arbitrary..", JS = (e) => {
+ let t = ZS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return $S(e);
- let n = e.split(JS);
- return QS(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return XS(e);
+ let n = e.split(GS);
+ return YS(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? GS(i, t) : t : i || YS;
+ return t ? i ? HS(i, t) : t : i || KS;
}
- return n[e] || YS;
+ return n[e] || KS;
}
};
-}, QS = (e, t, n) => {
+}, YS = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = QS(e, t + 1, i);
+ let n = YS(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(JS) : e.slice(t).join(JS), s = a.length;
+ let o = t === 0 ? e.join(GS) : e.slice(t).join(GS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, $S = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, XS = (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 ? XS + r : void 0;
-})(), eC = (e) => {
+ return r ? qS + r : void 0;
+})(), ZS = (e) => {
let { theme: t, classGroups: n } = e;
- return tC(n, t);
-}, tC = (e, t) => {
- let n = qS();
+ return QS(n, t);
+}, QS = (e, t) => {
+ let n = WS();
for (let r in e) {
let i = e[r];
- nC(i, n, r, t);
+ $S(i, n, r, t);
}
return n;
-}, nC = (e, t, n, r) => {
+}, $S = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- rC(i, t, n, r);
+ eC(i, t, n, r);
}
-}, rC = (e, t, n, r) => {
+}, eC = (e, t, n, r) => {
if (typeof e == "string") {
- iC(e, t, n);
+ tC(e, t, n);
return;
}
if (typeof e == "function") {
- aC(e, t, n, r);
+ nC(e, t, n, r);
return;
}
- oC(e, t, n, r);
-}, iC = (e, t, n) => {
- let r = e === "" ? t : sC(t, e);
+ rC(e, t, n, r);
+}, tC = (e, t, n) => {
+ let r = e === "" ? t : iC(t, e);
r.classGroupId = n;
-}, aC = (e, t, n, r) => {
- if (cC(e)) {
- nC(e(r), t, n, r);
+}, nC = (e, t, n, r) => {
+ if (aC(e)) {
+ $S(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(KS(n, e));
-}, oC = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(US(n, e));
+}, rC = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- nC(o, sC(t, a), n, r);
+ $S(o, iC(t, a), n, r);
}
-}, sC = (e, t) => {
- let n = e, r = t.split(JS), i = r.length;
+}, iC = (e, t) => {
+ let n = e, r = t.split(GS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = qS(), n.nextPart.set(t, i)), n = i;
+ i || (i = WS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, cC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lC = (e) => {
+}, aC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, oC = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24282,19 +24282,19 @@ var Rte = /* @__PURE__ */ M(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, uC = "!", dC = ":", fC = [], pC = (e, t, n, r, i) => ({
+}, sC = "!", cC = ":", lC = [], uC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), mC = (e) => {
+}), dC = (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 === dC) {
+ if (o === cC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24306,13 +24306,13 @@ var Rte = /* @__PURE__ */ M(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(uC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(uC) && (c = s.slice(1), l = !0);
+ s.endsWith(sC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(sC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return pC(t, l, c, u);
+ return uC(t, l, c, u);
};
if (t) {
- let e = t + dC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : pC(fC, !1, t, void 0, !0);
+ let e = t + cC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : uC(lC, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24322,7 +24322,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
});
}
return r;
-}, hC = (e) => {
+}, fC = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24334,18 +24334,18 @@ var Rte = /* @__PURE__ */ M(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, gC = (e) => ({
- cache: lC(e.cacheSize),
- parseClassName: mC(e),
- sortModifiers: hC(e),
- postfixLookupClassGroupIds: _C(e),
- ...ZS(e)
-}), _C = (e) => {
+}, pC = (e) => ({
+ cache: oC(e.cacheSize),
+ parseClassName: dC(e),
+ sortModifiers: fC(e),
+ postfixLookupClassGroupIds: mC(e),
+ ...JS(e)
+}), mC = (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;
-}, vC = /\s+/, yC = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(vC), l = "";
+}, hC = /\s+/, gC = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(hC), 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) {
@@ -24369,7 +24369,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + uC : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + sC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24380,34 +24380,34 @@ var Rte = /* @__PURE__ */ M(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, bC = (...e) => {
+}, _C = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = xC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = vC(n)) && (i && (i += " "), i += r);
return i;
-}, xC = (e) => {
+}, vC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = xC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = vC(e[r])) && (n && (n += " "), n += t);
return n;
-}, SC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = gC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, yC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = pC(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 = yC(e, n);
+ let a = gC(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(bC(...e));
-}, CC = [], wC = (e) => {
- let t = (t) => t[e] || CC;
+ return a = o, (...e) => a(_C(...e));
+}, bC = [], xC = (e) => {
+ let t = (t) => t[e] || bC;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, TC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, EC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, DC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, OC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kC = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, AC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, jC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, MC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NC = (e) => DC.test(e), PC = (e) => !!e && !Number.isNaN(Number(e)), FC = (e) => !!e && Number.isInteger(Number(e)), IC = (e) => e.endsWith("%") && PC(e.slice(0, -1)), LC = (e) => OC.test(e), RC = () => !0, zC = (e) => kC.test(e) && !AC.test(e), BC = () => !1, VC = (e) => jC.test(e), HC = (e) => MC.test(e), UC = (e) => !U(e) && !W(e), WC = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), GC = (e) => ow(e, uw, BC), U = (e) => TC.test(e), KC = (e) => ow(e, dw, zC), qC = (e) => ow(e, fw, PC), JC = (e) => ow(e, mw, RC), YC = (e) => ow(e, pw, BC), XC = (e) => ow(e, cw, BC), ZC = (e) => ow(e, lw, HC), QC = (e) => ow(e, hw, VC), W = (e) => EC.test(e), $C = (e) => sw(e, dw), ew = (e) => sw(e, pw), tw = (e) => sw(e, cw), nw = (e) => sw(e, uw), rw = (e) => sw(e, lw), iw = (e) => sw(e, hw, !0), aw = (e) => sw(e, mw, !0), ow = (e, t, n) => {
- let r = TC.exec(e);
+}, SC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, CC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, wC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, TC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, EC = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, DC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, OC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, kC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, AC = (e) => wC.test(e), jC = (e) => !!e && !Number.isNaN(Number(e)), MC = (e) => !!e && Number.isInteger(Number(e)), NC = (e) => e.endsWith("%") && jC(e.slice(0, -1)), PC = (e) => TC.test(e), FC = () => !0, IC = (e) => EC.test(e) && !DC.test(e), LC = () => !1, RC = (e) => OC.test(e), zC = (e) => kC.test(e), BC = (e) => !U(e) && !W(e), VC = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), HC = (e) => rw(e, sw, LC), U = (e) => SC.test(e), UC = (e) => rw(e, cw, IC), WC = (e) => rw(e, lw, jC), GC = (e) => rw(e, dw, FC), KC = (e) => rw(e, uw, LC), qC = (e) => rw(e, aw, LC), JC = (e) => rw(e, ow, zC), YC = (e) => rw(e, fw, RC), W = (e) => CC.test(e), XC = (e) => iw(e, cw), ZC = (e) => iw(e, uw), QC = (e) => iw(e, aw), $C = (e) => iw(e, sw), ew = (e) => iw(e, ow), tw = (e) => iw(e, fw, !0), nw = (e) => iw(e, dw, !0), rw = (e, t, n) => {
+ let r = SC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, sw = (e, t, n = !1) => {
- let r = EC.exec(e);
+}, iw = (e, t, n = !1) => {
+ let r = CC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, cw = (e) => e === "position" || e === "percentage", lw = (e) => e === "image" || e === "url", uw = (e) => e === "length" || e === "size" || e === "bg-size", dw = (e) => e === "length", fw = (e) => e === "number", pw = (e) => e === "family-name", mw = (e) => e === "number" || e === "weight", hw = (e) => e === "shadow", gw = () => {
- let e = wC("color"), t = wC("font"), n = wC("text"), r = wC("font-weight"), i = wC("tracking"), a = wC("leading"), o = wC("breakpoint"), s = wC("container"), c = wC("spacing"), l = wC("radius"), u = wC("shadow"), d = wC("inset-shadow"), f = wC("text-shadow"), p = wC("drop-shadow"), m = wC("blur"), h = wC("perspective"), g = wC("aspect"), _ = wC("ease"), v = wC("animate"), y = () => [
+}, aw = (e) => e === "position" || e === "percentage", ow = (e) => e === "image" || e === "url", sw = (e) => e === "length" || e === "size" || e === "bg-size", cw = (e) => e === "length", lw = (e) => e === "number", uw = (e) => e === "family-name", dw = (e) => e === "number" || e === "weight", fw = (e) => e === "shadow", pw = () => {
+ let e = xC("color"), t = xC("font"), n = xC("text"), r = xC("font-weight"), i = xC("tracking"), a = xC("leading"), o = xC("breakpoint"), s = xC("container"), c = xC("spacing"), l = xC("radius"), u = xC("shadow"), d = xC("inset-shadow"), f = xC("text-shadow"), p = xC("drop-shadow"), m = xC("blur"), h = xC("perspective"), g = xC("aspect"), _ = xC("ease"), v = xC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24449,12 +24449,12 @@ var Rte = /* @__PURE__ */ M(((e) => {
U,
c
], T = () => [
- NC,
+ AC,
"full",
"auto",
...w()
], E = () => [
- FC,
+ MC,
"none",
"subgrid",
W,
@@ -24463,15 +24463,15 @@ var Rte = /* @__PURE__ */ M(((e) => {
"auto",
{ span: [
"full",
- FC,
+ MC,
W,
U
] },
- FC,
+ MC,
W,
U
], O = () => [
- FC,
+ MC,
"auto",
W,
U
@@ -24501,7 +24501,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- NC,
+ AC,
"auto",
"full",
"dvw",
@@ -24516,7 +24516,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
...w()
], ee = () => [
s,
- NC,
+ AC,
"screen",
"full",
"dvw",
@@ -24527,7 +24527,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"fit",
...w()
], te = () => [
- NC,
+ AC,
"screen",
"full",
"lh",
@@ -24544,8 +24544,8 @@ var Rte = /* @__PURE__ */ M(((e) => {
U
], F = () => [
...b(),
- tw,
- XC,
+ QC,
+ qC,
{ position: [W, U] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -24557,13 +24557,13 @@ var Rte = /* @__PURE__ */ M(((e) => {
"auto",
"cover",
"contain",
- nw,
- GC,
+ $C,
+ HC,
{ size: [W, U] }
], ie = () => [
- IC,
- $C,
- KC
+ NC,
+ XC,
+ UC
], I = () => [
"",
"none",
@@ -24573,9 +24573,9 @@ var Rte = /* @__PURE__ */ M(((e) => {
U
], L = () => [
"",
- PC,
- $C,
- KC
+ jC,
+ XC,
+ UC
], ae = () => [
"solid",
"dashed",
@@ -24599,10 +24599,10 @@ var Rte = /* @__PURE__ */ M(((e) => {
"color",
"luminosity"
], se = () => [
- PC,
- IC,
- tw,
- XC
+ jC,
+ NC,
+ QC,
+ qC
], ce = () => [
"",
"none",
@@ -24611,20 +24611,20 @@ var Rte = /* @__PURE__ */ M(((e) => {
U
], le = () => [
"none",
- PC,
+ jC,
W,
U
], ue = () => [
"none",
- PC,
+ jC,
W,
U
], R = () => [
- PC,
+ jC,
W,
U
], z = () => [
- NC,
+ AC,
"full",
...w()
];
@@ -24638,17 +24638,17 @@ var Rte = /* @__PURE__ */ M(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [LC],
- breakpoint: [LC],
- color: [RC],
- container: [LC],
- "drop-shadow": [LC],
+ blur: [PC],
+ breakpoint: [PC],
+ color: [FC],
+ container: [PC],
+ "drop-shadow": [PC],
ease: [
"in",
"out",
"in-out"
],
- font: [UC],
+ font: [BC],
"font-weight": [
"thin",
"extralight",
@@ -24660,7 +24660,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [LC],
+ "inset-shadow": [PC],
leading: [
"none",
"tight",
@@ -24677,11 +24677,11 @@ var Rte = /* @__PURE__ */ M(((e) => {
"distant",
"none"
],
- radius: [LC],
- shadow: [LC],
- spacing: ["px", PC],
- text: [LC],
- "text-shadow": [LC],
+ radius: [PC],
+ shadow: [PC],
+ spacing: ["px", jC],
+ text: [PC],
+ "text-shadow": [PC],
tracking: [
"tighter",
"tight",
@@ -24695,7 +24695,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- NC,
+ AC,
U,
W,
g
@@ -24708,9 +24708,9 @@ var Rte = /* @__PURE__ */ M(((e) => {
W,
U
] }],
- "container-named": [WC],
+ "container-named": [VC],
columns: [{ columns: [
- PC,
+ jC,
"auto",
U,
W,
@@ -24810,13 +24810,13 @@ var Rte = /* @__PURE__ */ M(((e) => {
"collapse"
],
z: [{ z: [
- FC,
+ MC,
"auto",
W,
U
] }],
basis: [{ basis: [
- NC,
+ AC,
"full",
"auto",
s,
@@ -24834,8 +24834,8 @@ var Rte = /* @__PURE__ */ M(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- PC,
- NC,
+ jC,
+ AC,
"auto",
"initial",
"none",
@@ -24843,18 +24843,18 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
grow: [{ grow: [
"",
- PC,
+ jC,
W,
U
] }],
shrink: [{ shrink: [
"",
- PC,
+ jC,
W,
U
] }],
order: [{ order: [
- FC,
+ MC,
"first",
"last",
"none",
@@ -24966,15 +24966,15 @@ var Rte = /* @__PURE__ */ M(((e) => {
"font-size": [{ text: [
"base",
n,
- $C,
- KC
+ XC,
+ UC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- aw,
- JC
+ nw,
+ GC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24986,12 +24986,12 @@ var Rte = /* @__PURE__ */ M(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- IC,
+ NC,
U
] }],
"font-family": [{ font: [
- ew,
- YC,
+ ZC,
+ KC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25007,10 +25007,10 @@ var Rte = /* @__PURE__ */ M(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- PC,
+ jC,
"none",
W,
- qC
+ WC
] }],
leading: [{ leading: [
"none",
@@ -25048,15 +25048,15 @@ var Rte = /* @__PURE__ */ M(((e) => {
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- PC,
+ jC,
"from-font",
"auto",
W,
- KC
+ UC
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- PC,
+ jC,
"auto",
W,
U
@@ -25080,7 +25080,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- FC,
+ MC,
W,
U
] }],
@@ -25158,7 +25158,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"l",
"tl"
] },
- FC,
+ MC,
W,
U
],
@@ -25169,13 +25169,13 @@ var Rte = /* @__PURE__ */ M(((e) => {
],
conic: [
"",
- FC,
+ MC,
W,
U
]
},
- rw,
- ZC
+ ew,
+ JC
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -25242,15 +25242,15 @@ var Rte = /* @__PURE__ */ M(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- PC,
+ jC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- PC,
- $C,
- KC
+ jC,
+ XC,
+ UC
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -25258,33 +25258,33 @@ var Rte = /* @__PURE__ */ M(((e) => {
"inner",
"none",
u,
- iw,
- QC
+ tw,
+ YC
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- iw,
- QC
+ tw,
+ YC
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: L() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [PC, KC] }],
+ "ring-offset-w": [{ "ring-offset": [jC, UC] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": L() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- iw,
- QC
+ tw,
+ YC
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- PC,
+ jC,
W,
U
] }],
@@ -25308,7 +25308,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [PC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [jC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -25348,7 +25348,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [PC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [jC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -25383,12 +25383,12 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- PC,
+ jC,
W,
U
] }],
contrast: [{ contrast: [
- PC,
+ jC,
W,
U
] }],
@@ -25396,35 +25396,35 @@ var Rte = /* @__PURE__ */ M(((e) => {
"",
"none",
p,
- iw,
- QC
+ tw,
+ YC
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- PC,
+ jC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- PC,
+ jC,
W,
U
] }],
invert: [{ invert: [
"",
- PC,
+ jC,
W,
U
] }],
saturate: [{ saturate: [
- PC,
+ jC,
W,
U
] }],
sepia: [{ sepia: [
"",
- PC,
+ jC,
W,
U
] }],
@@ -25436,45 +25436,45 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- PC,
+ jC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- PC,
+ jC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- PC,
+ jC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- PC,
+ jC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- PC,
+ jC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- PC,
+ jC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- PC,
+ jC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- PC,
+ jC,
W,
U
] }],
@@ -25497,7 +25497,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- PC,
+ jC,
"initial",
W,
U
@@ -25510,7 +25510,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
U
] }],
delay: [{ delay: [
- PC,
+ jC,
W,
U
] }],
@@ -25555,7 +25555,7 @@ var Rte = /* @__PURE__ */ M(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- FC,
+ MC,
W,
U
] }],
@@ -25699,10 +25699,10 @@ var Rte = /* @__PURE__ */ M(((e) => {
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- PC,
- $C,
- KC,
- qC
+ jC,
+ XC,
+ UC,
+ WC
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -25960,16 +25960,16 @@ var Rte = /* @__PURE__ */ M(((e) => {
"selection"
]
};
-}, _w = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (vw(e, "cacheSize", t), vw(e, "prefix", n), vw(e, "experimentalParseClassName", r), yw(e.theme, a.theme), yw(e.classGroups, a.classGroups), yw(e.conflictingClassGroups, a.conflictingClassGroups), yw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), vw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), vw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), bw(e.theme, i.theme), bw(e.classGroups, i.classGroups), bw(e.conflictingClassGroups, i.conflictingClassGroups), bw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), xw(e, i, "postfixLookupClassGroups"), xw(e, i, "orderSensitiveModifiers"), e), vw = (e, t, n) => {
+}, mw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (hw(e, "cacheSize", t), hw(e, "prefix", n), hw(e, "experimentalParseClassName", r), gw(e.theme, a.theme), gw(e.classGroups, a.classGroups), gw(e.conflictingClassGroups, a.conflictingClassGroups), gw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), hw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), hw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), _w(e.theme, i.theme), _w(e.classGroups, i.classGroups), _w(e.conflictingClassGroups, i.conflictingClassGroups), _w(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), vw(e, i, "postfixLookupClassGroups"), vw(e, i, "orderSensitiveModifiers"), e), hw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, yw = (e, t) => {
- if (t) for (let n in t) vw(e, n, t[n]);
-}, bw = (e, t) => {
- if (t) for (let n in t) xw(e, t, n);
-}, xw = (e, t, n) => {
+}, gw = (e, t) => {
+ if (t) for (let n in t) hw(e, n, t[n]);
+}, _w = (e, t) => {
+ if (t) for (let n in t) vw(e, t, n);
+}, vw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Sw = (e, ...t) => typeof e == "function" ? SC(gw, e, ...t) : SC(() => _w(gw(), e), ...t), Cw = [
+}, yw = (e, ...t) => typeof e == "function" ? yC(pw, e, ...t) : yC(() => mw(pw(), e), ...t), bw = [
"large-title",
"display-1",
"display-2",
@@ -25983,18 +25983,18 @@ var Rte = /* @__PURE__ */ M(((e) => {
"body-2",
"caption-1",
"caption-2"
-], ww = [
+], xw = [
"regular",
"medium",
"semibold",
"bold"
-], Tw = Sw({ extend: { classGroups: { "font-size": [{ text: Cw.flatMap((e) => ww.map((t) => `${e}-${t}`)) }] } } });
-function Ew(e) {
+], Sw = yw({ extend: { classGroups: { "font-size": [{ text: bw.flatMap((e) => xw.map((t) => `${e}-${t}`)) }] } } });
+function Cw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Dw = Ew({
+var ww = Cw({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -26013,16 +26013,16 @@ var Dw = Ew({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Ow({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function Tw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: Tw(Dw.base, Dw.variant[e], Dw.color[t], n),
+ className: Sw(ww.base, ww.variant[e], ww.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var kw = Ew({
+var Ew = Cw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26081,40 +26081,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: Tw(kw.base, kw.size[t], kw.variant[e], n && kw.iconOnlySize[t], o),
+ className: Sw(Ew.base, Ew.size[t], Ew.variant[e], n && Ew.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: kw.icon[t],
+ className: Ew.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: kw.label[t],
+ className: Ew.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: kw.icon[t],
+ className: Ew.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Aw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Dw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("a", {
ref: s,
- className: Tw(kw.base, kw.size[t], kw.variant[e], n && kw.iconOnlySize[t], o),
+ className: Sw(Ew.base, Ew.size[t], Ew.variant[e], n && Ew.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: kw.icon[t],
+ className: Ew.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: kw.label[t],
+ className: Ew.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: kw.icon[t],
+ className: Ew.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26122,13 +26122,13 @@ function Aw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var jw = class extends Error {
+var Ow = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(d(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, Mw = (e) => {
+}, kw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26141,7 +26141,7 @@ var jw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function Nw(e, t) {
+async function Aw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26150,7 +26150,7 @@ async function Nw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new jw(Mw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new Ow(kw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26167,52 +26167,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new jw(Mw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new Ow(kw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Pw = "min-w-0", Fw = {
+var jw = "min-w-0", Mw = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Iw = {
+}, Nw = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Lw = {
+}, Pw = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Rw = {
+}, Fw = {
none: "",
default: "p-5"
-}, zw = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Bw = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function Vw(e = {}) {
+}, Iw = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Lw = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function Rw(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- Pw,
- Fw[t],
- Iw[s],
- Rw[n],
- a ? Lw[a] : "",
- r ? zw : "",
- i ? Bw : "",
+ jw,
+ Mw[t],
+ Nw[s],
+ Fw[n],
+ a ? Pw[a] : "",
+ r ? Iw : "",
+ i ? Lw : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Hw = {
+var zw = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function Uw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Bw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Hw[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${zw[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26242,7 +26242,7 @@ function Uw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Ww({ label: e, inline: t = !1 }) {
+function Vw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26308,7 +26308,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Gw({ children: e }) {
+function Hw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26316,21 +26316,21 @@ function Gw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var Kw = 100, qw = .4;
-function Jw({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * Kw;
+var Uw = 100, Ww = .4;
+function Gw({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * Uw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${Kw} 1`,
+ viewBox: `0 0 ${Uw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: Kw,
+ width: Uw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26341,7 +26341,7 @@ function Jw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: qw,
+ width: Ww,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26350,7 +26350,7 @@ function Jw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Yw(e = "") {
+function Kw(e = "") {
let t = (0, I.useRef)(null), [n, r] = (0, I.useState)(""), [i, a] = (0, I.useState)(e);
(0, I.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -26388,11 +26388,11 @@ var X = new gt({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Xw = "/api/tasks", Zw = ["tasks"], Qw = (e, t) => Nw(`${Xw}?${new URLSearchParams({
+} } }), qw = "/api/tasks", Jw = ["tasks"], Yw = (e, t) => Aw(`${qw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function $w(...e) {
+function Xw(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -26400,26 +26400,26 @@ function $w(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var eT = 2e3, tT = 1e4, nT = (e) => e?.running.length ? eT : tT, rT = (e) => Nw(Xw, e);
-async function iT(e) {
+var Zw = 2e3, Qw = 1e4, $w = (e) => e?.running.length ? Zw : Qw, eT = (e) => Aw(qw, e);
+async function tT(e) {
await X.fetchQuery({
- queryKey: Zw,
- queryFn: () => rT(e)
+ queryKey: Jw,
+ queryFn: () => eT(e)
});
}
-var aT = {
+var nT = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Jte = {
+}, Zte = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Yte = (e) => Jte[e] || e, Xte = {
+}, Qte = (e) => Zte[e] || e, $te = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26449,7 +26449,7 @@ var aT = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Zte(e) {
+function ene(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26458,7 +26458,7 @@ function Zte(e) {
}
return t;
}
-function Qte(e, t) {
+function tne(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26480,19 +26480,19 @@ function Qte(e, t) {
}
return n;
}
-var $te = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), oT = (e) => e.status === "pending" || e.status === "running";
-function ene(e) {
+var nne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), rT = (e) => e.status === "pending" || e.status === "running";
+function rne(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || lT(e.result_summary) || (oT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || oT(e.result_summary) || (rT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function sT(e) {
+function iT(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function cT(e) {
+function aT(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26502,7 +26502,7 @@ function cT(e) {
minute: "2-digit"
});
}
-var tne = /* @__PURE__ */ new Set([
+var ine = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26511,28 +26511,28 @@ var tne = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function lT(e) {
- return Object.entries(e || {}).filter(([e, t]) => !tne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Xte[e] || e} ${t}`).join(" · ");
+function oT(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !ine.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${$te[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var nne = {
+var ane = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function uT({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)(Ow, {
- color: nne[e] ?? "neutral",
- children: Yte(e)
+function sT({ status: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(Tw, {
+ color: ane[e] ?? "neutral",
+ children: Qte(e)
});
}
-function rne({ rows: e }) {
+function one({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = ene(e);
+ let t = rne(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26542,7 +26542,7 @@ function rne({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, L.jsx)(uT, { status: e.status }),
+ /* @__PURE__ */ (0, L.jsx)(sT, { status: e.status }),
t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26552,12 +26552,12 @@ function rne({ rows: e }) {
})
});
}
-function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function cT({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: Vw({
+ className: Rw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26571,7 +26571,7 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, L.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, L.jsx)(uT, { status: e.status })]
+ }), /* @__PURE__ */ (0, L.jsx)(sT, { status: e.status })]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26580,7 +26580,7 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(rne, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(one, { rows: i }) : null,
r ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, L.jsx)("p", {
@@ -26591,15 +26591,15 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function ine({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = sT(e.elapsed_seconds), o = [aT[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(dT, {
+function sne({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = iT(e.elapsed_seconds), o = [nT[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, L.jsx)(cT, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: i,
value: r,
max: n
@@ -26614,20 +26614,20 @@ function ine({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: i })
});
}
-function fT({ run: e, followups: t, runs: n }) {
- let r = lT(e.result_summary), i = sT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- aT[e.trigger] || e.trigger,
+function lT({ run: e, followups: t, runs: n }) {
+ let r = oT(e.result_summary), i = iT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ nT[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${cT(a.finished_at)} – ${cT(e.finished_at)}`
+ `${aT(a.finished_at)} – ${aT(e.finished_at)}`
] : [
- aT[e.trigger] || e.trigger,
- cT(e.finished_at),
+ nT[e.trigger] || e.trigger,
+ aT(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(dT, {
+ return /* @__PURE__ */ (0, L.jsx)(cT, {
run: e,
meta: o,
footer: e.error,
@@ -26638,7 +26638,7 @@ function fT({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function pT({ title: e, children: t }) {
+function uT({ title: e, children: t }) {
let n = (0, I.useId)();
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-labelledby": n,
@@ -26650,41 +26650,41 @@ function pT({ title: e, children: t }) {
}), t]
});
}
-function mT({ live: e = !1, children: t }) {
+function dT({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function ane(e) {
+function cne(e) {
let t = kt({
- queryKey: Zw,
- queryFn: ({ signal: e }) => rT(e),
- refetchInterval: (e) => nT(e.state.data)
+ queryKey: Jw,
+ queryFn: ({ signal: e }) => eT(e),
+ refetchInterval: (e) => $w(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, I.useState)([]), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(r);
- r !== c && (l(r), i.length && c && a($w(i, c)));
+ r !== c && (l(r), i.length && c && a(Xw(i, c)));
let u = At({
- mutationFn: ({ oldest: e }) => Qw(e),
+ mutationFn: ({ oldest: e }) => Yw(e),
onSuccess: (e, { shown: t }) => {
- a((n) => $w(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Xw(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = $w(n.finished || [], i), p = [
+ let f = Xw(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Zte(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = ene(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(oT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Qte(w, (e) => $te(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(rT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = tne(w, (e) => nne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -26693,20 +26693,20 @@ function ane(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(Uw, {
+ E ? /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: DS,
+ icon: wS,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(pT, {
+ /* @__PURE__ */ (0, L.jsx)(uT, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(mT, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(dT, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(ine, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(sne, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(fT, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(lT, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -26715,17 +26715,17 @@ function ane(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, L.jsx)(pT, {
+ C.length ? /* @__PURE__ */ (0, L.jsx)(uT, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, L.jsx)(mT, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(fT, {
+ children: /* @__PURE__ */ (0, L.jsx)(dT, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(lT, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, L.jsxs)(pT, {
+ w.length || y ? /* @__PURE__ */ (0, L.jsxs)(uT, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, L.jsx)(mT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(fT, {
+ w.length ? /* @__PURE__ */ (0, L.jsx)(dT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(lT, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -26737,7 +26737,7 @@ function ane(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: hS,
+ leadingIcon: fS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26750,56 +26750,56 @@ function ane(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function one(e) {
+function lne(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function hT(e, t) {
- return e.is_jav && e.code && e.has_cover && (one(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function fT(e, t) {
+ return e.is_jav && e.code && e.has_cover && (lne(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-function gT(e, t) {
+function pT(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var sne = (e, t) => [
+var une = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], cne = (e, t) => [
+], dne = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function lne(e, t, n, r, i) {
+async function fne(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
- let o = await Nw(`/api/items?${a}`, i), s = {
+ let o = await Aw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await Nw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await Aw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var une = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, dne = (e, t) => {
+var pne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, mne = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function _T(e) {
- let t = gT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function mT(e) {
+ let t = pT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: sne(t, e.revision || 0),
+ queryKey: une(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await lne(t, i, n, r, a);
+ let o = await fne(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: une(n)
+ getNextPageParam: pne(n)
};
}
-function vT(e) {
+function hT(e) {
return {
- queryKey: cne(e.entityKey || "", e.revision || 0),
+ queryKey: dne(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -26814,13 +26814,13 @@ function vT(e) {
};
},
initialPageParam: 0,
- getNextPageParam: dne
+ getNextPageParam: mne
};
}
-async function fne(e, t) {
+async function hne(e, t) {
if (e.mode === "items") return;
if (e.mode === "entity") {
- let n = vT(e);
+ let n = hT(e);
if (e.initial) {
X.setQueryData(n.queryKey, {
pages: [{
@@ -26841,7 +26841,7 @@ async function fne(e, t) {
});
return;
}
- let n = _T(e);
+ let n = mT(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -26850,7 +26850,7 @@ async function fne(e, t) {
})
});
}
-function pne(e, t, n) {
+function gne(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -26865,28 +26865,28 @@ function pne(e, t, n) {
return !0;
}) : [...e];
}
-var yT = (e, t) => !!e && !!hT(e, t);
-function mne(e, t) {
+var gT = (e, t) => !!e && !!fT(e, t);
+function _ne(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
-function hne(e, t) {
- let n = (e) => yT(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => yT(e, t)) || e[e.length - 1];
+function vne(e, t) {
+ let n = (e) => gT(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => gT(e, t)) || e[e.length - 1];
}
-function gne(e, { collapse: t, mix: n, javImage: r }) {
+function yne(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = pne(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = gne(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = hne(e, r);
+ let t = vne(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -26899,16 +26899,16 @@ function gne(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function _ne(e, t, n) {
+function bne(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function vne(e, t) {
+function xne(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function yne(e, t) {
+function Sne(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -26923,7 +26923,7 @@ function yne(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function bT(e, t) {
+function _T(e, t) {
let [n, r] = (0, I.useState)(e ? "skeleton" : "none"), [i] = (0, I.useState)(() => e ? t() : ""), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
a.current && g(a.current);
@@ -26949,7 +26949,7 @@ function bT(e, t) {
fading: n === "fade"
};
}
-function xT({ message: e, onRetry: t }) {
+function vT({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -26963,21 +26963,21 @@ function xT({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var ST = {
+var yT = {
kind: "",
html: ""
};
-function CT(e, t, n, i, a) {
- let o = hT(e, i);
- if (!o) return ST;
+function bT(e, t, n, i, a) {
+ let o = fT(e, i);
+ if (!o) return yT;
let s = e.has_cover && e.code ? `/cover?code=${encodeURIComponent(e.code)}&thumb=1` : "", c = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", l = a(e, t, n), u = (l.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), d = o === "cover" ? l : `<img class="poster" src="${c}" alt="" loading="${n ? "eager" : "lazy"}"${u}>`;
return {
kind: o === "cover" ? "cover" : "thumb",
html: d.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${r(s)}" data-jav-thumb="${r(c)}" data-jav-image-layout="${t}" `)
};
}
-function bne(e, t, n, i, a) {
- if (e.is_jav) return CT(e, t, n, i, a);
+function Cne(e, t, n, i, a) {
+ if (e.is_jav) return bT(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -26985,29 +26985,29 @@ function bne(e, t, n, i, a) {
} : e.has_thumb || e.has_local_poster ? {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${o}">`
- } : ST;
+ } : yT;
}
//#endregion
//#region src/react/components/media-card.tsx
-var wT = .75, xne = 9 / 16;
-function TT({ name: e }) {
+var xT = .75, wne = 9 / 16;
+function ST({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var Sne = {
+var Tne = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Cne = (e) => e.is_jav ? "女优" : "艺人";
-function wne(e, t, n) {
- return t === "short" || n.portrait ? xne : n.active && e.is_jav && n.size === "big" ? wT : 16 / 9;
+}, Ene = (e) => e.is_jav ? "女优" : "艺人";
+function Dne(e, t, n) {
+ return t === "short" || n.portrait ? wne : n.active && e.is_jav && n.size === "big" ? xT : 16 / 9;
}
-function Tne(e, t) {
- let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Cne(e);
+function One(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Ene(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27053,7 +27053,7 @@ function Tne(e, t) {
})
};
}
-function Ene() {
+function kne() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27072,7 +27072,7 @@ function Ene() {
})]
});
}
-function Dne({ item: e, actions: t }) {
+function Ane({ item: e, actions: t }) {
let [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-later": "",
@@ -27090,15 +27090,15 @@ function Dne({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function ET(e, t) {
+function CT(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function jne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, I.useRef)(null), f = (0, I.useRef)({
item: e,
helpers: c
@@ -27110,7 +27110,7 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
let p = (0, I.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = bne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = Tne(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = Cne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = One(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27144,7 +27144,7 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
u(e, r);
}, O = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(wne(e, t, n)) },
+ style: { "--card-ratio": String(Dne(e, t, n)) },
children: [
_.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": _.kind,
@@ -27159,11 +27159,11 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-group": "",
@@ -27190,8 +27190,8 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, L.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, L.jsx)(Ene, {}),
- /* @__PURE__ */ (0, L.jsx)(Dne, {
+ /* @__PURE__ */ (0, L.jsx)(kne, {}),
+ /* @__PURE__ */ (0, L.jsx)(Ane, {
item: e,
actions: l
}),
@@ -27201,27 +27201,27 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), ET(d.current, -s);
+ e.stopPropagation(), CT(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), ET(d.current, s);
+ e.stopPropagation(), CT(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "expand" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: "expand" })
})
]
})
@@ -27297,8 +27297,8 @@ function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
]
});
}
-function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Sne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function Mne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Tne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27324,7 +27324,7 @@ function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -27336,11 +27336,11 @@ function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -27350,7 +27350,7 @@ function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
onClick: _,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: w(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
+ children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: w(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -27359,7 +27359,7 @@ function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)(TT, { name: m })
+ children: /* @__PURE__ */ (0, L.jsx)(ST, { name: m })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", {
@@ -27388,14 +27388,14 @@ function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
})]
});
}
-function Ane(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(kne, { ...e }) : /* @__PURE__ */ (0, L.jsx)(One, { ...e });
+function Nne(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(Mne, { ...e }) : /* @__PURE__ */ (0, L.jsx)(jne, { ...e });
}
-var DT = (0, I.memo)(Ane), jne = { "text-aa": 1.435 }, OT = /* @__PURE__ */ new Map();
-function kT(e) {
- let t = OT.get(e);
+var wT = (0, I.memo)(Nne), Pne = { "text-aa": 1.435 }, TT = /* @__PURE__ */ new Map();
+function ET(e) {
+ let t = TT.get(e);
if (t) return t;
- let n = jne[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = Pne[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27409,16 +27409,16 @@ function kT(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, OT.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, TT.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var Mne = 1100, Nne = 340, Pne = 5e3;
-function Fne(e, t) {
+var Fne = 1100, Ine = 340, Lne = 5e3;
+function Rne(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, Pne);
+ }, o = () => a(!1), s = setTimeout(o, Lne);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -27428,7 +27428,7 @@ function Fne(e, t) {
}, r.src = e;
});
}
-function Ine({ load: e, canFlip: t }) {
+function zne({ load: e, canFlip: t }) {
let [n, r] = (0, I.useState)([]), [i, a] = (0, I.useState)(0), [o, s] = (0, I.useState)(null), c = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27470,11 +27470,11 @@ function Ine({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => Fne(t, e)));
+ let o = await Promise.all(i.map((t) => Rne(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, Mne);
+ f(), e.cycle = setInterval(f, Fne);
}));
};
return (0, I.useEffect)(() => u, [u]), {
@@ -27483,7 +27483,7 @@ function Ine({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Nne, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Ine, () => {
e.armed = null, p();
});
},
@@ -27494,8 +27494,8 @@ function Ine({ load: e, canFlip: t }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var AT = kT("play");
-function Lne({ src: e }) {
+var DT = ET("play");
+function Bne({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27506,8 +27506,8 @@ function Lne({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var jT = "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 Rne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var OT = "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 Vne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
@@ -27515,18 +27515,18 @@ function Rne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${jT} cursor-pointer outline-none`,
+ className: `${OT} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${jT} mt-0.5`,
+ className: `${OT} mt-0.5`,
children: t
});
}
-function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
- let y = Ine({
+function kT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
+ let y = zne({
load: i,
canFlip: a
}), b = (0, I.useRef)(y.onPointerLeave);
@@ -27556,7 +27556,7 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
p?.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": p.kind,
dangerouslySetInnerHTML: { __html: p.html }
- }) : r ? /* @__PURE__ */ (0, L.jsx)(Lne, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(Bne, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27586,7 +27586,7 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, L.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, L.jsx)(AT, {
+ children: [/* @__PURE__ */ (0, L.jsx)(DT, {
"aria-hidden": !0,
className: "size-3.75"
}), h ?? `${n} 个视频`]
@@ -27599,8 +27599,8 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
g ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, L.jsx)(AT, {})
- }) : /* @__PURE__ */ (0, L.jsx)(Rne, {
+ children: /* @__PURE__ */ (0, L.jsx)(DT, {})
+ }) : /* @__PURE__ */ (0, L.jsx)(Vne, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -27625,21 +27625,21 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var NT = "";
-function zne(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Vne, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(Hne, { ...e }, t);
+var AT = "";
+function Hne(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Wne, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${pT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, L.jsx)(Gne, { ...e }, t);
}
-function Bne({ name: e }) {
+function Une({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function Vne(e) {
- let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(DT, {
+function Wne(e) {
+ let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(wT, {
item: i,
variant: r,
layout: e.layout,
@@ -27659,8 +27659,8 @@ function Vne(e) {
children: i
});
}
-function Hne(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vT(e) : _T(e), s = jt({
+function Gne(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? hT(e) : mT(e), s = jt({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -27672,7 +27672,7 @@ function Hne(e) {
(0, I.useEffect)(() => {
s.isPending || c.current || (c.current = !0, e.settled?.(e.revision));
}, [s.isPending]);
- let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => gne(s.data?.pages || [], {
+ let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => yne(s.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -27682,14 +27682,14 @@ function Hne(e) {
e.mix,
a,
r.javImage
- ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = bT(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = Wne(e, s.data, l, u, h);
+ ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = _T(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = qne(e, s.data, l, u, h);
(0, I.useLayoutEffect)(() => {
if (!s.data) return;
e.onCount?.(p, f);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${p.toLocaleString()} 个符合 · 显示 ${f}`;
- NT && (t.dataset.popCount = NT), NT = n, S(t, n);
+ AT && (t.dataset.popCount = AT), AT = n, S(t, n);
}, [
s.data,
p,
@@ -27698,12 +27698,12 @@ function Hne(e) {
let _ = (0, I.useCallback)((e, t) => n.open(e, t), [n]), v = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, I.useCallback)((e) => n.openShort(e), [n]), b = (0, I.useCallback)(async () => {
let e = await s.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [s.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Kne, {
+ }, [s.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Yne, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(DT, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(wT, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -27720,7 +27720,7 @@ function Hne(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (s.isPending) return null;
- if (!s.data) return /* @__PURE__ */ (0, L.jsx)(xT, {
+ if (!s.data) return /* @__PURE__ */ (0, L.jsx)(vT, {
message: d(s.error),
onRetry: () => void s.refetch()
});
@@ -27737,15 +27737,15 @@ function Hne(e) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: yne(l, g).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: Sne(l, g).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(x)
- }), t.strip ? /* @__PURE__ */ (0, L.jsx)(Gne, {
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(Jne, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Une, {
+ }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Kne, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -27753,7 +27753,7 @@ function Hne(e) {
})()]
});
}
-function Une({ entity: e, load: t, enabled: n }) {
+function Kne({ entity: e, load: t, enabled: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(!1), a = (0, I.useRef)(!1), [o, s] = (0, I.useState)({
busy: !1,
error: ""
@@ -27814,12 +27814,12 @@ function Une({ entity: e, load: t, enabled: n }) {
...f,
onClick: () => void l(!0),
dangerouslySetInnerHTML: { __html: v("继续载入中…") }
- }), o.error ? /* @__PURE__ */ (0, L.jsx)(xT, {
+ }), o.error ? /* @__PURE__ */ (0, L.jsx)(vT, {
message: o.error,
onRetry: () => void l(!0)
}) : null] });
}
-function Wne(e, t, n, r, i) {
+function qne(e, t, n, r, i) {
let [a, o] = (0, I.useState)([]), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(0), u = (0, I.useRef)(0), d = (0, I.useRef)([]);
return (0, I.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, I.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -27828,7 +27828,7 @@ function Wne(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- Nw(`/api/items?${vne(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ Aw(`/api/items?${xne(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -27844,7 +27844,7 @@ function Wne(e, t, n, r, i) {
}, [t]), (0, I.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = _ne(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = bne(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -27854,7 +27854,7 @@ function Wne(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Gne({ cut: e, props: t, onOpen: n }) {
+function Jne({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -27870,12 +27870,12 @@ function Gne({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(Bne, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(Une, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, L.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(DT, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(wT, {
item: e,
variant: "short",
layout: t.layout,
@@ -27889,9 +27889,9 @@ function Gne({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function PT(e, t, n, r) {
+function jT(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? CT(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? bT(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -27899,18 +27899,18 @@ function PT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function Kne({ seed: e, layout: t, helpers: n, actions: r }) {
+function Yne({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, I.useRef)(/* @__PURE__ */ new Map()), a = (0, I.useRef)(t);
a.current = t;
- let o = mne(e, n.tagLabel), s = (0, I.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => yT(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), PT(e, t, !0, n).html])), o.map((e) => String(e.id));
+ let o = _ne(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => gT(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(o.map((e) => [String(e.id), jT(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
]), c = t.active && !!e.is_jav;
- return /* @__PURE__ */ (0, L.jsx)(MT, {
+ return /* @__PURE__ */ (0, L.jsx)(kT, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -27919,8 +27919,8 @@ function Kne({ seed: e, layout: t, helpers: n, actions: r }) {
glyph: !0,
wholeCard: !0,
poster: null,
- artwork: PT(e, t, !1, n),
- ratio: c && t.size === "big" ? wT : 16 / 9,
+ artwork: jT(e, t, !1, n),
+ ratio: c && t.size === "big" ? xT : 16 / 9,
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -27933,12 +27933,12 @@ function Kne({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var FT = Symbol("default");
-function IT({ values: e, children: t }) {
+var MT = Symbol("default");
+function NT({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ I.createElement(n.Provider, { value: r }, t);
return t;
}
-function LT(e) {
+function PT(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, I.useMemo)(() => {
let e, l, u;
@@ -27972,11 +27972,11 @@ function LT(e) {
c
]);
}
-function RT(e, t) {
+function FT(e, t) {
let n = (0, I.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || FT;
+ let e = t || MT;
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}.`);
@@ -27985,8 +27985,8 @@ function RT(e, t) {
}
return n;
}
-function zT(e, t, n) {
- let { ref: r, ...i } = RT(n, e.slot) || {}, a = oh((0, I.useMemo)(() => Vm(t, r), [t, r])), o = H(i, e);
+function IT(e, t, n) {
+ let { ref: r, ...i } = FT(n, e.slot) || {}, a = oh((0, I.useMemo)(() => Vm(t, r), [t, r])), o = H(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,
@@ -28004,7 +28004,7 @@ function zT(e, t, n) {
...e.style
}), [o, a];
}
-function BT(e = !0) {
+function LT(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -28012,12 +28012,12 @@ function BT(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function VT(e) {
+function RT(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function qne(e, t, n) {
+function Xne(e, t, n) {
let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => Vm(n, a), [n, a]);
gp(() => {}, [e, r]);
let s = {
@@ -28026,19 +28026,19 @@ function qne(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ I.createElement(e, s);
}
-var HT = {}, UT = new Proxy({}, { get(e, t) {
+var zT = {}, BT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = HT[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(qne.bind(null, t)), HT[t] = n), n;
-} }), WT = /*#__PURE__*/ (0, I.createContext)(null), GT = /*#__PURE__*/ (0, I.createContext)(null), KT = /*#__PURE__*/ (0, I.createContext)(null), qT = {
+ let n = zT[t];
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(Xne.bind(null, t)), zT[t] = n), n;
+} }), VT = /*#__PURE__*/ (0, I.createContext)(null), HT = /*#__PURE__*/ (0, I.createContext)(null), UT = /*#__PURE__*/ (0, I.createContext)(null), WT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return JT(e, null, t);
+ return GT(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return JT(e, t, n);
+ return GT(e, t, n);
}
};
-function JT(e, t, n) {
+function GT(e, t, n) {
return zf({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -28049,11 +28049,11 @@ function JT(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, Jne(e, t, n));
+ }), r, Zne(e, t, n));
}
});
}
-function Jne(e, t, n) {
+function Zne(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -28072,25 +28072,25 @@ function Jne(e, t, n) {
}
return s;
}
-var YT = /*#__PURE__*/ (0, I.createContext)(qT);
-function XT(e) {
+var KT = /*#__PURE__*/ (0, I.createContext)(WT);
+function qT(e) {
return (0, I.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var ZT = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, ZT);
- let { elementType: n = "label", ...r } = e, i = UT[n];
+var JT = /*#__PURE__*/ (0, I.createContext)({}), Qne = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, JT);
+ let { elementType: n = "label", ...r } = e, i = BT[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Xne = /*#__PURE__*/ (0, I.createContext)(null), QT = /*#__PURE__*/ (0, I.createContext)({}), $T = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, QT);
+}), $ne = /*#__PURE__*/ (0, I.createContext)(null), YT = /*#__PURE__*/ (0, I.createContext)({}), XT = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, YT);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ig(e, t);
- i = Qne(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = ly(e), { hoverProps: l, isHovered: u } = hy({
+ i = tre(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = oy(e), { hoverProps: l, isHovered: u } = fy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -28100,7 +28100,7 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ ph(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = LT({
+ }, f = PT({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -28117,7 +28117,7 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ ph(function
p
]);
let _ = hg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ I.createElement(UT.button, {
+ return delete _.onClick, /*#__PURE__*/ I.createElement(BT.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -28131,62 +28131,62 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ ph(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(Xne.Provider, { value: { id: m } }, f.children));
-}), Zne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Qne(e, t) {
+ }, /*#__PURE__*/ I.createElement($ne.Provider, { value: { id: m } }, f.children));
+}), ere = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function tre(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Zne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !ere.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var eE = /*#__PURE__*/ (0, I.createContext)({}), tE = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, eE);
- let { children: n, level: r = 3, className: i, ...a } = e, o = UT[`h${r}`];
+var ZT = /*#__PURE__*/ (0, I.createContext)({}), QT = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, ZT);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = BT[`h${r}`];
return /*#__PURE__*/ I.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), nE = /*#__PURE__*/ (0, I.createContext)({}), $ne = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, nE);
- let { elementType: n = "span", ...r } = e, i = UT[n];
+}), $T = /*#__PURE__*/ (0, I.createContext)({}), nre = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, $T);
+ let { elementType: n = "span", ...r } = e, i = BT[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), rE = /*#__PURE__*/ (0, I.createContext)(null), iE = /*#__PURE__*/ (0, I.createContext)(null), aE = /*#__PURE__*/ (0, I.createContext)(null), oE = /*#__PURE__*/ (0, I.createContext)(null), ere = /*#__PURE__*/ (0, I.createContext)(null), sE = /*#__PURE__*/ (0, I.createContext)(null);
-function tre(e, t) {
- let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(ere), a = oh((0, I.useMemo)(() => Vm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...VT(e),
+}), eE = /*#__PURE__*/ (0, I.createContext)(null), tE = /*#__PURE__*/ (0, I.createContext)(null), nE = /*#__PURE__*/ (0, I.createContext)(null), rE = /*#__PURE__*/ (0, I.createContext)(null), rre = /*#__PURE__*/ (0, I.createContext)(null), iE = /*#__PURE__*/ (0, I.createContext)(null);
+function ire(e, t) {
+ let { validationBehavior: n } = FT(tE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(rre), a = oh((0, I.useMemo)(() => Vm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...RT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? Eee(o, i, a) : I_(o, V_(e), a), a];
}
-var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var are = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zT(r, t, aE);
- let [i, a] = tre(e, n);
- return /*#__PURE__*/ I.createElement(sE.Provider, { value: {
+ [e, t] = IT(r, t, nE);
+ let [i, a] = ire(e, n);
+ return /*#__PURE__*/ I.createElement(iE.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(rre, {
+ } }, /*#__PURE__*/ I.createElement(ore, {
...e,
ref: t
}));
-}), rre = /*#__PURE__*/ (0, I.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, I.useContext)(sE), { isFocused: p, isFocusVisible: m, focusProps: h } = ly(), g = a || o, { hoverProps: _, isHovered: v } = hy({
+}), ore = /*#__PURE__*/ (0, I.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, I.useContext)(iE), { isFocused: p, isFocusVisible: m, focusProps: h } = oy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: g
- }), y = LT({
+ }), y = PT({
...e,
defaultClassName: u,
values: {
@@ -28202,7 +28202,7 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = hg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(BT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28220,16 +28220,16 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
...H(r, h),
ref: l
})), y.children);
-}), cE = /*#__PURE__*/ (0, I.createContext)({}), ire = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, cE);
+}), aE = /*#__PURE__*/ (0, I.createContext)({}), sre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, aE);
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 } = hy({
+ let { hoverProps: l, isHovered: u } = fy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ly({ within: !0 }), m = LT({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = oy({ within: !0 }), m = PT({
...e,
values: {
isHovered: u,
@@ -28240,7 +28240,7 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(BT.div, {
...H(c, p, l),
...m,
ref: t,
@@ -28253,18 +28253,18 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), lE = /*#__PURE__*/ (0, I.createContext)({}), are = (e) => {
+}), oE = /*#__PURE__*/ (0, I.createContext)({}), cre = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, ore = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, lE);
- let { hoverProps: n, isHovered: r } = hy({
+}, lre = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, oE);
+ let { hoverProps: n, isHovered: r } = fy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = ly({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = oy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LT({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = PT({
...e,
values: {
isHovered: r,
@@ -28275,8 +28275,8 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ I.createElement(UT.input, {
- ...H(are(e), o, n),
+ return /*#__PURE__*/ I.createElement(BT.input, {
+ ...H(cre(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28285,8 +28285,8 @@ var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), uE = {};
-uE = {
+}), sE = {};
+sE = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -28294,8 +28294,8 @@ uE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var dE = {};
-dE = {
+var cE = {};
+cE = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -28303,8 +28303,8 @@ dE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var fE = {};
-fE = {
+var lE = {};
+lE = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -28312,8 +28312,8 @@ fE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var pE = {};
-pE = {
+var uE = {};
+uE = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -28321,8 +28321,8 @@ pE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var mE = {};
-mE = {
+var dE = {};
+dE = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -28330,8 +28330,8 @@ mE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var hE = {};
-hE = {
+var fE = {};
+fE = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -28339,8 +28339,8 @@ hE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var gE = {};
-gE = {
+var pE = {};
+pE = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -28348,8 +28348,8 @@ gE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var _E = {};
-_E = {
+var mE = {};
+mE = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -28357,8 +28357,8 @@ _E = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var vE = {};
-vE = {
+var hE = {};
+hE = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -28366,8 +28366,8 @@ vE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var yE = {};
-yE = {
+var gE = {};
+gE = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -28375,8 +28375,8 @@ yE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var bE = {};
-bE = {
+var _E = {};
+_E = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -28384,8 +28384,8 @@ bE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var xE = {};
-xE = {
+var vE = {};
+vE = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -28393,8 +28393,8 @@ xE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var SE = {};
-SE = {
+var yE = {};
+yE = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -28402,8 +28402,8 @@ SE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var CE = {};
-CE = {
+var bE = {};
+bE = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -28411,8 +28411,8 @@ CE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var wE = {};
-wE = {
+var xE = {};
+xE = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -28420,8 +28420,8 @@ wE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var TE = {};
-TE = {
+var SE = {};
+SE = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -28429,8 +28429,8 @@ TE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var EE = {};
-EE = {
+var CE = {};
+CE = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -28438,8 +28438,8 @@ EE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var DE = {};
-DE = {
+var wE = {};
+wE = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -28447,8 +28447,8 @@ DE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var OE = {};
-OE = {
+var TE = {};
+TE = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -28456,8 +28456,8 @@ OE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var kE = {};
-kE = {
+var EE = {};
+EE = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -28465,8 +28465,8 @@ kE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var AE = {};
-AE = {
+var DE = {};
+DE = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -28474,8 +28474,8 @@ AE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var jE = {};
-jE = {
+var OE = {};
+OE = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -28483,8 +28483,8 @@ jE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var ME = {};
-ME = {
+var kE = {};
+kE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28492,8 +28492,8 @@ ME = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var NE = {};
-NE = {
+var AE = {};
+AE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28501,8 +28501,8 @@ NE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var PE = {};
-PE = {
+var jE = {};
+jE = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -28510,8 +28510,8 @@ PE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var FE = {};
-FE = {
+var ME = {};
+ME = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -28519,8 +28519,8 @@ FE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var IE = {};
-IE = {
+var NE = {};
+NE = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -28528,8 +28528,8 @@ IE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var LE = {};
-LE = {
+var PE = {};
+PE = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -28537,8 +28537,8 @@ LE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var RE = {};
-RE = {
+var FE = {};
+FE = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -28546,8 +28546,8 @@ RE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var zE = {};
-zE = {
+var IE = {};
+IE = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -28555,8 +28555,8 @@ zE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var BE = {};
-BE = {
+var LE = {};
+LE = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -28564,8 +28564,8 @@ BE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var VE = {};
-VE = {
+var RE = {};
+RE = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -28573,8 +28573,8 @@ VE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var HE = {};
-HE = {
+var zE = {};
+zE = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -28582,8 +28582,8 @@ HE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var UE = {};
-UE = {
+var BE = {};
+BE = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -28591,52 +28591,52 @@ UE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var WE = {};
-WE = {
- "ar-AE": uE,
- "bg-BG": dE,
- "cs-CZ": fE,
- "da-DK": pE,
- "de-DE": mE,
- "el-GR": hE,
- "en-US": gE,
- "es-ES": _E,
- "et-EE": vE,
- "fi-FI": yE,
- "fr-FR": bE,
- "he-IL": xE,
- "hr-HR": SE,
- "hu-HU": CE,
- "it-IT": wE,
- "ja-JP": TE,
- "ko-KR": EE,
- "lt-LT": DE,
- "lv-LV": OE,
- "nb-NO": kE,
- "nl-NL": AE,
- "pl-PL": jE,
- "pt-BR": ME,
- "pt-PT": NE,
- "ro-RO": PE,
- "ru-RU": FE,
- "sk-SK": IE,
- "sl-SI": LE,
- "sr-SP": RE,
- "sv-SE": zE,
- "tr-TR": BE,
- "uk-UA": VE,
- "zh-CN": HE,
- "zh-TW": UE
+var VE = {};
+VE = {
+ "ar-AE": sE,
+ "bg-BG": cE,
+ "cs-CZ": lE,
+ "da-DK": uE,
+ "de-DE": dE,
+ "el-GR": fE,
+ "en-US": pE,
+ "es-ES": mE,
+ "et-EE": hE,
+ "fi-FI": gE,
+ "fr-FR": _E,
+ "he-IL": vE,
+ "hr-HR": yE,
+ "hu-HU": bE,
+ "it-IT": xE,
+ "ja-JP": SE,
+ "ko-KR": CE,
+ "lt-LT": wE,
+ "lv-LV": TE,
+ "nb-NO": EE,
+ "nl-NL": DE,
+ "pl-PL": OE,
+ "pt-BR": kE,
+ "pt-PT": AE,
+ "ro-RO": jE,
+ "ru-RU": ME,
+ "sk-SK": NE,
+ "sl-SI": PE,
+ "sr-SP": FE,
+ "sv-SE": IE,
+ "tr-TR": LE,
+ "uk-UA": RE,
+ "zh-CN": zE,
+ "zh-TW": BE
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var GE = /*#__PURE__*/ (0, I.createContext)({}), KE = /*#__PURE__*/ (0, I.createContext)(null), sre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { render: n } = (0, I.useContext)(KE);
+var HE = /*#__PURE__*/ (0, I.createContext)({}), UE = /*#__PURE__*/ (0, I.createContext)(null), ure = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { render: n } = (0, I.useContext)(UE);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
-function qE(e, t) {
+function WE(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, I.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(sre, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(ure, { target: e });
}, [
t?.target,
r,
@@ -28644,7 +28644,7 @@ function qE(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function JE(e, t, n) {
+function GE(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;
@@ -28667,14 +28667,14 @@ function JE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var YE = /*#__PURE__*/ (0, I.createContext)({}), cre = /*#__PURE__*/ (0, I.createContext)(null);
-function XE(e) {
+var KE = /*#__PURE__*/ (0, I.createContext)({}), dre = /*#__PURE__*/ (0, I.createContext)(null);
+function qE(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement(cre.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(dre.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE__*/ (0, I.createContext)({}), lre = /*#__PURE__*/ jh(class extends kf {
+var JE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), YE = /*#__PURE__*/ (0, I.createContext)({}), fre = /*#__PURE__*/ jh(class extends kf {
static {
this.type = "separator";
}
@@ -28687,10 +28687,10 @@ var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = zT(e, t, QE);
+ [e, t] = IT(e, t, YE);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = UT[c], { separatorProps: u } = hte({
+ let l = BT[c], { separatorProps: u } = vte({
...s,
elementType: n,
orientation: r
@@ -28706,13 +28706,13 @@ var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function $E(e) {
+function XE(e) {
let t = I.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 eD = class {
+var ZE = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -28756,20 +28756,20 @@ var eD = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, tD = class e extends Set {
+}, QE = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function ure(e, t) {
+function pre(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function nD(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = B_((0, I.useMemo)(() => rD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => rD(e.defaultSelectedKeys, new tD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
+function $E(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = B_((0, I.useMemo)(() => eD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => eD(e.defaultSelectedKeys, new QE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
@@ -28796,18 +28796,18 @@ function nD(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !ure(e, d)) && f(e);
+ (r || !pre(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function rD(e, t) {
- return e ? e === "all" ? "all" : new tD(e) : t;
+function eD(e, t) {
+ return e ? e === "all" ? "all" : new QE(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var iD = class e {
+var tD = 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;
}
@@ -28863,7 +28863,7 @@ var iD = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Zv(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Jv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28871,7 +28871,7 @@ var iD = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Zv(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Jv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28890,10 +28890,10 @@ var iD = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new tD([t], t, t);
+ if (this.state.selectedKeys === "all") n = new QE([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new tD(e, r, t);
+ n = new QE(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);
}
@@ -28901,7 +28901,7 @@ var iD = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Zv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Jv(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);
@@ -28927,19 +28927,19 @@ var iD = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new tD(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new QE(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 tD([t], t, t) : new tD();
+ let n = this.canSelectItem(t) ? new QE([t], t, t) : new QE();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new tD();
+ let t = new QE();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -28951,7 +28951,7 @@ var iD = 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(Jv(qv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Gv(Wv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -28962,7 +28962,7 @@ var iD = 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 tD());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new QE());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -29003,9 +29003,9 @@ var iD = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, dre = class {
+}, mre = class {
build(e, t) {
- return this.context = t, aD(() => this.iterateCollection(e));
+ return this.context = t, nD(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -29087,10 +29087,10 @@ var iD = class e {
...a,
key: l,
index: s,
- wrapper: fre(e.wrapper, a.wrapper)
+ wrapper: hre(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 <${oD(t.type)}> in <${oD(r?.type ?? "unknown parent type")}>. Only <${oD(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 <${rD(t.type)}> in <${rD(r?.type ?? "unknown parent type")}>. Only <${rD(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -29112,7 +29112,7 @@ var iD = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: aD(function* () {
+ childNodes: nD(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -29131,7 +29131,7 @@ var iD = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function aD(e) {
+function nD(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -29139,18 +29139,18 @@ function aD(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function fre(e, t) {
+function hre(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function oD(e) {
+function rD(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function sD(e, t, n) {
- let r = (0, I.useMemo)(() => new dre(), []), { children: i, items: a, collection: o } = e;
+function iD(e, t, n) {
+ let r = (0, I.useMemo)(() => new mre(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29165,27 +29165,27 @@ function sD(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function cD(e) {
- let { filter: t, layoutDelegate: n } = e, r = nD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sD(e, (0, I.useCallback)((e) => t ? new eD(t(e)) : new eD(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new iD(a, r, { layoutDelegate: n }), [
+function aD(e) {
+ let { filter: t, layoutDelegate: n } = e, r = $E(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = iD(e, (0, I.useCallback)((e) => t ? new ZE(t(e)) : new ZE(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new tD(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return lD(a, o), {
+ return oD(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function pre(e, t) {
+function gre(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return lD(n, r), {
+ return oD(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function lD(e, t) {
+function oD(e, t) {
let n = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -29213,7 +29213,7 @@ function lD(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function uD(e, t) {
+function sD(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = qh((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -29237,42 +29237,42 @@ function uD(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var dD = /*#__PURE__*/ (0, I.createContext)(null), fD = /*#__PURE__*/ (0, I.createContext)(null), mre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, dD);
- let n = (0, I.useContext)(fD);
- return n ? /*#__PURE__*/ I.createElement(pD, {
+var cD = /*#__PURE__*/ (0, I.createContext)(null), lD = /*#__PURE__*/ (0, I.createContext)(null), _re = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, cD);
+ let n = (0, I.useContext)(lD);
+ return n ? /*#__PURE__*/ I.createElement(uD, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(hre, {
+ }) : /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(vre, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function hre({ props: e, listBoxRef: t, collection: n }) {
+function vre({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, I.useContext)(YT), i = cD({
+ let { layoutDelegate: r } = (0, I.useContext)(KT), i = aD({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ I.createElement(pD, {
+ return /*#__PURE__*/ I.createElement(uD, {
state: i,
props: e,
listBoxRef: t
});
}
-function pD({ state: e, props: t, listBoxRef: n }) {
- [t, n] = zT(t, n, WT);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = pre(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = ny({
+function uD({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = IT(t, n, VT);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = gre(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = $v({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(YT), b = (0, I.useMemo)(() => t.keyboardDelegate || new tv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(KT), b = (0, I.useMemo)(() => t.keyboardDelegate || new tv({
collection: c,
collator: h,
ref: n,
@@ -29293,7 +29293,7 @@ function pD({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = qee({
+ ]), { listBoxProps: x } = Xee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -29325,7 +29325,7 @@ function pD({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = ly(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = oy(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -29333,7 +29333,7 @@ function pD({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = LT({
+ }, N = PT({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -29344,7 +29344,7 @@ function pD({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let te = hg(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(BT.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -29355,55 +29355,55 @@ function pD({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [dD, t],
- [fD, s],
- [GE, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [cD, t],
+ [lD, s],
+ [HE, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [QE, { elementType: "div" }],
- [KE, { render: vre }],
- [KT, {
+ [YE, { elementType: "div" }],
+ [UE, { render: xre }],
+ [UT, {
name: "ListBoxSection",
- render: gre
+ render: yre
}]
- ] }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(y, {
+ ] }, /*#__PURE__*/ I.createElement(qE, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: JE(l, r, C),
- renderDropIndicator: qE(r, C)
+ persistedKeys: GE(l, r, C),
+ renderDropIndicator: WE(r, C)
}))), ee, E));
}
-function gre(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(fD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(GE), { CollectionBranch: s } = (0, I.useContext)(YT), [c, l] = BT(), { headingProps: u, groupProps: d } = ab({
+function yre(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(lD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(HE), { CollectionBranch: s } = (0, I.useContext)(KT), [c, l] = LT(), { headingProps: u, groupProps: d } = Zee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = LT({
+ }), f = PT({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = hg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ I.createElement(UT.section, {
+ return delete p.id, /*#__PURE__*/ I.createElement(BT.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ I.createElement(YE.Provider, { value: {
+ }, /*#__PURE__*/ I.createElement(KE.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ I.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: qE(a, o)
+ renderDropIndicator: WE(a, o)
})));
}
-var _re = /*#__PURE__*/ jh(Mf, function(e, t, n) {
- let r = oh(t), i = (0, I.useContext)(fD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = ob({
+var bre = /*#__PURE__*/ jh(Mf, function(e, t, n) {
+ let r = oh(t), i = (0, I.useContext)(lD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(HE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nb({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = hy({
+ }, i, r), { hoverProps: p, isHovered: m } = fy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -29419,7 +29419,7 @@ var _re = /*#__PURE__*/ jh(Mf, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = LT({
+ let y = o && o.isDragging(n.key), b = PT({
...e,
id: void 0,
children: e.children,
@@ -29437,7 +29437,7 @@ var _re = /*#__PURE__*/ jh(Mf, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? UT.a : UT.div, S = hg(e, { global: !0 });
+ let x = e.href ? BT.a : BT.div, S = hg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ I.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -29451,29 +29451,29 @@ var _re = /*#__PURE__*/ jh(Mf, 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__*/ I.createElement(IT, { values: [[nE, { slots: {
- [FT]: u,
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[$T, { slots: {
+ [MT]: u,
label: u,
description: d
- } }], [ZE, { isSelected: f.isSelected }]] }, b.children));
+ } }], [JE, { isSelected: f.isSelected }]] }, b.children));
});
-function vre(e, t) {
+function xre(e, t) {
t = oh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(bre, {
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(HE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ I.createElement(Cre, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function yre(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LT({
+function Sre(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = PT({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BT.div, {
...n,
...a,
role: "option",
@@ -29481,10 +29481,10 @@ function yre(e, t) {
"data-drop-target": r || void 0
}));
}
-var bre = /*#__PURE__*/ (0, I.forwardRef)(yre);
+var Cre = /*#__PURE__*/ (0, I.forwardRef)(Sre);
jh(jf, function(e, t, n) {
- let r = (0, I.useContext)(fD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- uD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(lD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ sD((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29494,7 +29494,7 @@ jh(jf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LT({
+ let l = PT({
...s,
id: void 0,
children: n.rendered,
@@ -29507,7 +29507,7 @@ jh(jf, function(e, t, n) {
width: 0,
height: 0
},
- inert: $E(!0)
+ inert: XE(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29516,7 +29516,7 @@ jh(jf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BT.div, {
...H(hg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -29525,10 +29525,10 @@ jh(jf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var xre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var wre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function mD(e) {
+function dD(e) {
let [t, n] = B_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
@@ -29548,13 +29548,13 @@ function mD(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function hD(e, t = !0) {
+function fD(e, t = !0) {
let [n, r] = (0, I.useState)(!0), i = n && t;
return gp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), _D(e, i, (0, I.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), mD(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
-function gD(e, t) {
+function pD(e, t) {
let [n, r] = (0, I.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -29564,11 +29564,11 @@ function gD(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return _D(e, i, (0, I.useCallback)(() => {
+ return mD(e, i, (0, I.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function _D(e, t, n) {
+function mD(e, t, n) {
gp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -29597,9 +29597,9 @@ function _D(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.createContext)(null), bD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, vD);
- let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = mh(), { direction: c } = ag();
+var hD = /*#__PURE__*/ (0, I.createContext)(null), gD = /*#__PURE__*/ (0, I.createContext)(null), _D = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, hD);
+ let n = (0, I.useContext)(DD), r = dD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = pD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = mh(), { direction: c } = ag();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -29610,7 +29610,7 @@ var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Sre, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Tre, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -29619,13 +29619,13 @@ var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function Sre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(yD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = lte({
+function Tre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(gD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = fte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = hD(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = LT({
+ }, e), m = i.popoverRef, h = fD(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = PT({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -29651,7 +29651,7 @@ function Sre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, I.useState)(null), w = (0, I.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- gp(w, [w]), fb({
+ gp(w, [w]), cb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -29660,7 +29660,7 @@ function Sre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ I.createElement(UT.div, {
+ }, E = /*#__PURE__*/ I.createElement(BT.div, {
...H(hg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
@@ -29676,17 +29676,17 @@ function Sre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ I.createElement(Jb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(xre.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(Gb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(wre.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(Jb, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(sy, {
+ } }, x), /*#__PURE__*/ I.createElement(Gb, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ I.createElement(iy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ I.createElement(sy, {
+ }, E) : /*#__PURE__*/ I.createElement(iy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -29701,15 +29701,15 @@ function Sre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ I.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ I.createElement(yD.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ I.createElement(gD.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Cre = /*#__PURE__*/ (0, I.createContext)({});
+var Ere = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function xD(e) {
- let t = mD(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
+function vD(e) {
+ let t = dD(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -29735,7 +29735,7 @@ function xD(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var wre = class {
+var Dre = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -29779,8 +29779,8 @@ var wre = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Tre(e) {
- let { onExpandedChange: t } = e, [n, r] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nD(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sD(e, (0, I.useCallback)((e) => new wre(e, { expandedKeys: n }), [n]), null);
+function Ore(e) {
+ let { onExpandedChange: t } = e, [n, r] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = $E(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = iD(e, (0, I.useCallback)((e) => new Dre(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -29788,32 +29788,32 @@ function Tre(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Ere(n, e));
+ r(kre(n, e));
},
setExpandedKeys: r,
- selectionManager: new iD(o, i)
+ selectionManager: new tD(o, i)
};
}
-function Ere(e, t) {
+function kre(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var SD = /*#__PURE__*/ (0, I.createContext)(null), CD = /*#__PURE__*/ (0, I.createContext)(null), wD = /*#__PURE__*/ (0, I.createContext)(null), TD = /*#__PURE__*/ (0, I.createContext)(null);
-function Dre(e) {
- let t = xD(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = Hv({
+var yD = /*#__PURE__*/ (0, I.createContext)(null), bD = /*#__PURE__*/ (0, I.createContext)(null), xD = /*#__PURE__*/ (0, I.createContext)(null), SD = /*#__PURE__*/ (0, I.createContext)(null);
+function Are(e) {
+ let t = vD(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = zv({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return mh() ? null : /*#__PURE__*/ I.createElement(IT, { values: [
- [SD, {
+ return mh() ? null : /*#__PURE__*/ I.createElement(NT, { values: [
+ [yD, {
...i,
ref: a
}],
- [AD, t],
- [wD, t],
- [vD, {
+ [DD, t],
+ [xD, t],
+ [hD, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -29821,13 +29821,13 @@ function Dre(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ I.createElement(Lee, {
+ ] }, /*#__PURE__*/ I.createElement(Bee, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Ore = /*#__PURE__*/ (0, I.createContext)(null);
+var jre = /*#__PURE__*/ (0, I.createContext)(null);
(class extends kf {
static {
this.type = "submenutrigger";
@@ -29841,24 +29841,24 @@ var Ore = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var kre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = zT(e, t, SD), /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(Are, {
+var Mre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = IT(e, t, yD), /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(Nre, {
props: e,
collection: n,
menuRef: t
}));
});
-function Are({ props: e, collection: t, menuRef: n }) {
- [e, n] = zT(e, n, WT);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Tre({
+function Nre({ props: e, collection: t, menuRef: n }) {
+ [e, n] = IT(e, n, VT);
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Ore({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(wD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(YT), { menuProps: u } = cb({
+ }), s = (0, I.useContext)(xD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(KT), { menuProps: u } = ib({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = LT({
+ }, o, n), d = PT({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -29869,35 +29869,35 @@ function Are({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(BT.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [CD, o],
- [QE, { elementType: "div" }],
- [KT, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [bD, o],
+ [YE, { elementType: "div" }],
+ [UT, {
name: "MenuSection",
- render: ED
+ render: CD
}],
- [Ore, {
+ [jre, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [OD, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [WT, null],
- [GT, null],
- [TD, o.selectionManager],
- [wD, s ?? xD({})]
- ] }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(l, {
+ [TD, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [VT, null],
+ [HT, null],
+ [SD, o.selectionManager],
+ [xD, s ?? vD({})]
+ ] }, /*#__PURE__*/ I.createElement(qE, null, /*#__PURE__*/ I.createElement(l, {
collection: o.collection,
- persistedKeys: XT(o.selectionManager.focusedKey),
+ persistedKeys: qT(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var jre = class extends iD {
+var Pre = class extends tD {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -29917,11 +29917,11 @@ var jre = class extends iD {
return this.parent.childFocusStrategy;
}
};
-function ED(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(CD), { CollectionBranch: a } = (0, I.useContext)(YT), [o, s] = BT(), { headingProps: c, groupProps: l } = ub({
+function CD(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, I.useContext)(bD), { CollectionBranch: a } = (0, I.useContext)(KT), [o, s] = LT(), { headingProps: c, groupProps: l } = ob({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = LT({
+ }), u = PT({
...e,
id: void 0,
children: void 0,
@@ -29929,31 +29929,31 @@ function ED(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(TD), f = nD(e), p = e.selectionMode == null ? d : new jre(d, f), m = RT(OD)?.shouldCloseOnSelect, h = hg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ I.createElement(UT.section, {
+ }), d = (0, I.useContext)(SD), f = $E(e), p = e.selectionMode == null ? d : new Pre(d, f), m = FT(TD)?.shouldCloseOnSelect, h = hg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ I.createElement(BT.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [YE, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [KE, {
...c,
ref: o
}],
- [TD, p],
- [OD, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [SD, p],
+ [TD, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ I.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var DD = /*#__PURE__*/ Mh(Nf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null), kD = /*#__PURE__*/ jh(Mf, function(e, t, n) {
- [e, t] = zT(e, t, OD);
- let r = RT(OD)?.id, i = (0, I.useContext)(CD), a = oh(t), o = (0, I.useContext)(TD), { isVirtualized: s } = (0, I.useContext)(YT), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = lb({
+var wD = /*#__PURE__*/ Mh(Nf, CD), TD = /*#__PURE__*/ (0, I.createContext)(null), ED = /*#__PURE__*/ jh(Mf, function(e, t, n) {
+ [e, t] = IT(e, t, TD);
+ let r = FT(TD)?.id, i = (0, I.useContext)(bD), a = oh(t), o = (0, I.useContext)(SD), { isVirtualized: s } = (0, I.useContext)(KT), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ab({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = hy({ isDisabled: f.isDisabled }), h = LT({
+ }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = PT({
...e,
id: void 0,
children: n.rendered,
@@ -29967,7 +29967,7 @@ var DD = /*#__PURE__*/ Mh(Nf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? UT.a : UT.div, _ = hg(e, { global: !0 });
+ }), g = e.href ? BT.a : BT.div, _ = hg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -29980,19 +29980,19 @@ var DD = /*#__PURE__*/ Mh(Nf, ED), OD = /*#__PURE__*/ (0, I.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__*/ I.createElement(IT, { values: [
- [nE, { slots: {
- [FT]: l,
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [$T, { slots: {
+ [MT]: l,
label: l,
description: u
} }],
- [Cre, d],
- [ZE, { isSelected: f.isSelected }]
+ [Ere, d],
+ [JE, { isSelected: f.isSelected }]
] }, h.children));
});
jh(jf, function(e, t, n) {
- let r = (0, I.useContext)(CD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- uD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(bD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ sD((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30002,7 +30002,7 @@ jh(jf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LT({
+ let l = PT({
...s,
id: void 0,
children: n.rendered,
@@ -30015,7 +30015,7 @@ jh(jf, function(e, t, n) {
width: 0,
height: 0
},
- inert: $E(!0)
+ inert: XE(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30024,7 +30024,7 @@ jh(jf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BT.div, {
...H(hg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -30033,56 +30033,56 @@ jh(jf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var Mre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var Fre = /*#__PURE__*/ (0, I.createContext)(null), DD = /*#__PURE__*/ (0, I.createContext)(null), OD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = zT(e, t, Mre);
- let { dialogProps: r, titleProps: i, contentProps: a } = zee({
+ [e, t] = IT(e, t, Fre);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Hee({
...e,
"aria-labelledby": n
- }, t), o = (0, I.useContext)(AD);
+ }, t), o = (0, I.useContext)(DD);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = LT({
+ let s = PT({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(UT.section, {
+ return /*#__PURE__*/ I.createElement(BT.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [eE, { slots: {
- [FT]: {},
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [ZT, { slots: {
+ [MT]: {},
title: {
...i,
level: 2
}
} }],
- [nE, { slots: {
- [FT]: {},
+ [$T, { slots: {
+ [MT]: {},
description: a
} }],
- [QT, { slots: {
- [FT]: {},
+ [YT, { slots: {
+ [MT]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), MD = typeof document < "u" && window.visualViewport;
-function Nre() {
+}), kD = typeof document < "u" && window.visualViewport;
+function Ire() {
let e = nm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
- } : ND());
+ } : AD());
return (0, I.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- MD && MD.scale > 1 || e(ND());
+ kD && kD.scale > 1 || e(AD());
}, r, i = (t) => {
- MD && MD.scale > 1 || Gh(V(t)) && (r = requestAnimationFrame(() => {
+ kD && kD.scale > 1 || Gh(V(t)) && (r = requestAnimationFrame(() => {
let t = rp();
(!t || !Gh(t)) && e({
width: document.documentElement.clientWidth,
@@ -30090,26 +30090,26 @@ function Nre() {
});
}));
};
- return e(ND()), Op() && Ap() && window.addEventListener("blur", i, !0), MD ? MD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), Op() && Ap() && window.removeEventListener("blur", i, !0), MD ? MD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(AD()), Op() && Ap() && window.addEventListener("blur", i, !0), kD ? kD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), Op() && Ap() && window.removeEventListener("blur", i, !0), kD ? kD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function ND() {
+function AD() {
return {
- width: MD ? Math.min(MD.width * MD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: MD ? MD.height * MD.scale : document.documentElement.clientHeight
+ width: kD ? Math.min(kD.width * kD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: kD ? kD.height * kD.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Pre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), Fre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- if ((0, I.useContext)(PD)) return /*#__PURE__*/ I.createElement(ID, {
+var Lre = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.createContext)(null), Rre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ if ((0, I.useContext)(jD)) return /*#__PURE__*/ I.createElement(ND, {
...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__*/ I.createElement(FD, {
+ return /*#__PURE__*/ I.createElement(MD, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -30119,15 +30119,15 @@ var Pre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ I.createElement(ID, {
+ }, /*#__PURE__*/ I.createElement(ND, {
...f,
modalRef: t
}, s));
});
-function Ire(e, t) {
- [e, t] = zT(e, t, Pre);
- let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = oh(t), o = (0, I.useRef)(null), s = gD(a, i.isOpen), c = gD(o, i.isOpen), l = s || c || e.isExiting || !1, u = nm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Lre, {
+function zre(e, t) {
+ [e, t] = IT(e, t, Lre);
+ let n = (0, I.useContext)(DD), r = dD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = oh(t), o = (0, I.useRef)(null), s = pD(a, i.isOpen), c = pD(o, i.isOpen), l = s || c || e.isExiting || !1, u = nm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Bre, {
...e,
state: i,
isExiting: l,
@@ -30135,9 +30135,9 @@ function Ire(e, t) {
modalRef: o
});
}
-var FD = /*#__PURE__*/ (0, I.forwardRef)(Ire);
-function Lre({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Zee(t, r, n), o = hD(t.overlayRef) || t.isEntering || !1, s = LT({
+var MD = /*#__PURE__*/ (0, I.forwardRef)(zre);
+function Bre({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = ete(t, r, n), o = fD(t.overlayRef) || t.isEntering || !1, s = PT({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30145,7 +30145,7 @@ function Lre({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = Nre(), l, u;
+ }), c = Ire(), l, u;
if (typeof document < "u") {
let e = __(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
@@ -30157,25 +30157,25 @@ function Lre({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ I.createElement(sy, {
+ return /*#__PURE__*/ I.createElement(iy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ I.createElement(UT.div, {
+ }, /*#__PURE__*/ I.createElement(BT.div, {
...H(hg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [[PD, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[jD, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [AD, r]] }, s.children)));
+ }], [DD, r]] }, s.children)));
}
-function ID(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(PD), a = (0, I.useContext)(AD), o = oh((0, I.useMemo)(() => Vm(e.modalRef, n), [e.modalRef, n])), s = hD(o), c = LT({
+function ND(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(jD), a = (0, I.useContext)(DD), o = oh((0, I.useMemo)(() => Vm(e.modalRef, n), [e.modalRef, n])), s = fD(o), c = PT({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30184,19 +30184,19 @@ function ID(e) {
state: a
}
});
- return /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(BT.div, {
...H(hg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(Jb, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(Gb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Rre = Math.round(Math.random() * 1e10), zre = 0;
-function Bre(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${Rre}-${++zre}`, [e.name]), [n, r] = B_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = j_({
+var Vre = Math.round(Math.random() * 1e10), Hre = 0;
+function Ure(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${Vre}-${++Hre}`, [e.name]), [n, r] = B_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = j_({
...e,
value: n
}), c = (t) => {
@@ -30219,16 +30219,16 @@ function Bre(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.createContext)(null), LD = /*#__PURE__*/ (0, I.createContext)(null), RD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, Vre);
- let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = Bre({
+var Wre = /*#__PURE__*/ (0, I.createContext)(null), Gre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), FD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, Wre);
+ let { validationBehavior: n } = FT(tE) || {}, r = e.validationBehavior ?? n ?? "native", i = Ure({
...e,
validationBehavior: r
- }), [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = dte({
+ }), [a, o] = LT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = mte({
...e,
label: o,
validationBehavior: r
- }, i), f = LT({
+ }, i), f = PT({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -30240,7 +30240,7 @@ var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(BT.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -30249,39 +30249,39 @@ var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [LD, i],
- [ZT, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [PD, i],
+ [JT, {
...c,
ref: a,
elementType: "span"
}],
- [nE, { slots: {
+ [$T, { slots: {
description: l,
errorMessage: u
} }],
- [rE, d]
- ] }, /*#__PURE__*/ I.createElement(XE, null, f.children)));
-}), zD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [eE, d]
+ ] }, /*#__PURE__*/ I.createElement(qE, null, f.children)));
+}), ID = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zT(r, t, Hre);
- let i = I.useContext(LD), a = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ute({
- ...VT(e),
+ [e, t] = IT(r, t, Gre);
+ let i = I.useContext(PD), a = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = pte({
+ ...RT(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ I.createElement(BD.Provider, { value: {
+ return /*#__PURE__*/ I.createElement(LD.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(Ure, {
+ } }, /*#__PURE__*/ I.createElement(Kre, {
...e,
ref: t
}));
-}), BD = /*#__PURE__*/ (0, I.createContext)(null), Ure = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(BD), l = I.useContext(LD), { isFocused: u, isFocusVisible: d, focusProps: f } = ly(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = hy({
+}), LD = /*#__PURE__*/ (0, I.createContext)(null), Kre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(LD), l = I.useContext(PD), { isFocused: u, isFocusVisible: d, focusProps: f } = oy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
...e,
isDisabled: p
- }), g = LT({
+ }), g = PT({
...e,
defaultClassName: s,
values: {
@@ -30296,7 +30296,7 @@ var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.cr
isRequired: l.isRequired
}
}), _ = hg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(UT.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(BT.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -30315,8 +30315,8 @@ var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Wre(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mD(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function qre(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = dD(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -30332,12 +30332,12 @@ function Wre(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = cD({
+ }, d = aD({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => Gre(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => Jre(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30374,16 +30374,16 @@ function Wre(e) {
setFocused: g
};
}
-function Gre(e) {
+function Jre(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function Kre(e) {
+function Yre(e) {
return e && e.__esModule ? e.default : e;
}
-var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.createContext)(null), qre = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, VD);
+var RD = /*#__PURE__*/ (0, I.createContext)(null), zD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, RD);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, I.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -30398,24 +30398,24 @@ var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement(Ch, { content: o }, (n) => /*#__PURE__*/ I.createElement(Yre, {
+ return /*#__PURE__*/ I.createElement(Ch, { content: o }, (n) => /*#__PURE__*/ I.createElement(Qre, {
props: e,
collection: n,
selectRef: t
}));
-}), Jre = [
- ZT,
- QT,
- nE
+}), Zre = [
+ JT,
+ YT,
+ $T
];
-function Yre({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = RT(iE) || {}, i = e.validationBehavior ?? r ?? "native", a = Wre({
+function Qre({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = FT(tE) || {}, i = e.validationBehavior ?? r ?? "native", a = qre({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = ly({ within: !0 }), c = (0, I.useRef)(null), [l, u] = BT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = fte({
- ...VT(e),
+ }), { isFocusVisible: o, focusProps: s } = oy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = LT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = hte({
+ ...RT(e),
label: u,
validationBehavior: i
}, a, c), y = (0, I.useMemo)(() => ({
@@ -30432,48 +30432,48 @@ function Yre({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = LT({
+ ]), b = PT({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = hg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(IT, { values: [
- [VD, e],
- [HD, a],
- [UD, p],
- [ZT, {
+ return /*#__PURE__*/ I.createElement(NT, { values: [
+ [RD, e],
+ [zD, a],
+ [BD, p],
+ [JT, {
...d,
ref: l,
elementType: "span"
}],
- [QT, {
+ [YT, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [AD, a],
- [vD, {
+ [DD, a],
+ [hD, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Jre
+ clearContexts: Zre
}],
- [dD, {
+ [cD, {
...m,
ref: S
}],
- [fD, a],
- [nE, { slots: {
+ [lD, a],
+ [$T, { slots: {
description: h,
errorMessage: g
} }],
- [rE, v]
- ] }, /*#__PURE__*/ I.createElement(UT.div, {
+ [eE, v]
+ ] }, /*#__PURE__*/ I.createElement(BT.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -30483,14 +30483,14 @@ function Yre({ 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__*/ I.createElement(mte, {
+ }, b.children, /*#__PURE__*/ I.createElement(_te, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, UD);
- let n = (0, I.useContext)(HD), { placeholder: r } = RT(VD), i = n.selectedItems.map((e) => {
+for (var BD = /*#__PURE__*/ (0, I.createContext)(null), $re = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, BD);
+ let n = (0, I.useContext)(zD), { placeholder: r } = FT(RD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -30502,7 +30502,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Bee(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Uee(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -30517,7 +30517,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
a,
o,
i
- ]), u = pg(Kre(WE), "react-aria-components"), d = LT({
+ ]), u = pg(Yre(VE), "react-aria-components"), d = PT({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -30529,32 +30529,32 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
state: n
}
}), f = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(UT.span, {
+ return /*#__PURE__*/ I.createElement(BT.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ I.createElement(nE.Provider, { value: void 0 }, d.children));
-}), Zre = /*#__PURE__*/ (0, I.createContext)(null), WD = /*#__PURE__*/ (0, I.createContext)(null), Qre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ I.createElement($T.Provider, { value: void 0 }, d.children));
+}), eie = /*#__PURE__*/ (0, I.createContext)(null), VD = /*#__PURE__*/ (0, I.createContext)(null), tie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zT(r, t, Zre);
- let i = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = V_(e), o = gte({
- ...VT(e),
+ [e, t] = IT(r, t, eie);
+ let i = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = V_(e), o = yte({
+ ...RT(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ I.createElement(IT, { values: [[WD, a], [GD, {
+ return /*#__PURE__*/ I.createElement(NT, { values: [[VD, a], [HD, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement($re, {
+ }]] }, /*#__PURE__*/ I.createElement(nie, {
...e,
ref: t
}));
-}), GD = /*#__PURE__*/ (0, I.createContext)(null), $re = /*#__PURE__*/ (0, I.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, I.useContext)(GD), { isFocused: f, isFocusVisible: p, focusProps: m } = ly(), h = a || o, g = (0, I.useContext)(WD), { hoverProps: _, isHovered: v } = hy({
+}), HD = /*#__PURE__*/ (0, I.createContext)(null), nie = /*#__PURE__*/ (0, I.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, I.useContext)(HD), { isFocused: f, isFocusVisible: p, focusProps: m } = oy(), h = a || o, g = (0, I.useContext)(VD), { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: h
- }), y = LT({
+ }), y = PT({
...e,
defaultClassName: u,
values: {
@@ -30570,7 +30570,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
state: g
}
}), b = hg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(BT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -30587,7 +30587,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
...H(r, m),
ref: l
})), y.children);
-}), KD = 10, qD = 5, eie = class {
+}), UD = 10, WD = 5, rie = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -30597,7 +30597,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(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) > qD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > KD && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > WD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > UD && (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);
@@ -30676,11 +30676,11 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > qD && i) {
+ if (Math.abs(r - c.lastSwitchY) > WD && 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 > KD && a) {
+ if (l > UD && 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;
}
@@ -30695,7 +30695,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
boundaryContext: null
};
}
-}, tie = class {
+}, iie = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -30765,8 +30765,8 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, JD = "row-header-column-" + Math.random().toString(36).slice(2), YD = "row-header-column-" + Math.random().toString(36).slice(2); JD === YD;) YD = "row-header-column-" + Math.random().toString(36).slice(2);
-function XD(e, t) {
+}, GD = "row-header-column-" + Math.random().toString(36).slice(2), KD = "row-header-column-" + Math.random().toString(36).slice(2); GD === KD;) KD = "row-header-column-" + Math.random().toString(36).slice(2);
+function qD(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -30850,13 +30850,13 @@ function XD(e, t) {
textValue: ""
}));
}
-var nie = class extends tie {
+var aie = class extends iie {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: JD,
+ key: GD,
value: null,
textValue: "",
level: 0,
@@ -30871,7 +30871,7 @@ var nie = class extends tie {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: YD,
+ key: KD,
value: null,
textValue: "",
level: 0,
@@ -30898,7 +30898,7 @@ var nie = class extends tie {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = XD(s, a);
+ let l = qD(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -30924,10 +30924,10 @@ var nie = class extends tie {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Jv(this.body.childNodes)?.key ?? null;
+ return Gv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Xv(this.body.childNodes)?.key ?? null;
+ return qv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -30959,19 +30959,19 @@ var nie = class extends tie {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function rie(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function oie(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || $E(e), i = (0, I.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 = qv(n, t);
- e = r === "last" ? Xv(i)?.key ?? null : Jv(i)?.key ?? null;
+ let i = Wv(n, t);
+ e = r === "last" ? qv(i)?.key ?? null : Gv(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, I.useMemo)(() => new iD(t, r), [t, r]), s = (0, I.useRef)(null);
+ let o = (0, I.useMemo)(() => new tD(t, r), [t, r]), s = (0, I.useRef)(null);
return (0, I.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;
@@ -30991,7 +30991,7 @@ function rie(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...qv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Wv(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);
}
@@ -31010,11 +31010,11 @@ function rie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var iie = {
+var sie = {
ascending: "descending",
descending: "ascending"
};
-function aie(e) {
+function cie(e) {
let [t, n] = (0, I.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, I.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -31025,7 +31025,7 @@ function aie(e) {
i,
r,
a
- ]), c = sD(e, (0, I.useCallback)((e) => new nie(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = rie({
+ ]), c = iD(e, (0, I.useCallback)((e) => new aie(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = oie({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -31041,7 +31041,7 @@ function aie(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? iie[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? sie[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -31054,7 +31054,7 @@ function aie(e) {
treeColumn: o
};
}
-function oie(e, t) {
+function lie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -31064,7 +31064,7 @@ function oie(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var sie = class extends Pf {
+var uie = class extends Pf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31079,7 +31079,7 @@ var sie = class extends Pf {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new rO(-2);
+ return new eO(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -31105,7 +31105,7 @@ var sie = class extends Pf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = XD(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 = qD(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;
@@ -31186,11 +31186,11 @@ var sie = class extends Pf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new eO(-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 ZD(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, cie = /*#__PURE__*/ (0, I.createContext)(null), lie = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), uie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, lie);
- let n = nD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
+}, die = /*#__PURE__*/ (0, I.createContext)(null), fie = /*#__PURE__*/ (0, I.createContext)(null), JD = /*#__PURE__*/ (0, I.createContext)(null), YD = /*#__PURE__*/ (0, I.createContext)(null), pie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, fie);
+ let n = $E(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -31200,26 +31200,26 @@ var sie = class extends Pf {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(pie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Fh, e));
+ ]), c = /*#__PURE__*/ I.createElement(gie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Fh, e));
return /*#__PURE__*/ I.createElement(Ch, {
content: c,
- createCollection: () => new sie()
- }, (r) => /*#__PURE__*/ I.createElement(fie, {
+ createCollection: () => new uie()
+ }, (r) => /*#__PURE__*/ I.createElement(hie, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), die = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}), mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.table, {
+ }) : /*#__PURE__*/ I.createElement(BT.table, {
...e,
ref: t
});
-}), $D = {
+}), XD = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -31229,26 +31229,26 @@ var sie = class extends Pf {
rtl: "ArrowRight"
}
};
-function fie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = zT(e, t, WT);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(cie);
+function hie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = IT(e, t, VT);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(die);
t = oh((0, I.useMemo)(() => Vm(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, I.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = aie({
+ let d = cie({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = oie(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(YT), { dragAndDropHooks: _ } = e, { gridProps: v } = Ste({
+ }), f = lie(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(KT), { dragAndDropHooks: _ } = e, { gridProps: v } = Tte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, I.useRef)(b), (0, I.useRef)(x), (0, I.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new eie());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new rie());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31283,12 +31283,12 @@ function fie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === $D.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $D.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === XD.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === XD.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = ly(), N = LT({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = oy(), N = PT({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31305,18 +31305,18 @@ function fie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let F = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(IT, { values: [
- [ZD, f],
- [QD, P],
- [GE, {
+ return /*#__PURE__*/ I.createElement(NT, { values: [
+ [JD, f],
+ [YD, P],
+ [HE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [KE, { render: Cie }],
- [WT, null],
- [GT, null]
- ] }, /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(die, {
+ [UE, { render: Eie }],
+ [VT, null],
+ [HT, null]
+ ] }, /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(mie, {
...H(F, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -31326,45 +31326,45 @@ function fie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(g, {
+ }, /*#__PURE__*/ I.createElement(qE, null, /*#__PURE__*/ I.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: JE(y, _, C)
+ persistedKeys: GE(y, _, C)
})))), E);
}
-var pie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends kf {
+var gie = /*#__PURE__*/ (0, I.createContext)(null), ZD = class extends kf {
static {
this.type = "tableheader";
}
-}, mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}, _ie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.thead, {
+ }) : /*#__PURE__*/ I.createElement(BT.thead, {
...e,
ref: t
});
-}), tO = /*#__PURE__*/ Mh(eO, (e, t) => {
- let n = (0, I.useContext)(ZD).collection, r = zf({
+}), QD = /*#__PURE__*/ Mh(ZD, (e, t) => {
+ let n = (0, I.useContext)(JD).collection, r = zf({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(gie, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(yie, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = dS(), { hoverProps: a, isHovered: o } = hy({
+ }), { rowGroupProps: i } = cS(), { hoverProps: a, isHovered: o } = fy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = LT({
+ }), s = PT({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(mie, {
+ return /*#__PURE__*/ I.createElement(_ie, {
...H(hg(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -31373,8 +31373,8 @@ var pie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends kf {
}, (e) => /*#__PURE__*/ I.createElement(Fh, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), hie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
+}, e.children)), vie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
ref: t
@@ -31383,41 +31383,41 @@ var pie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends kf {
ref: t
});
});
-function gie({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(ZD), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(YT), { rowProps: a } = Ete({
+function yie({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(JD), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(KT), { rowProps: a } = kte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Nte(n);
- return /*#__PURE__*/ I.createElement(hie, {
+ }, n, t), { checkboxProps: o } = Ite(n);
+ return /*#__PURE__*/ I.createElement(vie, {
...a,
ref: t
- }, /*#__PURE__*/ I.createElement(IT, { values: [[aE, { slots: { selection: o } }], [oE, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[nE, { slots: { selection: o } }], [rE, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var _ie = class extends kf {
+var bie = class extends kf {
static {
this.type = "column";
}
-}, vie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}, xie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.th, {
+ }) : /*#__PURE__*/ I.createElement(BT.th, {
...e,
ref: t
});
-}), nO = /*#__PURE__*/ jh(_ie, (e, t, n) => {
- let r = oh(t), i = (0, I.useContext)(ZD), { isVirtualized: a } = (0, I.useContext)(YT), { columnHeaderProps: o, isPressed: s } = Tte({
+}), $D = /*#__PURE__*/ jh(bie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(JD), { isVirtualized: a } = (0, I.useContext)(KT), { columnHeaderProps: o, isPressed: s } = Ote({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ly(), d = (0, I.useContext)(QD), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = oy(), d = (0, I.useContext)(YD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = hy({ isDisabled: !e.allowsSorting }), h = LT({
+ let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = PT({
...e,
id: void 0,
children: n.rendered,
@@ -31444,7 +31444,7 @@ var _ie = class extends kf {
width: d.getColumnWidth(n.key)
});
let _ = hg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(vie, {
+ return delete _.id, /*#__PURE__*/ I.createElement(xie, {
...H(_, o, u, p),
...h,
style: g,
@@ -31456,28 +31456,28 @@ var _ie = class extends kf {
"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__*/ I.createElement(IT, { values: [[yie, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[Sie, {
column: n,
triggerRef: r
- }], [YT, qT]] }, h.children));
-}), yie = /*#__PURE__*/ (0, I.createContext)(null), rO = class extends Af {
+ }], [KT, WT]] }, h.children));
+}), Sie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Af {
static {
this.type = "tablebody";
}
-}, bie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}, Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.tbody, {
+ }) : /*#__PURE__*/ I.createElement(BT.tbody, {
...e,
ref: t
});
-}), iO = /*#__PURE__*/ Mh(rO, (e, t, n) => {
- let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(YT), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(GE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), tO = /*#__PURE__*/ Mh(eO, (e, t, n) => {
+ let r = (0, I.useContext)(JD), { isVirtualized: i } = (0, I.useContext)(KT), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(KT), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(HE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = LT({
+ }, p = PT({
...e,
id: void 0,
children: void 0,
@@ -31486,25 +31486,25 @@ var _ie = class extends kf {
}), 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__*/ I.createElement(oO, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ I.createElement(rO, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ I.createElement(cO, {
+ }, /*#__PURE__*/ I.createElement(aO, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = dS(), _ = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(bie, {
+ let { rowGroupProps: g } = cS(), _ = hg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Cie, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(Oie, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(jie, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: qE(s, c)
+ renderDropIndicator: WE(s, c)
}), m);
});
(class extends Af {
@@ -31512,7 +31512,7 @@ var _ie = class extends kf {
this.type = "tablefooter";
}
});
-var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xie = class extends kf {
+var nO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), wie = class extends kf {
static {
this.type = "item";
}
@@ -31524,26 +31524,26 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
}
return null;
}
-}, oO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}, rO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.tr, {
+ }) : /*#__PURE__*/ I.createElement(BT.tr, {
...e,
ref: t
});
-}), sO = /*#__PURE__*/ Mh(xie, (e, t, n) => {
- let r = oh(t), i = (0, I.useContext)(ZD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(YT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = kte({
+}), iO = /*#__PURE__*/ Mh(wie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(JD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(HE), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(KT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Mte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ly(), { isFocusVisible: _, focusProps: v } = ly({ within: !0 }), { hoverProps: y, isHovered: b } = hy({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = oy(), { isFocusVisible: _, focusProps: v } = oy({ within: !0 }), { hoverProps: y, isHovered: b } = fy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Mte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Fte({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -31558,7 +31558,7 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
(0, I.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = LT({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = PT({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -31580,10 +31580,10 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
level: n.level + 1
}
}), N = hg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(oO, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(rO, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(cO, {
+ }, /*#__PURE__*/ I.createElement(aO, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -31592,7 +31592,7 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ I.createElement(oO, {
+ }))), /*#__PURE__*/ I.createElement(rO, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -31608,17 +31608,17 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [aE, { slots: {
- [FT]: {},
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [nE, { slots: {
+ [MT]: {},
selection: x
} }],
- [oE, { slots: {
- [FT]: {},
+ [rE, { slots: {
+ [MT]: {},
selection: x
} }],
- [QT, { slots: {
- [FT]: {},
+ [YT, { slots: {
+ [MT]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -31626,8 +31626,8 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
style: { pointerEvents: "none" }
}
} }],
- [ZE, { isSelected: p.isSelected }],
- [aO, { isFocusVisibleWithinRow: _ }]
+ [JE, { isSelected: p.isSelected }],
+ [nO, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ I.createElement(l, {
collection: i.collection,
parent: n
@@ -31640,29 +31640,29 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
items: e.columns,
idScope: e.id
}, e.children);
-}), Sie = class extends kf {
+}), Tie = class extends kf {
static {
this.type = "cell";
}
-}, cO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}, aO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.td, {
+ }) : /*#__PURE__*/ I.createElement(BT.td, {
...e,
ref: t
});
-}), lO = /*#__PURE__*/ jh(Sie, (e, t, n) => {
- let r = oh(t), i = (0, I.useContext)(ZD), { dragState: a } = (0, I.useContext)(GE), { isVirtualized: o } = (0, I.useContext)(YT);
+}), oO = /*#__PURE__*/ jh(Tie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(JD), { dragState: a } = (0, I.useContext)(HE), { isVirtualized: o } = (0, I.useContext)(KT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Cte({
+ let { gridCellProps: s, isPressed: c } = Ete({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ly(), { hoverProps: f, isHovered: p } = hy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(aO), 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 = LT({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = oy(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(nO), 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 = PT({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -31682,7 +31682,7 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
isTreeColumn: n.column.key === i.treeColumn
}
}), S = hg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ I.createElement(cO, {
+ return delete S.id, /*#__PURE__*/ I.createElement(aO, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -31696,14 +31696,14 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xi
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ I.createElement(YT.Provider, { value: qT }, x.children));
+ }, /*#__PURE__*/ I.createElement(KT.Provider, { value: WT }, x.children));
});
-function Cie(e, t) {
+function Eie(e, t) {
t = oh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(HE), i = (0, I.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__*/ I.createElement(Die, {
+ return /*#__PURE__*/ I.createElement(Aie, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -31712,40 +31712,40 @@ function Cie(e, t) {
ref: t
});
}
-var wie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+var Die = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.tr, {
+ }) : /*#__PURE__*/ I.createElement(BT.tr, {
...e,
ref: t
});
-}), Tie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(YT);
- return n ? /*#__PURE__*/ I.createElement(UT.div, {
+}), Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(KT);
+ return n ? /*#__PURE__*/ I.createElement(BT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(UT.td, {
+ }) : /*#__PURE__*/ I.createElement(BT.td, {
...e,
ref: t
});
});
-function Eie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(ZD), { visuallyHiddenProps: c } = W_(), l = LT({
+function kie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(JD), { visuallyHiddenProps: c } = W_(), l = PT({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(wie, {
+ return /*#__PURE__*/ I.createElement(Die, {
...hg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(Tie, {
+ }, /*#__PURE__*/ I.createElement(Oie, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -31756,14 +31756,14 @@ function Eie(e, t) {
ref: i
}), l.children));
}
-var Die = /*#__PURE__*/ (0, I.forwardRef)(Eie);
-function Oie() {
- let e = (0, I.useContext)(ZD), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(GE), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = W_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(oO, {
+var Aie = /*#__PURE__*/ (0, I.forwardRef)(kie);
+function jie() {
+ let e = (0, I.useContext)(JD), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(HE), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = W_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(rO, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(cO, {
+ }, /*#__PURE__*/ I.createElement(aO, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -31775,8 +31775,8 @@ function Oie() {
})));
}
jh(jf, function(e, t, n) {
- let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
- uD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(JD), { isVirtualized: i } = (0, I.useContext)(KT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
+ sD((0, I.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -31786,7 +31786,7 @@ jh(jf, function(e, t, n) {
s,
r?.collection
]), u);
- let d = LT({
+ let d = PT({
...c,
id: void 0,
children: n.rendered,
@@ -31794,10 +31794,10 @@ jh(jf, 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__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(oO, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(rO, {
style: { height: 0 },
- inert: $E(!0)
- }, /*#__PURE__*/ I.createElement(cO, { style: {
+ inert: XE(!0)
+ }, /*#__PURE__*/ I.createElement(aO, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ I.createElement("div", {
@@ -31808,14 +31808,14 @@ jh(jf, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ I.createElement(oO, {
+ }))), a && d.children && /*#__PURE__*/ I.createElement(rO, {
...H(hg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(cO, {
+ }, /*#__PURE__*/ I.createElement(aO, {
role: "rowheader",
...p,
style: m
@@ -31823,8 +31823,8 @@ jh(jf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function kie(e) {
- let [t, n] = B_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cD({
+function Mie(e) {
+ let [t, n] = B_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = aD({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -31847,24 +31847,24 @@ function kie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Aie(e) {
- let t = kie({
+function Nie(e) {
+ let t = Mie({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? uO(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? sO(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = uO(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 = sO(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 uO(e, t) {
+function sO(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);
@@ -31874,24 +31874,24 @@ function uO(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var dO = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.createContext)(null), pO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, dO);
+var cO = /*#__PURE__*/ (0, I.createContext)(null), lO = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = IT(e, t, cO);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, I.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ I.createElement(Ch, { content: n }, (n) => /*#__PURE__*/ I.createElement(jie, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement(Ch, { content: n }, (n) => /*#__PURE__*/ I.createElement(Pie, {
props: e,
collection: n,
tabsRef: t
}));
});
-function jie({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Aie({
+function Pie({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Nie({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = ly({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = oy({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -31899,12 +31899,12 @@ function jie({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = LT({
+ ]), l = PT({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = hg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(BT.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -31912,20 +31912,20 @@ function jie({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [[dO, e], [fO, i]] }, l.children));
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[cO, e], [lO, i]] }, l.children));
}
-var mO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(fO) ? /*#__PURE__*/ I.createElement(Mie, {
+var dO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return (0, I.useContext)(lO) ? /*#__PURE__*/ I.createElement(Fie, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ I.createElement(Fh, e);
});
-function Mie({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(fO), { CollectionRoot: r } = (0, I.useContext)(YT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RT(dO), o = oh(t), { tabListProps: s } = Ite({
+function Fie({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(lO), { CollectionRoot: r } = (0, I.useContext)(KT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = FT(cO), o = oh(t), { tabListProps: s } = zte({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = LT({
+ }, n, o), c = PT({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -31934,29 +31934,29 @@ function Mie({ props: e, forwardedRef: t }) {
state: n
}
}), l = hg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ I.createElement(UT.div, {
+ return delete l.id, /*#__PURE__*/ I.createElement(BT.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(r, {
+ }, /*#__PURE__*/ I.createElement(qE, null, /*#__PURE__*/ I.createElement(r, {
collection: n.collection,
- persistedKeys: XT(n.selectionManager.focusedKey)
+ persistedKeys: qT(n.selectionManager.focusedKey)
})));
}
-var hO = /*#__PURE__*/ jh(class extends kf {
+var fO = /*#__PURE__*/ jh(class extends kf {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(fO), i = oh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Pte({
+ let r = (0, I.useContext)(lO), i = oh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Lte({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ly(), { hoverProps: f, isHovered: p } = hy({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = oy(), { hoverProps: f, isHovered: p } = fy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = LT({
+ }), m = PT({
...e,
id: void 0,
children: n.rendered,
@@ -31969,7 +31969,7 @@ var hO = /*#__PURE__*/ jh(class extends kf {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? UT.a : UT.div, g = hg(e, { global: !0 });
+ }), h = n.props.href ? BT.a : BT.div, g = hg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -31979,26 +31979,26 @@ var hO = /*#__PURE__*/ jh(class extends kf {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ I.createElement(ZE.Provider, { value: { isSelected: o } }, m.children));
-}), gO = /*#__PURE__*/ ph(function(e, t) {
- let n = (0, I.useContext)(fO), r = oh(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ I.createElement(JE.Provider, { value: { isSelected: o } }, m.children));
+}), pO = /*#__PURE__*/ ph(function(e, t) {
+ let n = (0, I.useContext)(lO), r = oh(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = gD(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(Nie, {
+ let s = pD(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(Iie, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Nie(e) {
- let t = (0, I.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Lte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ly(), d = t.selectedKey === e.id, f = hD(r) && !i, p = LT({
+function Iie(e) {
+ let t = (0, I.useContext)(lO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Bte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = oy(), d = t.selectedKey === e.id, f = fD(r) && !i, p = PT({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: $E(!d),
+ isInert: XE(!d),
isEntering: f,
isExiting: a,
state: t
@@ -32006,31 +32006,31 @@ function Nie(e) {
}), m = hg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ I.createElement(UT.div, {
+ return /*#__PURE__*/ I.createElement(BT.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: $E(!d || e.inert),
+ inert: XE(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [[dO, null], [fO, null]] }, /*#__PURE__*/ I.createElement(YT.Provider, { value: qT }, p.children)));
+ }, /*#__PURE__*/ I.createElement(NT, { values: [[cO, null], [lO, null]] }, /*#__PURE__*/ I.createElement(KT.Provider, { value: WT }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Pie = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.createContext)(null), Iie = /*#__PURE__*/ ph(function(e, t) {
- [e, t] = zT(e, t, Fie);
- let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
- [e, i] = zT(e, i, GT);
- let [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Dee({
- ...VT(e),
+var Lie = /*#__PURE__*/ (0, I.createContext)({}), Rie = /*#__PURE__*/ (0, I.createContext)(null), zie = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = IT(e, t, Rie);
+ let { validationBehavior: n } = FT(tE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
+ [e, i] = IT(e, i, HT);
+ let [a, o] = LT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Dee({
+ ...RT(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, I.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = LT({
+ }, [i]), h = PT({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -32040,7 +32040,7 @@ var Pie = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.crea
},
defaultClassName: "react-aria-TextField"
}), g = hg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ I.createElement(UT.div, {
+ return delete g.id, /*#__PURE__*/ I.createElement(BT.div, {
...g,
...h,
ref: t,
@@ -32049,31 +32049,31 @@ var Pie = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [
- [ZT, {
+ }, /*#__PURE__*/ I.createElement(NT, { values: [
+ [JT, {
...l,
ref: a
}],
- [lE, {
+ [oE, {
...u,
ref: m
}],
- [Pie, {
+ [Lie, {
...u,
ref: m
}],
- [cE, {
+ [aE, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [nE, { slots: {
+ [$T, { slots: {
description: d,
errorMessage: f
} }],
- [rE, p]
+ [eE, p]
] }, h.children));
-}), _O = Ew({
+}), mO = Cw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -32094,21 +32094,21 @@ var Pie = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.crea
small: "size-4 shrink-0"
}
});
-function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function hO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: Tw(_O.base, _O.size[t], n),
+ className: Sw(mO.base, mO.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
- className: _O.icon[t],
+ className: mO.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Lie = Ew({
+var Bie = Cw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -32170,23 +32170,23 @@ var Lie = Ew({
}
}
});
-function Rie({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Lie[t];
+function Vie({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Bie[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: Tw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Tw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Sw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Sw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("span", {
- className: Tw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, L.jsx)("span", { className: Tw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: Sw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, L.jsx)("span", { className: Sw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function yO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Qre, {
+function gO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(tie, {
ref: i,
...a,
- className: (t) => Tw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Rie, {
+ className: (t) => Sw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Vie, {
state: e,
size: n,
shape: r
@@ -32196,7 +32196,7 @@ function yO({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
})] })
});
}
-function bO(e) {
+function _O(e) {
return {
x0: 0,
y0: 0,
@@ -32204,7 +32204,7 @@ function bO(e) {
y1: e.height
};
}
-function xO(e) {
+function vO(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -32212,40 +32212,40 @@ function xO(e) {
y1: Math.round(e.y1)
};
}
-function SO(e) {
+function yO(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function CO(e, t) {
- if (!SO(e)) return {
+function bO(e, t) {
+ if (!yO(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return bO(e);
+ if (t == null || !(t > 0)) return _O(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 xO({
+ return vO({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function zie(e, t) {
- if (!SO(e) || !(t > 0)) return bO(e);
+function Hie(e, t) {
+ if (!yO(e) || !(t > 0)) return _O(e);
let n = Math.min(e.width, e.height * t);
- return xO({
+ return vO({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Bie(e, t, n) {
- if (!SO(t) || !(n > 0)) return bO(t);
- let r = wO(e, t), i = CO({
+function Uie(e, t, n) {
+ if (!yO(t) || !(n > 0)) return _O(t);
+ let r = xO(e, t), i = bO({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -32256,8 +32256,8 @@ function Bie(e, t, n) {
y1: r.y0 + i.y1
};
}
-function wO(e, t, n = null, r = "width") {
- if (!SO(t)) return {
+function xO(e, t, n = null, r = "width") {
+ if (!yO(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -32266,43 +32266,43 @@ function wO(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 xO({
+ return vO({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function TO(e, t, n, r) {
+function SO(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 xO({
+ return vO({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function EO(e, t, n, r = null) {
- if (!SO(n) || !(t > 0)) return e;
+function CO(e, t, n, r = null) {
+ if (!yO(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 wO({
+ return xO({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Vie(e, t, n, r, i = null) {
+function Wie(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return wO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return xO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Hie(e, t) {
- return SO(t) ? {
+function Gie(e, t) {
+ return yO(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -32314,8 +32314,8 @@ function Hie(e, t) {
height: 0
};
}
-function Uie(e, t) {
- if (!SO(t)) return {
+function Kie(e, t) {
+ if (!yO(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -32325,7 +32325,7 @@ function Uie(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Wie(e, t) {
+function qie(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -32334,25 +32334,25 @@ function Wie(e, t) {
height: `${t.height / r * 100}%`
};
}
-function DO(e, t, n) {
+function wO(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var Gie = {
+var Jie = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function OO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- return /* @__PURE__ */ (0, L.jsx)(FD, {
+function TO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ return /* @__PURE__ */ (0, L.jsx)(MD, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(Fre, {
- className: `flex max-h-full w-full ${Gie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, L.jsx)(jD, {
+ children: /* @__PURE__ */ (0, L.jsx)(Rre, {
+ className: `flex max-h-full w-full ${Jie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(OD, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -32360,7 +32360,7 @@ function OO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function kO({ children: e }) {
+function EO({ children: e }) {
return /* @__PURE__ */ (0, L.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",
@@ -32369,19 +32369,19 @@ function kO({ children: e }) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Kie(e) {
+function Yie(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function qie(e) {
+function Xie(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Kie(n ?? t.body);
+ return Yie(n ?? t.body);
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function AO() {
+function DO() {
let e = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
m(e.current);
@@ -32389,8 +32389,8 @@ function AO() {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var Jie = .02, jO = 1.08;
-function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Zie = .02, OO = 1.08;
+function kO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, I.useRef)(null), c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
u(!1);
@@ -32401,8 +32401,8 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: DO(e, n.clientWidth, r.width),
- dy: DO(t, n.clientHeight, r.height)
+ dx: wO(e, n.clientWidth, r.width),
+ dy: wO(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -32420,29 +32420,29 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(TO(n.box, o.dx, o.dy, r));
+ i(SO(n.box, o.dx, o.dy, r));
return;
}
- i(Vie(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));
+ i(Wie(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 m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * Jie), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Zie), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(TO(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(SO(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(EO(n, e.key === "-" ? 1 / jO : jO, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(CO(n, e.key === "-" ? 1 / OO : OO, r, t)));
}
- let g = n && r ? Hie(wO(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Gie(xO(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -32461,7 +32461,7 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- SO({
+ yO({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -32500,7 +32500,7 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(EO(n, e.deltaY > 0 ? jO : 1 / jO, r, t));
+ !n || !r || i(CO(n, e.deltaY > 0 ? OO : 1 / OO, 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, L.jsx)("span", {
@@ -32522,11 +32522,11 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var Yie = "/api/cover-crop", Xie = (e, t) => q(Yie, {
+var Qie = "/api/cover-crop", $ie = (e, t) => q(Qie, {
code: e,
box: t
-}), NO = .704;
-function PO({ className: e }) {
+}), AO = .704;
+function jO({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32539,7 +32539,7 @@ function PO({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function Zie({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function eae({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("button", {
ref: o,
@@ -32550,15 +32550,15 @@ function Zie({ 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, L.jsx)(PO, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(iy, {
- getContainer: () => qie(o.current),
- children: /* @__PURE__ */ (0, L.jsx)(OO, {
+ children: /* @__PURE__ */ (0, L.jsx)(jO, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, L.jsx)(ty, {
+ getContainer: () => Xie(o.current),
+ children: /* @__PURE__ */ (0, L.jsx)(TO, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(Qie, {
+ children: /* @__PURE__ */ (0, L.jsx)(tae, {
code: e,
coverUrl: t,
box: n,
@@ -32568,9 +32568,9 @@ function Zie({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = AO(), f = At({
- mutationFn: (t) => Xie(e, t),
+function tae({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = DO(), f = At({
+ mutationFn: (t) => $ie(e, t),
onSuccess: () => {
i(), r();
}
@@ -32582,19 +32582,19 @@ function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : zie(e, NO);
- c(wO(t, e, null));
+ } : Hie(e, AO);
+ c(xO(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(kO, { children: /* @__PURE__ */ (0, L.jsx)(PO, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(EO, { children: /* @__PURE__ */ (0, L.jsx)(jO, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(tE, {
+ /* @__PURE__ */ (0, L.jsx)(QT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -32609,8 +32609,8 @@ function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: bS,
+ /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: _S,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -32620,24 +32620,24 @@ function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, L.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, L.jsx)(MO, {
+ children: /* @__PURE__ */ (0, L.jsx)(kO, {
src: t,
- aspect: l ? NO : null,
+ aspect: l ? AO : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- SO(e) && p(e);
+ yO(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(yO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(gO, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(wO(s, a, NO));
+ u(e), e && s && a && c(xO(s, a, AO));
},
children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -32666,32 +32666,32 @@ function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/media-sources.ts
-var $ie = "/api/sources", FO = ["media-sources"], IO = (e) => Nw($ie, e);
-async function LO(e) {
+var nae = "/api/sources", MO = ["media-sources"], NO = (e) => Aw(nae, e);
+async function PO(e) {
await X.fetchQuery({
- queryKey: FO,
- queryFn: () => IO(e)
+ queryKey: MO,
+ queryFn: () => NO(e)
});
}
-var eae = [
+var rae = [
"local",
"115",
"pikpak"
-], tae = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), RO = "/api/duplicates?limit=120", zO = ["duplicates"], nae = "/api/batch", BO = (e) => Nw(RO, e);
-async function VO(e) {
+], iae = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), aae = "/api/duplicates?limit=120", FO = ["duplicates"], oae = "/api/batch", IO = (e) => Aw(aae, e);
+async function LO(e) {
await Promise.all([X.fetchQuery({
- queryKey: zO,
- queryFn: () => BO(e)
- }), LO(e)]);
+ queryKey: FO,
+ queryFn: () => IO(e)
+ }), PO(e)]);
}
-var HO = {
+var RO = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, UO = (e, t) => t.filter((t) => e.some((e) => e.location === t)), WO = (e, t) => UO(e, t).filter((t) => e.some((e) => e.location !== t)), rae = (e, t) => t.filter((t) => e.some((e) => WO(e.files, [t]).length));
-function iae(e, t) {
+}, sae = (e, t) => t.filter((t) => e.some((e) => e.location === t)), zO = (e, t) => sae(e, t).filter((t) => e.some((e) => e.location !== t)), BO = (e, t) => t.filter((t) => e.some((e) => zO(e.files, [t]).length));
+function VO(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -32710,30 +32710,30 @@ function iae(e, t) {
}
return n;
}
-function aae(e, t) {
+function HO(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 GO(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(nae, {
+async function UO(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(oae, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var KO = "/api/library-processing", qO = ["library-processing"], JO = (e) => Nw(KO, e);
-async function YO(e) {
+var WO = "/api/library-processing", GO = ["library-processing"], KO = (e) => Aw(WO, e);
+async function qO(e) {
await X.fetchQuery({
- queryKey: qO,
- queryFn: () => JO(e)
+ queryKey: GO,
+ queryFn: () => KO(e)
});
}
-var XO = 2e3, ZO = 1e4, QO = "连接中断,正在重新读取处理进度";
-function oae(e, t) {
- return e?.status === "running" ? XO : t ? ZO : !1;
+var JO = 2e3, YO = 1e4, XO = "连接中断,正在重新读取处理进度";
+function ZO(e, t) {
+ return e?.status === "running" ? JO : t ? YO : !1;
}
-var sae = {
+var QO = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
@@ -32747,7 +32747,7 @@ function cae(e) {
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
function ek(e) {
- let t = sae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+ let t = QO[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
function lae(e) {
@@ -32778,7 +32778,7 @@ function dae(e, t, n) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var nk = "/api/media-repair", rk = ["media-repair"], ik = ["media-repair", "libraries"], ak = {
+var nk = "/api/media-repair", rk = ["media-repair"], ik = ["media-repair", "libraries"], fae = {
status: "idle",
library: "",
stage: "",
@@ -32790,33 +32790,33 @@ var nk = "/api/media-repair", rk = ["media-repair"], ik = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, ok = (e) => Nw(nk, e), sk = async (e) => (await Nw("/api/libraries", e)).libraries || [];
-async function ck(e) {
+}, ak = (e) => Aw(nk, e), ok = async (e) => (await Aw("/api/libraries", e)).libraries || [];
+async function sk(e) {
await Promise.all([X.fetchQuery({
queryKey: rk,
- queryFn: () => ok(e)
+ queryFn: () => ak(e)
}), X.fetchQuery({
queryKey: ik,
- queryFn: () => sk(e)
+ queryFn: () => ok(e)
})]);
}
-var lk = (e) => Number(e).toLocaleString();
-function uk(e) {
+var ck = (e) => Number(e).toLocaleString();
+function lk(e) {
if (e.status === "running") {
- let t = e.total ? `${lk(e.checked)} / ${lk(e.total)}` : "准备中";
+ let t = e.total ? `${ck(e.checked)} / ${ck(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${lk(e.repaired)} 部,${lk(e.failed)} 部修不了` : `修好 ${lk(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${ck(e.repaired)} 部,${ck(e.failed)} 部修不了` : `修好 ${ck(e.repaired)} 部` : "";
}
-var dk = (e) => `${lk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, fk = "/api/quality-goals?limit=200", pk = ["quality-goals"], mk = (e) => Nw(fk, e);
-async function hk(e) {
+var uk = (e) => `${ck(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, dk = "/api/quality-goals?limit=200", fk = ["quality-goals"], pk = (e) => Aw(dk, e);
+async function mk(e) {
await X.fetchQuery({
- queryKey: pk,
- queryFn: () => mk(e)
+ queryKey: fk,
+ queryFn: () => pk(e)
});
}
-var gk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function _k(e, t, n = 1) {
+var hk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function gk(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -32836,15 +32836,15 @@ function _k(e, t, n = 1) {
t
];
}
-function vk(e, t) {
+function _k(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function yk(e, t) {
+function vk(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function fae(e, t, n, r, i, a = i || !e.has(r)) {
+function yk(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;
}
@@ -32898,7 +32898,7 @@ function bae(e, t, n) {
return n && wk(e, t).find((e) => e.key === n)?.rows || e;
}
function xae(e, t) {
- let n = vk(e.length, 20), r = yk(t, n);
+ let n = _k(e.length, 20), r = vk(t, n);
return {
page: r,
pages: n,
@@ -32909,7 +32909,7 @@ function Sae(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 Cae(e, t, n, r, i, a) {
- return fae(e, t, n, r, i, a);
+ return yk(e, t, n, r, i, a);
}
function Tk(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
@@ -32946,17 +32946,17 @@ function Ok(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var kae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", kk = (e) => Nw(pae, e), Ak = (e) => q(mae, e), jk = (e, t) => q(hae, {
+var kae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", kk = (e) => Aw(pae, e), Ak = (e) => q(mae, e), Aae = (e, t) => q(hae, {
genre: e,
tag: t
});
-async function Mk(e) {
+async function jk(e) {
await X.fetchQuery({
queryKey: xk,
queryFn: () => kk(e)
});
}
-function Nk(e, t) {
+function Mk(e, t) {
let n = new Set(t);
n.size && X.setQueryData(xk, (t) => {
if (!t) return t;
@@ -32974,64 +32974,64 @@ function Nk(e, t) {
};
});
}
-var Pk = () => X.invalidateQueries({
+var Nk = () => X.invalidateQueries({
queryKey: xk,
exact: !0
});
-function Fk(e, t) {
+function Pk(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${bk(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Ik = "/api/links", Lk = "/api/links/check", Rk = "/api/links/prune", zk = ["links"], Bk = ["links", "check"], Vk = ["links", "prune"], Hk = {
+var Fk = "/api/links", Ik = "/api/links/check", Lk = "/api/links/prune", Rk = ["links"], zk = ["links", "check"], Bk = ["links", "prune"], Vk = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Uk(e) {
+async function Hk(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Wk = (e) => Nw(Ik, e), Gk = (e) => q(Lk, { status_only: !0 }, "POST", e), Kk = ({ retry: e, checkId: t }) => Uk(q(Lk, e ? {
+var Uk = (e) => Aw(Fk, e), Wk = (e) => q(Ik, { status_only: !0 }, "POST", e), Gk = ({ retry: e, checkId: t }) => Hk(q(Ik, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), qk = (e) => Nw(Rk, e), Jk = (e) => Uk(q(Rk, {
+} : { restart: !0 })), Kk = (e) => Aw(Lk, e), qk = (e) => Hk(q(Lk, {
confirm: !0,
check_id: e,
background: !0
-})), Yk = (e) => Number(e || 0).toLocaleString(), Xk = (e) => `已删除 ${Yk(e.removed)} 条;${e.marked ? `已隐退女优的 ${Yk(e.marked)} 条留作不可点的记录;` : ""}保留 ${Yk(e.recovered)} 条未确认失效的链接。`;
-function Zk(e) {
+})), Jk = (e) => Number(e || 0).toLocaleString(), Yk = (e) => `已删除 ${Jk(e.removed)} 条;${e.marked ? `已隐退女优的 ${Jk(e.marked)} 条留作不可点的记录;` : ""}保留 ${Jk(e.recovered)} 条未确认失效的链接。`;
+function Xk(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${Yk(e.checked)} / ${Yk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Jk(e.checked)} / ${Jk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Qk = "/api/organize", $k = "/api/organize/preview", eA = "/api/organize/apply", tA = "/api/organize/rollback", nA = "/api/settings", rA = ["organize"], iA = (e) => Nw(Qk, e);
-async function aA(e) {
+var Zk = "/api/organize", Qk = "/api/organize/preview", $k = "/api/organize/apply", eA = "/api/organize/rollback", tA = "/api/settings", nA = ["organize"], rA = (e) => Aw(Zk, e);
+async function iA(e) {
await X.fetchQuery({
- queryKey: rA,
- queryFn: () => iA(e)
+ queryKey: nA,
+ queryFn: () => rA(e)
});
}
-var oA = (e) => q($k, e), sA = (e) => e.kind === "apply" ? q(eA, {
+var aA = (e) => q(Qk, e), oA = (e) => e.kind === "apply" ? q($k, {
...e.request,
confirm: !0
-}) : q(tA, { confirm: !0 });
-async function cA(e) {
- X.setQueryData(rA, (t) => t && {
+}) : q(eA, { confirm: !0 });
+async function sA(e) {
+ X.setQueryData(nA, (t) => t && {
...t,
templates: e
});
try {
- await q(nA, { organizeTemplates: e });
+ await q(tA, { organizeTemplates: e });
} catch {}
}
-var lA = (e, t) => e && {
+var cA = (e, t) => e && {
...e,
...t
-}, Aae = /目录模板|分隔符|盘符|`\.`/;
+}, lA = /目录模板|分隔符|盘符|`\.`/;
function uA(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
@@ -33057,14 +33057,14 @@ var pA = "/api/resource-sync/scan", mA = "/api/resource-sync/apply", hA = ["reso
}, "POST", e), Mae = () => q(pA, {
background: !0,
restart: !0
-}), vA = (e) => Nw(mA, e), Nae = (e) => q(mA, {
+}), vA = (e) => Aw(mA, e), Nae = (e) => q(mA, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), yA = (e) => (e?.sources ?? []).some((e) => eae.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+}), yA = (e) => (e?.sources ?? []).some((e) => rae.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
async function Pae(e) {
- yA(X.getQueryData(FO)) && await Promise.all([X.fetchQuery({
+ yA(X.getQueryData(MO)) && await Promise.all([X.fetchQuery({
queryKey: hA,
queryFn: () => _A(e)
}), X.fetchQuery({
@@ -33103,9 +33103,9 @@ var Vae = (e, t) => {
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], EA = (e) => Nw(Hae, e), DA = (e) => Nw(Uae, e), OA = (e) => {
+], EA = (e) => Aw(Hae, e), DA = (e) => Aw(Uae, e), OA = (e) => {
let t = sessionStorage.getItem("peach.library");
- return Nw(t ? `${wA}&library=${encodeURIComponent(t)}` : wA, e);
+ return Aw(t ? `${wA}&library=${encodeURIComponent(t)}` : wA, e);
}, kA = (e) => Number(e || 0).toLocaleString();
function Gae(e) {
let t = Sk, 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);
@@ -33121,11 +33121,11 @@ function Kae(e) {
}
var qae = [
[SA, ({ signal: e }) => EA(e)],
- [pk, ({ signal: e }) => mk(e)],
+ [fk, ({ signal: e }) => pk(e)],
[TA, ({ signal: e }) => OA(e)],
+ [Rk, ({ signal: e }) => Uk(e)],
[zk, ({ signal: e }) => Wk(e)],
- [Bk, ({ signal: e }) => Gk(e)],
- [Vk, ({ signal: e }) => qk(e)]
+ [Bk, ({ signal: e }) => Kk(e)]
];
async function Jae(e) {
let t = location.hash === "#resource-sync", n = qae.map(([n, r]) => {
@@ -33145,13 +33145,13 @@ async function Jae(e) {
queryFn: () => DA(e)
}),
X.fetchQuery({
- queryKey: zO,
- queryFn: () => BO(e)
+ queryKey: FO,
+ queryFn: () => IO(e)
}),
- LO(e).then(() => Pae(e)),
- YO(e),
- ck(e),
- aA(e)
+ PO(e).then(() => Pae(e)),
+ qO(e),
+ sk(e),
+ iA(e)
]);
}
//#endregion
@@ -33168,21 +33168,21 @@ var Yae = [
"bg-chart-8/10"
];
function AA(e = {}) {
- return `${Vw({
+ return `${Rw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var jA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
+var jA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Zae = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
function MA({ interactive: e = !1 } = {}) {
- return Vw({
+ return Rw({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Zae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+var Qae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
function NA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -33244,7 +33244,7 @@ function PA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var FA = Ew({
+var FA = Cw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33269,7 +33269,7 @@ var FA = Ew({
}
});
function IA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Tw(FA.base, FA.size[t], FA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+ let c = Sw(FA.base, FA.size[t], FA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
className: FA.icon[t],
"aria-hidden": !0
@@ -33311,27 +33311,27 @@ var LA = [
"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(" "), Qae = "w-[266px]", $ae = "flex w-full flex-col gap-1 outline-none", RA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), zA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), $ae = "w-[266px]", eoe = "flex w-full flex-col gap-1 outline-none", RA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), zA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var eoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", toe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", noe = Vw({
+var toe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", noe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", roe = Rw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), roe = {
+}), ioe = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, ioe = {
+}, aoe = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, aoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", ooe = {
+}, ooe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", soe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, soe = Vw({
+}, coe = Rw({
padding: "none",
radius: "surface",
bordered: "line",
@@ -33339,7 +33339,7 @@ var eoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两
}), BA = "border-t border-border-button-default p-4 first:border-t-0";
function VA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${aoe} ${ooe[e]}`,
+ className: `${ooe} ${soe[e]}`,
children: [t ? /* @__PURE__ */ (0, L.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
@@ -33366,19 +33366,19 @@ function WA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${noe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${roe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: roe[e],
+ className: ioe[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: ioe[e],
+ className: aoe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function coe({ className: e }) {
+function loe({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33391,7 +33391,7 @@ function coe({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var loe = "打开文件管理器失败,请重试";
+var uoe = "打开文件管理器失败,请重试";
function GA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(""), c = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
@@ -33403,7 +33403,7 @@ function GA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof jw ? e.message : loe);
+ c.current && s(e instanceof Ow ? e.message : uoe);
} finally {
c.current && a(!1);
}
@@ -33414,10 +33414,10 @@ function GA({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("p", {
- className: Tw("min-w-0 break-all", n),
+ className: Sw("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: coe,
+ }), /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: loe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33434,19 +33434,19 @@ function GA({ path: e, prefix: t, className: n, onRevealed: r }) {
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function KA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: Tw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: Sw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function qA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: Tw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: Sw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
function JA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Tw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: Sw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
@@ -33533,7 +33533,7 @@ function nj({ href: e, children: t }) {
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: wS,
+ trailingIcon: xS,
children: t
});
}
@@ -33568,7 +33568,7 @@ function aj({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (C(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, L.jsx)(_S, {
+ children: [/* @__PURE__ */ (0, L.jsx)(mS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33605,9 +33605,9 @@ function sj({ mark: e }) {
//#region src/react/library-processing/use-library-processing.ts
function cj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = kt({
- queryKey: qO,
- queryFn: ({ signal: e }) => JO(e),
- refetchInterval: (e) => oae(e.state.data, r)
+ queryKey: GO,
+ queryFn: ({ signal: e }) => KO(e),
+ refetchInterval: (e) => ZO(e.state.data, r)
}), [a, o] = (0, I.useState)(null), s = (0, I.useRef)(void 0), c = i.data;
return (0, I.useEffect)(() => {
if (!c) return;
@@ -33630,20 +33630,20 @@ function cj({ toast: e, mode: t, monitor: n }) {
var lj = [
{
label: "扫描并补全资料",
- icon: SS,
+ icon: yS,
command: {}
},
{
label: "只扫描",
- icon: ES,
+ icon: CS,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: qte,
+ icon: Xte,
command: { stage: "collect" }
}
-], uj = Tw(RA, zA, "text-body-2-medium"), dj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", fj = (e) => {
+], uj = Sw(RA, zA, "text-body-2-medium"), dj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", fj = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
@@ -33658,14 +33658,14 @@ function mj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: SS,
+ leadingIcon: yS,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: hS,
+ leadingIcon: fS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33674,14 +33674,14 @@ function mj({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
className: LA,
- children: /* @__PURE__ */ (0, L.jsx)(jD, {
+ children: /* @__PURE__ */ (0, L.jsx)(OD, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: lj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
@@ -33697,7 +33697,7 @@ function mj({ busy: e, onRun: t }) {
})] });
}
function hj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = lae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = cae(e.notes || {}), c = AO();
+ let a = lae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = cae(e.notes || {}), c = DO();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33782,15 +33782,15 @@ function hj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}
function gj(e) {
let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = cj(e), o = At({
- mutationFn: (e) => q(KO, e),
+ mutationFn: (e) => q(WO, e),
onSuccess: (e) => {
- a(), X.setQueryData(qO, e), X.invalidateQueries({ queryKey: qO });
+ a(), X.setQueryData(GO, e), X.invalidateQueries({ queryKey: GO });
}
});
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? QO : K(r.error) : "", l = o.isPending || s.status === "running", u = ek(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? XO : K(r.error) : "", l = o.isPending || s.status === "running", u = ek(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -33802,13 +33802,13 @@ function gj(e) {
/* @__PURE__ */ (0, L.jsx)(IA, {
href: "/scraping",
size: "small",
- trailingIcon: gS,
+ trailingIcon: pS,
children: "来源和凭证"
}),
s.candidates ? /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/review",
size: "small",
- trailingIcon: gS,
+ trailingIcon: pS,
children: "复核资料"
}) : null,
/* @__PURE__ */ (0, L.jsx)(mj, {
@@ -33822,11 +33822,11 @@ function gj(e) {
/* @__PURE__ */ (0, L.jsx)(UA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: eoe
+ children: toe
}),
s.status === "running" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5",
- children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: u,
value: s.checked || 0,
max: s.total
@@ -33840,7 +33840,7 @@ function gj(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: u })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: u })
}) : null
]
})
@@ -33921,27 +33921,27 @@ function Sj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
yj(d, () => f(!1), [l, u]);
let p = bj(d, l);
- return /* @__PURE__ */ (0, L.jsx)(qre, {
+ return /* @__PURE__ */ (0, L.jsx)(Xre, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: Tw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)($T, {
+ className: Sw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(XT, {
ref: l,
- className: Tw("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, L.jsx)(Xre, {
- className: Tw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: Sw("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, L.jsx)($re, {
+ className: Sw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(_j, { className: Tw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_j, { className: Sw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Tw(Qae, LA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(mre, {
+ className: Sw($ae, LA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(_re, {
items: a,
- className: Tw($ae, "max-h-[240px] overflow-auto"),
+ className: Sw(eoe, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, L.jsx)(xj.Provider, {
value: r,
children: i
@@ -33952,9 +33952,9 @@ function Sj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
}
function Cj({ className: e, children: t, ...n }) {
let r = (0, I.useContext)(xj);
- return /* @__PURE__ */ (0, L.jsx)(_re, {
+ return /* @__PURE__ */ (0, L.jsx)(bre, {
...n,
- className: (t) => Tw(RA, 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) => Sw(RA, 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
});
}
@@ -34006,12 +34006,12 @@ var Oj = (e) => p[e] || e, kj = (e) => X.setQueryData(rk, e);
function Aj() {
let e = kt({
queryKey: rk,
- queryFn: ({ signal: e }) => ok(e),
+ queryFn: ({ signal: e }) => ak(e),
refetchInterval: (e) => e.state.data?.status === "running" && wj
}), t = kt({
queryKey: ik,
- queryFn: ({ signal: e }) => sk(e)
- }), [n, r] = (0, I.useState)(""), i = Yw(), a = e.data ?? ak, 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 = () => {
+ queryFn: ({ signal: e }) => ok(e)
+ }), [n, r] = (0, I.useState)(""), i = Kw(), a = e.data ?? fae, 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 && h({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
@@ -34021,7 +34021,7 @@ function Aj() {
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(nk, { stop: !0 }, "POST", e), kj), d = uk(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(nk, { stop: !0 }, "POST", e), kj), d = lk(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
children: [/* @__PURE__ */ (0, L.jsx)(WA, {
@@ -34055,9 +34055,9 @@ function Aj() {
/* @__PURE__ */ (0, L.jsx)(UA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: toe
+ children: noe
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(Gw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34081,7 +34081,7 @@ function Aj() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: dk(a)
+ children: uk(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34111,7 +34111,7 @@ function Mj({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = jj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: Tw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Tw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Tw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Sw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Sw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Sw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34137,15 +34137,15 @@ function Mj({ state: e, size: t = "md" }) {
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
function Nj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = jj[n];
- return /* @__PURE__ */ (0, L.jsx)(nre, {
+ return /* @__PURE__ */ (0, L.jsx)(are, {
ref: r,
...i,
- className: (t) => Tw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => Sw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Mj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: Tw(a.label, "text-text-primary"),
+ className: Sw(a.label, "text-text-primary"),
children: t
})] })
});
@@ -34154,11 +34154,11 @@ function Nj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
//#region src/react/boardui/components/base/table/table.tsx
function Pj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: Tw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(uie, {
+ className: Sw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, L.jsx)(pie, {
ref: r,
...i,
- className: Tw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: Sw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -34200,7 +34200,7 @@ function Lj({ children: e, follow: t = !1, onRowClick: n }) {
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Rj = kT("unlink"), zj = kT("rotate-cw"), Bj = "站点返回 404 或 410,确认这个地址不存在。", Vj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Hj = "删除前会逐条重验一次;此操作不可撤销。", Uj = "暂时无法读取进度,正在重新连接…", Wj = (e) => Number(e || 0).toLocaleString();
+var Rj = ET("unlink"), zj = ET("rotate-cw"), Bj = "站点返回 404 或 410,确认这个地址不存在。", Vj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Hj = "删除前会逐条重验一次;此操作不可撤销。", Uj = "暂时无法读取进度,正在重新连接…", Wj = (e) => Number(e || 0).toLocaleString();
function Gj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
@@ -34240,8 +34240,8 @@ function Kj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
/* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
- i ? /* @__PURE__ */ (0, L.jsx)(nO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(QD, { children: [
+ i ? /* @__PURE__ */ (0, L.jsx)($D, {
id: "pick",
children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
@@ -34251,44 +34251,44 @@ function Kj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(tO, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(iO, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
+ i ? /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, L.jsx)(lO, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: Hk[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: e.label || "" }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: e.entity }),
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: Vk[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: e.label || "" }),
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -34298,7 +34298,7 @@ function Kj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, L.jsx)(wS, {
+ }), /* @__PURE__ */ (0, L.jsx)(xS, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34313,37 +34313,37 @@ function Kj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
function qj({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: `${BA} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: e,
value: t || 0,
max: n
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: e })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: e })
});
}
function Jj() {
let e = kt({
- queryKey: zk,
- queryFn: ({ signal: e }) => Wk(e)
+ queryKey: Rk,
+ queryFn: ({ signal: e }) => Uk(e)
}), [t, n] = (0, I.useState)([]), r = Dj({
- queryKey: Vk,
- queryFn: ({ signal: e }) => qk(e),
- start: Jk,
+ queryKey: Bk,
+ queryFn: ({ signal: e }) => Kk(e),
+ start: qk,
onFinish: () => {
X.invalidateQueries({
- queryKey: zk,
+ queryKey: Rk,
exact: !0
}), X.invalidateQueries({
- queryKey: Bk,
+ queryKey: zk,
exact: !0
});
}
}), i = Dj({
- queryKey: Bk,
- queryFn: ({ signal: e }) => Gk(e),
- start: Kk,
+ queryKey: zk,
+ queryFn: ({ signal: e }) => Wk(e),
+ start: Gk,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34373,7 +34373,7 @@ function Jj() {
else if (v) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: Xk(v)
+ children: Yk(v)
});
else if (y) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34393,10 +34393,10 @@ function Jj() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, L.jsxs)("div", {
- className: soe,
+ className: coe,
children: [
a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(qj, {
- line: Zk(a),
+ line: Xk(a),
value: a.checked,
total: a.total
}) : null,
@@ -34482,7 +34482,7 @@ function Jj() {
value: Wj(p.total),
note: `分布在 ${Wj(p.entities)} 个女优、厂牌与系列`
}), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gj, {
- label: Hk[e] || e,
+ label: Vk[e] || e,
value: Wj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -34507,10 +34507,10 @@ function Jj() {
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
function Yj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(Yne, {
+ return /* @__PURE__ */ (0, L.jsxs)(Qne, {
"data-label": "true",
...a,
- className: Tw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: Sw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34518,7 +34518,7 @@ function Yj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(kS, {
+ n && /* @__PURE__ */ (0, L.jsx)(ES, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34528,10 +34528,10 @@ function Yj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
function Xj({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)($ne, {
+ return /* @__PURE__ */ (0, L.jsx)(nre, {
slot: e ? "errorMessage" : "description",
...n,
- className: Tw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: Sw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
@@ -34544,16 +34544,16 @@ function Qj({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(Iie, {
+ children: /* @__PURE__ */ (0, L.jsx)(zie, {
...a,
"data-input-size": e,
- className: Tw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: Sw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
Qj.displayName = "TextField";
-var $j = Ew({
+var $j = Cw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34584,9 +34584,9 @@ var $j = Ew({
});
function eM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
let l = (0, I.useContext)(Zj), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(ire, {
+ return /* @__PURE__ */ (0, L.jsx)(sre, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Tw($j.field, d ? $j.fieldWithAddonSize[u] : $j.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 }) => Sw($j.field, d ? $j.fieldWithAddonSize[u] : $j.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, L.jsxs)("div", {
className: $j.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -34594,10 +34594,10 @@ function eM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
className: $j.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(ore, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(lre, {
ref: o,
...c,
- className: Tw($j.input, l.inputClassName, a)
+ className: Sw($j.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
className: $j.icon,
@@ -34670,8 +34670,8 @@ function aM({ plan: e }) {
}
function oM({ toast: t, failure: n }) {
let r = kt({
- queryKey: rA,
- queryFn: ({ signal: e }) => iA(e)
+ queryKey: nA,
+ queryFn: ({ signal: e }) => rA(e)
}), i = r.data, a = i?.locations ?? [], [o, s] = (0, I.useState)(""), c = a.some((e) => e.location === o) ? o : a[0]?.location ?? "", l = i?.templates?.[c], [u, d] = (0, I.useState)(null), f = u?.location === c ? u : {
location: c,
file: l?.file ?? "",
@@ -34684,8 +34684,8 @@ function oM({ toast: t, failure: n }) {
file_template: f.file.trim(),
dir_template: f.dir.trim()
}), x = At({
- mutationFn: oA,
- onSuccess: (e, t) => void cA({
+ mutationFn: aA,
+ onSuccess: (e, t) => void sA({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34693,19 +34693,19 @@ function oM({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = Aae.test(K(e)) ? "dir" : "file";
+ let t = lA.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
}), S = Dj({
- queryKey: rA,
- queryFn: ({ signal: e }) => iA(e),
- start: sA,
+ queryKey: nA,
+ queryFn: ({ signal: e }) => rA(e),
+ start: oA,
jobOf: (e) => e,
- withJob: lA,
+ withJob: cA,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: rA,
+ queryKey: nA,
exact: !0
}), e.status !== "complete") return;
let { text: r, failed: i } = fA(e);
@@ -34731,7 +34731,7 @@ function oM({ toast: t, failure: n }) {
let e = M.message || M.stage || "正在整理文件…";
j = M.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: e,
value: M.checked || 0,
max: M.total
@@ -34739,7 +34739,7 @@ function oM({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: e });
} else if (N?.status === "failed") j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "任务失败",
@@ -34756,7 +34756,7 @@ function oM({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
@@ -34873,14 +34873,14 @@ function oM({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var sM = kT("git-compare"), uoe = kT("rotate-cw"), doe = "暂时无法读取进度,正在重新连接…", cM = "清理失效条目", lM = "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", uM = (e) => Number(e || 0).toLocaleString();
+var sM = ET("git-compare"), cM = ET("rotate-cw"), doe = "暂时无法读取进度,正在重新连接…", lM = "清理失效条目", uM = "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", dM = (e) => Number(e || 0).toLocaleString();
function foe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: lM,
+ className: uM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
className: MA(),
children: /* @__PURE__ */ (0, L.jsx)(NA, {
@@ -34890,19 +34890,19 @@ function foe({ scan: e }) {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${uM(e.missing)} 项` : "—",
+ figure: e.online ? `${dM(e.missing)} 项` : "—",
meta: Bae(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: lM,
+ className: uM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
className: MA(),
children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "待永久删除",
- figure: `${uM(e.missing)} 项`,
+ figure: `${dM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
@@ -34910,7 +34910,7 @@ function foe({ scan: e }) {
className: MA(),
children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "空文件夹",
- figure: `${uM(e.empty)} 个`,
+ figure: `${dM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
@@ -34918,7 +34918,7 @@ function foe({ scan: e }) {
className: MA(),
children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "可清理的缓存",
- figure: `${uM(t.files)} 个`,
+ figure: `${dM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
@@ -34939,7 +34939,7 @@ function poe({ toast: e }) {
exact: !0
}), t.status !== "complete") return;
let { done: n, left: r } = xA(t);
- r ? e(`已完成 ${uM(n)} 项,${uM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ r ? e(`已完成 ${dM(n)} 项,${dM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
}), n = Dj({
queryKey: hA,
@@ -34947,9 +34947,9 @@ function poe({ toast: e }) {
start: Mae,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, o = t.running || t.start.isPending, s = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void h({
- title: cM,
+ title: lM,
body: zae(e),
- confirmLabel: cM,
+ confirmLabel: lM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
@@ -34966,7 +34966,7 @@ function poe({ toast: e }) {
children: u.error || "任务失败"
});
else if (u) f = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Ww, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Vw, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34981,14 +34981,14 @@ function poe({ toast: e }) {
let e = Lae(r);
f = /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
- children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: e,
value: r.completed_sources || 0,
max: r.total_sources
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在检查本地磁盘和网盘…" })
});
} else if (r?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -35015,7 +35015,7 @@ function poe({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : cM
+ children: o ? "正在复核并清理…" : lM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -35041,7 +35041,7 @@ function poe({ toast: e }) {
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? uoe : sM,
+ leadingIcon: s && !i ? cM : sM,
...Y(i),
onClick: () => {
i || n.start.mutate();
@@ -35067,10 +35067,10 @@ function poe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function dM(e, t) {
+function fM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function fM({ section: e, label: t, icon: n, value: r, open: i }) {
+function pM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: MA({ interactive: !0 }),
@@ -35084,10 +35084,10 @@ function fM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var moe = kT("square-check-big"), hoe = kT("sparkles"), goe = kT("file-stack"), _oe = kT("file-archive"), voe = kT("trash"), yoe = [
+var moe = ET("square-check-big"), hoe = ET("sparkles"), goe = ET("file-stack"), _oe = ET("file-archive"), voe = ET("trash"), yoe = [
SA,
- pk,
- zO
+ fk,
+ FO
], boe = () => {
for (let e of yoe) X.invalidateQueries({
queryKey: e,
@@ -35099,11 +35099,11 @@ function xoe({ toast: e, failure: t, open: n }) {
queryKey: SA,
queryFn: ({ signal: e }) => EA(e)
}), i = kt({
- queryKey: pk,
- queryFn: ({ signal: e }) => mk(e)
+ queryKey: fk,
+ queryFn: ({ signal: e }) => pk(e)
}), o = kt({
- queryKey: zO,
- queryFn: ({ signal: e }) => BO(e)
+ queryKey: FO,
+ queryFn: ({ signal: e }) => IO(e)
}), s = kt({
queryKey: CA,
queryFn: ({ signal: e }) => DA(e)
@@ -35111,53 +35111,53 @@ function xoe({ toast: e, failure: t, open: n }) {
queryKey: TA,
queryFn: ({ signal: e }) => OA(e)
}), l = kt({
- queryKey: FO,
- queryFn: ({ signal: e }) => IO(e)
+ queryKey: MO,
+ queryFn: ({ signal: e }) => NO(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Zae,
+ className: Qae,
children: [
- /* @__PURE__ */ (0, L.jsx)(fM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
section: "review",
label: "人工复核",
icon: moe,
open: n,
- value: dM(r, Gae)
+ value: fM(r, Gae)
}),
- /* @__PURE__ */ (0, L.jsx)(fM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
section: "quality",
label: "高清版",
icon: hoe,
open: n,
- value: dM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: fM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(fM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
section: "duplicates",
label: "重复文件",
icon: goe,
open: n,
- value: dM(o, (e) => Number(e.total || 0) ? {
+ value: fM(o, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${a(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, L.jsx)(fM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
section: "ads",
label: "垃圾文件",
icon: _oe,
open: n,
- value: dM(s, (e) => ({
+ value: fM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
meta: Kae(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(fM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
section: "trash",
label: "回收站",
icon: voe,
open: n,
- value: dM(c, (e) => ({
+ value: fM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -35192,7 +35192,7 @@ function xoe({ toast: e, failure: t, open: n }) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function pM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function mM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, L.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
@@ -35219,7 +35219,7 @@ function pM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function mM(e) {
+function hM(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35239,7 +35239,7 @@ function mM(e) {
//#region src/react/components/filter-glass.tsx
function Soe({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return mM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return hM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35252,48 +35252,48 @@ function Soe({ title: e, children: t }) {
}), t]
});
}
-function hM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function gM({ 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, I.useRef)(null);
- return mM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return hM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: Tw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: Sw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: Tw("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: Sw("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, L.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: Tw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: Sw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
var Coe = "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 gM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+function _M({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: Tw(Coe, r),
+ className: Sw(Coe, r),
onClick: n,
children: e
});
}
var woe = "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 hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function _M({ children: e, onPress: t, busy: n = !1 }) {
+function vM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: woe,
@@ -35307,13 +35307,13 @@ function _M({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Toe = kT("play"), Eoe = kT("file-stack"), Doe = Vw({
+var Toe = ET("play"), Eoe = ET("file-stack"), Doe = Rw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), vM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", yM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", bM = "font-mono text-caption-1-regular leading-5 text-text-secondary", xM = () => {
+}), yM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", bM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", xM = "font-mono text-caption-1-regular leading-5 text-text-secondary", SM = () => {
X.invalidateQueries({
- queryKey: zO,
+ queryKey: FO,
exact: !0
}), X.invalidateQueries({
queryKey: TA,
@@ -35322,10 +35322,10 @@ var Toe = kT("play"), Eoe = kT("file-stack"), Doe = Vw({
};
function Ooe(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${yM} text-(--keep)`,
+ className: `${bM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${yM} text-text-secondary`,
+ className: `${bM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
@@ -35363,33 +35363,33 @@ function koe({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${vM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${yM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${vM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${yM} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
- className: `${bM} flex min-w-0 items-center gap-1.5`,
+ className: `${xM} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: p[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: bM,
+ className: xM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: bM,
+ className: xM,
children: i(t.duration)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${bM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${xM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
@@ -35397,21 +35397,21 @@ function koe({ file: t, openItem: n }) {
}
function Aoe({ openItem: t, toast: n, failure: r }) {
let i = kt({
- queryKey: zO,
- queryFn: ({ signal: e }) => BO(e)
- }), o = kt({
queryKey: FO,
queryFn: ({ signal: e }) => IO(e)
+ }), o = kt({
+ queryKey: MO,
+ queryFn: ({ signal: e }) => NO(e)
}), [s, c] = (0, I.useState)(""), l = At({
- mutationFn: (e) => GO(e, "dispose"),
+ mutationFn: (e) => UO(e, "dispose"),
onSuccess: (e, t) => {
- xM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ SM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await GO(t, "restore");
+ await UO(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- xM();
+ SM();
}
} });
},
@@ -35425,12 +35425,12 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "读取重复文件失败"
})
});
- let d = u.groups ?? [], f = tae(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = iae(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = iae(e, t);
+ let r = VO(e, t);
r.length && h({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${HO[t] ?? HO.largest}。文件共 ${a(aae(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${RO[t] ?? RO.largest}。文件共 ${a(HO(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -35438,7 +35438,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(pM, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
@@ -35446,7 +35446,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
d.length ? /* @__PURE__ */ (0, L.jsxs)(Soe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(_M, {
+ /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -35455,7 +35455,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(_M, {
+ /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -35464,7 +35464,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- rae(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(_M, {
+ BO(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -35501,7 +35501,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
}),
Ooe(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${yM} text-text-secondary`,
+ className: `${bM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35529,7 +35529,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- WO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ zO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35559,7 +35559,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
icon: Eoe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
@@ -35569,7 +35569,7 @@ function Aoe({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-var SM = "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", CM = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", joe = "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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", wM = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", TM = "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 CM = "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", wM = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", joe = "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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", TM = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", EM = "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/components/use-view-glide.ts
function Moe(e, t) {
@@ -35588,7 +35588,7 @@ function Moe(e, t) {
h: e.offsetHeight
};
}
-function EM(e, t, n, r) {
+function DM(e, t, n, r) {
let i = (0, I.useRef)(null), a = (0, I.useCallback)((r, a) => {
let o = e.current, s = t.current, c = o?.parentElement;
if (!o) return;
@@ -35630,19 +35630,19 @@ function EM(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Noe = (e) => e === "videos", DM = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var Noe = (e) => e === "videos", OM = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
function Poe(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Noe(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = EM(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = EM(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Noe(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = DM(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = DM(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, I.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
}, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Ioe, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, L.jsx)(hM, {
+ }), /* @__PURE__ */ (0, L.jsx)(gM, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -35668,7 +35668,7 @@ function Poe(e) {
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, L.jsx)(DM, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, L.jsx)(OM, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -35688,11 +35688,11 @@ function Poe(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(DM, {})]
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(OM, {})]
}), /* @__PURE__ */ (0, L.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(gM, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(_M, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -35806,21 +35806,21 @@ function Roe({ text: e, busy: t }) {
}) : e
});
}
-function OM({ label: e, value: t, options: n, onChange: r }) {
- return /* @__PURE__ */ (0, L.jsx)(RD, {
+function kM({ label: e, value: t, options: n, onChange: r }) {
+ return /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": e,
orientation: "horizontal",
value: t,
onChange: r,
"data-entity-layout": "",
- className: wM,
+ className: TM,
children: n.map(([e, t, n]) => {
- let r = kT(n);
- return /* @__PURE__ */ (0, L.jsx)(zD, {
+ let r = ET(n);
+ return /* @__PURE__ */ (0, L.jsx)(ID, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: TM,
+ className: EM,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -35830,7 +35830,7 @@ function OM({ label: e, value: t, options: n, onChange: r }) {
})
});
}
-function kM({ onPress: e, busy: t = !1 }) {
+function AM({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -35848,15 +35848,15 @@ function zoe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(kM, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, L.jsx)(OM, {
+ /* @__PURE__ */ (0, L.jsx)(AM, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, L.jsx)(kM, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
e.sorts.map((e) => {
- let n = kT(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = ET(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -35877,13 +35877,13 @@ function Boe({ head: e, actions: t, helpers: n }) {
}, [n, o]), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, L.jsx)(kM, {
+ e.shuffle ? /* @__PURE__ */ (0, L.jsx)(AM, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(OM, {
+ /* @__PURE__ */ (0, L.jsx)(kM, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -35899,36 +35899,36 @@ function Boe({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Voe = "/api/avatar-choices", AM = "/api/avatar-pick", Hoe = "/api/avatar-code-cover", Uoe = "/avatar-choice", jM = (e, t) => [
+var Voe = "/api/avatar-choices", jM = "/api/avatar-pick", Hoe = "/api/avatar-code-cover", Uoe = "/avatar-choice", MM = (e, t) => [
"avatar-choices",
e,
t
-], MM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, NM = (e, t, n) => `${Uoe}${MM(e, t)}&ref=${encodeURIComponent(n)}`, Woe = (e, t, n) => Nw(Voe + MM(e, t), n), Goe = (e) => q(Hoe, { code: e });
-function PM(e, t, n) {
+], NM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, PM = (e, t, n) => `${Uoe}${NM(e, t)}&ref=${encodeURIComponent(n)}`, Woe = (e, t, n) => Aw(Voe + NM(e, t), n), Goe = (e) => q(Hoe, { code: e });
+function FM(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Bie(e.focus, t, n) : CO(t, n);
+ return e.focus && r ? Uie(e.focus, t, n) : bO(t, n);
}
-var Koe = (e) => e.crop && SO({
+var Koe = (e) => e.crop && yO({
width: e.width,
height: e.height
});
async function qoe(e, t, n) {
if (!("file" in n)) {
- await q(AM, {
+ await q(jM, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${AM}${MM(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${jM}${NM(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new jw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new Ow(a?.error || `请求失败(${i.status})`, i.status, a);
}
function Joe(e, t) {
if (!t) return e;
@@ -35939,7 +35939,7 @@ var Yoe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor
function Xoe(e) {
return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Yoe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var FM = (e) => e.cast > 1, Zoe = (e) => FM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qoe = {
+var IM = (e) => e.cast > 1, Zoe = (e) => IM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qoe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -35952,7 +35952,7 @@ function $oe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var ese = (e) => `${Qoe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (FM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), tse = 8, nse = 3 / 4;
+var ese = (e) => `${Qoe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (IM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), tse = 8, nse = 3 / 4;
function rse({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", {
@@ -35963,12 +35963,12 @@ function rse({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, L.jsx)(Vte, {
+ children: /* @__PURE__ */ (0, L.jsx)(Wte, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, L.jsx)(OO, {
+ }), /* @__PURE__ */ (0, L.jsx)(TO, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
@@ -35983,13 +35983,13 @@ function rse({ kind: e, entityId: t, name: n, onPicked: r }) {
})] });
}
function ise({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = AO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = jM(e, t), g = (0, I.useRef)(!1), _ = kt({
+ let a = (0, I.useRef)(null), o = DO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = MM(e, t), g = (0, I.useRef)(!1), _ = kt({
queryKey: h,
queryFn: ({ signal: n }) => Woe(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: jM(e, t) });
+ g.current && X.removeQueries({ queryKey: MM(e, t) });
}, [e, t]);
let v = At({
mutationFn: (n) => qoe(e, t, n),
@@ -36008,17 +36008,17 @@ function ise({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(kO, { children: /* @__PURE__ */ (0, L.jsx)(HS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(EO, { children: /* @__PURE__ */ (0, L.jsx)(zS, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(tE, {
+ children: [/* @__PURE__ */ (0, L.jsx)(QT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(Ow, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(Tw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
@@ -36037,8 +36037,8 @@ function ise({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: bS,
+ /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: _S,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -36088,7 +36088,7 @@ function ise({ 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, L.jsx)(ase, {
- src: NM(e, t, n.ref),
+ src: PM(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -36097,15 +36097,15 @@ function ise({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, L.jsx)(Ow, {
+ children: /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- FM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ IM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)(Ow, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Tw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -36187,7 +36187,7 @@ function ase({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = Koe(t) ? Wie(PM(t, a, nse), a) : null, s = r ? !0 : void 0;
+ }, o = Koe(t) ? qie(FM(t, a, nse), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, L.jsx)("img", {
@@ -36213,22 +36213,22 @@ function ase({ src: e, choice: t }) {
});
}
function ose({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = NM(e, t, s), m = AO();
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = PM(e, t, s), m = DO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? Uie(d, l) : null;
+ let g = d && l ? Kie(d, l) : null;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
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, L.jsx)(MO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(kO, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), SO(e) && f(s === n.ref ? PM(n, e, 1) : CO(e, 1));
+ u(e), yO(e) && f(s === n.ref ? FM(n, e, 1) : bO(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -36280,7 +36280,7 @@ var sse = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function IM({ name: e }) {
+function LM({ name: e }) {
let t = sse[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
@@ -36291,19 +36291,19 @@ function IM({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function LM(e, t) {
+function RM(e, t) {
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;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var RM = (e) => !!e?.isConnected && e.matches(":popover-open");
-function zM(e, t, n, r) {
+var zM = (e) => !!e?.isConnected && e.matches(":popover-open");
+function BM(e, t, n, r) {
let i = (0, I.useRef)(r);
i.current = r, (0, I.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && RM(n.current) ? LM(t.current, n.current) : i.current();
+ t.current && zM(n.current) ? RM(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -36317,17 +36317,17 @@ function zM(e, t, n, r) {
n
]);
}
-function BM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function VM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, I.useRef)(null), s = (0, I.useRef)(null), [c, l] = (0, I.useState)(!1), u = (0, I.useRef)(!1), d = (0, I.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, RM(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, zM(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || RM(s.current)) && (s.current.showPopover(), LM(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || zM(s.current)) && (s.current.showPopover(), RM(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 zM(c, o, s, f), (0, I.useEffect)(() => {
+ return BM(c, o, s, f), (0, I.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -36353,7 +36353,7 @@ function BM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && RM(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && zM(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36373,14 +36373,14 @@ function BM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}
function cse({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(null), [s, c] = (0, I.useState)(!1), l = (0, I.useRef)(!1), u = () => {
- RM(o.current) && o.current.hidePopover(), c(!1);
+ zM(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || RM(o.current) || (o.current.showPopover(), LM(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || zM(o.current) || (o.current.showPopover(), RM(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return zM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
- i.current && RM(o.current) && LM(i.current, o.current);
+ return BM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
+ i.current && zM(o.current) && RM(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, L.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36389,7 +36389,7 @@ function cse({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, L.jsx)(IM, { name: "rss" }),
+ /* @__PURE__ */ (0, L.jsx)(LM, { name: "rss" }),
/* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
type: "checkbox",
@@ -36428,25 +36428,25 @@ function lse({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, L.jsxs)(Dre, {
+ }, []), /* @__PURE__ */ (0, L.jsxs)(Are, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, L.jsx)($T, {
+ children: [/* @__PURE__ */ (0, L.jsx)(XT, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, L.jsx)(IM, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ children: /* @__PURE__ */ (0, L.jsx)(LM, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
className: LA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(kre, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Mre, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(DD, {
+ /* @__PURE__ */ (0, L.jsx)(wD, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -36454,20 +36454,20 @@ function lse({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(kD, {
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(ED, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, L.jsx)(LM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(lre, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, L.jsx)(DD, { children: /* @__PURE__ */ (0, L.jsxs)(kD, {
+ /* @__PURE__ */ (0, L.jsx)(fre, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(wD, { children: /* @__PURE__ */ (0, L.jsxs)(ED, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(LM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
}) })
]
})
@@ -36478,7 +36478,7 @@ var use = (e) => e === "studio" || e === "agency", dse = (e) => e === "performer
function pse(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function VM(e) {
+function HM(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -36489,13 +36489,13 @@ function VM(e) {
linked: !1
} : null;
}
-function HM(e, t) {
+function UM(e, t) {
let n = u(e, "performer"), r = o(t);
return r && [e.label, n].map(o).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var UM = (e) => ({ site: c(e) });
+var WM = (e) => ({ site: c(e) });
function mse(e, n) {
- let r = VM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+ let r = HM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -36505,7 +36505,7 @@ function mse(e, n) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${HM(e, r)} · ${t}`
+ title: `${UM(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -36516,8 +36516,8 @@ function mse(e, n) {
if (n === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: HM(e, r),
- mark: UM(e)
+ title: UM(e, r),
+ mark: WM(e)
};
if (e.link_kind === "social") {
let n = t(i);
@@ -36525,7 +36525,7 @@ function mse(e, n) {
type: "icon",
url: i,
title: e.label || "",
- mark: n ? { brand: n } : UM(e)
+ mark: n ? { brand: n } : WM(e)
};
}
return {
@@ -36533,12 +36533,12 @@ function mse(e, n) {
url: i,
title: e.label || "",
text: u(e, n, a),
- mark: UM(e)
+ mark: WM(e)
};
});
return [...i, ...o];
}
-var WM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+var GM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
function hse(e) {
if (!e) return [];
let t = [];
@@ -36615,7 +36615,7 @@ function _se(e) {
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
function vse({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = dse(e), l = use(e), u = e === "performer" ? hse(n.profile) : [], d = mse(n, e), f = WM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+ let c = dse(e), l = use(e), u = e === "performer" ? hse(n.profile) : [], d = mse(n, e), f = GM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, I.useEffect)(() => {
@@ -36723,7 +36723,7 @@ function yse({ kind: e, name: t, helpers: n, people: i, company: a }) {
});
}
function bse({ kind: e, entity: t, actions: r }) {
- let i = VM(t), a = (e, t) => (n) => {
+ let i = HM(t), a = (e, t) => (n) => {
n.preventDefault(), r.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, L.jsx)("a", {
href: n("agency", i.name),
@@ -36739,23 +36739,23 @@ function bse({ kind: e, entity: t, actions: r }) {
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, L.jsx)(LM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, L.jsx)(LM, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, L.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, L.jsx)(IM, { name: "id-card" }),
+ /* @__PURE__ */ (0, L.jsx)(LM, { name: "id-card" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, L.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(BM, {
+ e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(VM, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
@@ -36803,7 +36803,7 @@ function xse({ label: e, names: t }) {
})] });
}
function Sse({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(LM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
@@ -36814,7 +36814,7 @@ function Cse({ tags: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, L.jsx)(BM, {
+ }, e)), n ? /* @__PURE__ */ (0, L.jsx)(VM, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -36829,10 +36829,10 @@ function Cse({ tags: e }) {
})
}) : null] });
}
-function GM({ mark: e }) {
+function KM({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, L.jsx)(IM, { name: e.brand })
+ children: /* @__PURE__ */ (0, L.jsx)(LM, { name: e.brand })
});
let t = s("globe") + ("site" in e ? `<img src="${r(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36849,19 +36849,19 @@ function wse({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(GM, { mark: e.mark })
+ children: /* @__PURE__ */ (0, L.jsx)(KM, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(GM, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, L.jsx)(KM, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, L.jsx)(GM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(KM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -36872,7 +36872,7 @@ function wse({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, L.jsx)(GM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(KM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-label": "",
children: e.text
})]
@@ -36897,14 +36897,14 @@ function Tse({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entry-marks": "",
- children: [WM(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ children: [GM(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(IM, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(LM, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36945,7 +36945,7 @@ function Ese({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var KM = [
+var qM = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -36953,7 +36953,7 @@ var KM = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Dse = "checked", qM = {
+], Dse = "checked", JM = {
checked: "desc",
added: "desc",
name: "asc",
@@ -36961,32 +36961,32 @@ var KM = [
source: "asc",
provider: "asc",
status: "asc"
-}, Ose = (e) => KM.some(([t]) => t === e);
-function JM(e, t) {
+}, Ose = (e) => qM.some(([t]) => t === e);
+function YM(e, t) {
let n = Ose(e) ? e : Dse;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : qM[n]
+ dir: t === "asc" || t === "desc" ? t : JM[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var YM = "/api/follow", kse = "/api/follow/credentials", XM = "/api/follow/check", ZM = "/api/follow/source", QM = "/api/follow/resolve", Ase = "/api/follow/suggest", $M = "/api/follow/author-alias", jse = "/api/follow/credential", Mse = "/api/follow/status", Nse = "/api/feeds", eN = "/api/feeds/source", Pse = "/api/feeds/check", Fse = "/api/feeds/lookup", tN = ["follow-manage"], nN = ["follow-manage", "credentials"], Ise = ["follow-manage", "check"], Lse = ["follow-manage", "resolve"], rN = ["follow-manage", "feeds"], Rse = (e) => [
+var XM = "/api/follow", kse = "/api/follow/credentials", ZM = "/api/follow/check", QM = "/api/follow/source", $M = "/api/follow/resolve", Ase = "/api/follow/suggest", eN = "/api/follow/author-alias", jse = "/api/follow/credential", Mse = "/api/follow/status", Nse = "/api/feeds", tN = "/api/feeds/source", Pse = "/api/feeds/check", Fse = "/api/feeds/lookup", nN = ["follow-manage"], rN = ["follow-manage", "credentials"], Ise = ["follow-manage", "check"], Lse = ["follow-manage", "resolve"], iN = ["follow-manage", "feeds"], Rse = (e) => [
"follow-manage",
"suggest",
e
-], iN = [["default", "默认视图"], ["table", "表格视图"]], aN = [
+], aN = [["default", "默认视图"], ["table", "表格视图"]], oN = [
10,
20,
50,
100
-], zse = Object.fromEntries(KM), oN = {
+], zse = Object.fromEntries(qM), sN = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Bse = (e) => iN.some(([t]) => t === e), Vse = (e) => aN.includes(Number(e)) ? Number(e) : 20, Hse = {
+}, Bse = (e) => aN.some(([t]) => t === e), Vse = (e) => oN.includes(Number(e)) ? Number(e) : 20, Hse = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -36995,24 +36995,24 @@ var YM = "/api/follow", kse = "/api/follow/credentials", XM = "/api/follow/check
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
}, Use = (e, t) => `按${zse[e]}${Hse[e][t === "asc" ? 0 : 1]}排序`;
-function sN(e) {
+function cN(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
function Wse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var cN = (e) => e.last_status === "error" || e.last_status === "unauthorized", lN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), uN = {
- source: lN,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || lN(e, t),
- status: (e, t) => sN(e) - sN(t) || lN(e, t)
-}, dN = (e) => Date.parse(e || "") || 0, fN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function pN(e, t = []) {
+var lN = (e) => e.last_status === "error" || e.last_status === "unauthorized", uN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), dN = {
+ source: uN,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || uN(e, t),
+ status: (e, t) => cN(e) - cN(t) || uN(e, t)
+}, fN = (e) => Date.parse(e || "") || 0, pN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function mN(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || fN(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || pN(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return fN(i.canonical_name);
+ if (i) return pN(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -37031,7 +37031,7 @@ function Kse(e) {
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function mN(e) {
+function hN(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -37040,31 +37040,31 @@ function mN(e) {
return t.map((e) => n.get(e));
}
function qse(e, t, n, r = []) {
- let i = mN(e), a = n === qM[t] ? 1 : -1, o = (e) => pN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = uN[t];
+ let i = hN(e), a = n === JM[t] ? 1 : -1, o = (e) => mN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = dN[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => dN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => dN(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => fN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => fN(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
function Jse(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = pN(e, r);
+ let t = mN(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = uN[t];
+ }), a = dN[t];
if (a) {
- let e = n === qM[t] ? 1 : -1;
+ let e = n === JM[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
function Yse(e, t, n) {
- let r = vk(e, t), i = yk(n, r), a = (i - 1) * t;
+ let r = _k(e, t), i = vk(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -37077,43 +37077,43 @@ function Xse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function hN(e, t) {
+function gN(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function gN(e, t, n) {
+function _N(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var _N = (e) => Nw(`${YM}?summary=1`, e), vN = (e) => Nw(kse, e), Zse = (e) => Nw(XM, e), Qse = (e) => Nw(QM, e), $se = (e, t) => Nw(`${Ase}?q=${encodeURIComponent(e)}`, t), yN = (e) => q(XM, {
+var vN = (e) => Aw(`${XM}?summary=1`, e), yN = (e) => Aw(kse, e), Zse = (e) => Aw(ZM, e), Qse = (e) => Aw($M, e), $se = (e, t) => Aw(`${Ase}?q=${encodeURIComponent(e)}`, t), bN = (e) => q(ZM, {
...e?.length ? { sources: e } : {},
background: !0
-}), ece = (e) => q(QM, {
+}), ece = (e) => q($M, {
lines: e,
background: !0
-}), bN = (e, t) => q(ZM, {
+}), xN = (e, t) => q(QM, {
action: "enabled",
id: e,
enabled: t
-}), xN = (e) => q(ZM, {
+}), SN = (e) => q(QM, {
action: "remove",
id: e
-}), tce = (e) => q(ZM, {
+}), tce = (e) => q(QM, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), SN = (e, t) => q($M, {
+}), CN = (e, t) => q(eN, {
action: "add",
canonical: e,
alias: t
-}), nce = (e) => q($M, {
+}), nce = (e) => q(eN, {
action: "remove",
alias: e
}), rce = (e, t) => q(jse, {
@@ -37122,42 +37122,42 @@ var _N = (e) => Nw(`${YM}?summary=1`, e), vN = (e) => Nw(kse, e), Zse = (e) => N
}), ice = (e, t) => q(Mse, {
item: e,
to: t
-}), ace = () => Nw(`${YM}?status=new&limit=1000`);
-async function CN(e) {
- let t = await Nw(Nse, e);
+}), ace = () => Aw(`${XM}?status=new&limit=1000`);
+async function wN(e) {
+ let t = await Aw(Nse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var wN = (e, t, n) => q(eN, {
+var TN = (e, t, n) => q(tN, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), TN = (e, t) => q(eN, {
+}, "POST", n), EN = (e, t) => q(tN, {
action: "remove",
id: e
-}, "POST", t), EN = (e, t) => q(Pse, t?.length ? { sources: t } : { all: !0 }, "POST", e), oce = (e, t) => Nw(`${Fse}?q=${encodeURIComponent(e)}`, t), sce = (e, t, n) => q(eN, {
+}, "POST", t), DN = (e, t) => q(Pse, t?.length ? { sources: t } : { all: !0 }, "POST", e), oce = (e, t) => Aw(`${Fse}?q=${encodeURIComponent(e)}`, t), sce = (e, t, n) => q(tN, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
async function cce(e, t = "") {
await Promise.all([
- X.fetchQuery({
- queryKey: tN,
- queryFn: () => _N(e)
- }),
X.fetchQuery({
queryKey: nN,
queryFn: () => vN(e)
}),
- t === "feeds" ? X.fetchQuery({
+ X.fetchQuery({
queryKey: rN,
- queryFn: () => CN(e)
+ queryFn: () => yN(e)
+ }),
+ t === "feeds" ? X.fetchQuery({
+ queryKey: iN,
+ queryFn: () => wN(e)
}) : null
]);
}
-function DN(e, t) {
- X.setQueryData(tN, (n) => n && {
+function ON(e, t) {
+ X.setQueryData(nN, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -37165,15 +37165,15 @@ function DN(e, t) {
} : n)
});
}
-function ON(e) {
+function kN(e) {
let t = new Set(e);
- X.setQueryData(tN, (e) => e && {
+ X.setQueryData(nN, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var kN = () => X.invalidateQueries({
- queryKey: tN,
+var AN = () => X.invalidateQueries({
+ queryKey: nN,
exact: !0
});
function lce(e) {
@@ -37182,7 +37182,7 @@ function lce(e) {
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var uce = (e) => (e?.results || []).filter((e) => !e.ok), dce = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", AN = (e) => e.last_checked_at ? bk(e.last_checked_at) : "未检查", fce = /* @__PURE__ */ new Set([
+var uce = (e) => (e?.results || []).filter((e) => !e.ok), dce = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", jN = (e) => e.last_checked_at ? bk(e.last_checked_at) : "未检查", fce = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -37195,7 +37195,7 @@ var uce = (e) => (e?.results || []).filter((e) => !e.ok), dce = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), jN = (e) => fce.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", MN = {
+]), pce = (e) => fce.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", MN = {
required: "需要",
optional: "可选",
none: "不需要",
@@ -37204,7 +37204,7 @@ var uce = (e) => (e?.results || []).filter((e) => !e.ok), dce = (e) => (e?.resul
//#endregion
//#region src/react/follow-manage/source-view.tsx
function PN({ provider: e, label: t }) {
- let n = jN(e), [r, i] = (0, I.useState)(!1);
+ let n = pce(e), [r, i] = (0, I.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : null : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("img", {
src: n,
alt: "",
@@ -37233,8 +37233,8 @@ function FN({ group: e, name: t }) {
});
}
function IN({ source: e }) {
- let t = cN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(Ow, {
+ let t = lN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: t,
children: Wse(e)
@@ -37252,11 +37252,11 @@ function LN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var RN = Tw(RA, zA, "text-body-2-medium"), zN = "粘贴来源链接,或输入创作者名、id…", BN = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", VN = "识别中…", HN = "站内没有查到来源", UN = (e, t) => `${e}:${t.url}`;
+var RN = Sw(RA, zA, "text-body-2-medium"), zN = "粘贴来源链接,或输入创作者名、id…", BN = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", VN = "识别中…", HN = "站内没有查到来源", UN = (e, t) => `${e}:${t.url}`;
function WN({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, I.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(bD, {
+ }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(_D, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -37268,17 +37268,17 @@ function WN({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: Tw(LA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Sw(LA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? Tw(RN, "bg-background-secondary-default") : RN,
+ className: t === r ? Sw(RN, "bg-background-secondary-default") : RN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -37306,20 +37306,20 @@ function GN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: Kte,
+ leadingIcon: Yte,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
className: LA,
- children: /* @__PURE__ */ (0, L.jsxs)(jD, {
+ children: /* @__PURE__ */ (0, L.jsxs)(OD, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -37368,7 +37368,7 @@ function KN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
@@ -37489,7 +37489,7 @@ function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
E((e) => e + 1);
}
if (n.length) try {
- await yN(n);
+ await bN(n);
} catch (e) {
t.push(K(e));
}
@@ -37499,7 +37499,7 @@ function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
};
},
onSuccess: (e) => {
- if (kN(), e.failures.length) {
+ if (AN(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -37508,7 +37508,7 @@ function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37532,7 +37532,7 @@ function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
"aria-label": "来源链接、名字或 id",
placeholder: zN,
value: a,
- leadingIcon: LS,
+ leadingIcon: PS,
isDisabled: n,
onChange: o,
onKeyDown: ne
@@ -37564,11 +37564,11 @@ function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Gw, {
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: se ? BN : VN }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: se ? BN : VN }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -37656,9 +37656,9 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
let t = 0;
for (let n of e) {
try {
- await SN(n.canonical, n.alias);
+ await CN(n.canonical, n.alias);
} catch (n) {
- throw t && kN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && AN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -37668,19 +37668,19 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), kN(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), AN(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), m = At({
- mutationFn: (e) => SN(e.canonical, e.alias),
+ mutationFn: (e) => CN(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), kN(), i("已保存创作者别名");
+ c(""), u(""), f(""), AN(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), g = At({
mutationFn: (e) => nce(e),
onSuccess: () => {
- c(""), kN(), i("已移除创作者别名");
+ c(""), AN(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -37692,7 +37692,7 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, v = t.filter((e) => a.has(YN(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37766,8 +37766,8 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}), /* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(QD, { children: [
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "select",
children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
@@ -37777,30 +37777,30 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onChange: (e) => o(e ? new Set(t.map(YN)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, L.jsx)(nO, {
+ /* @__PURE__ */ (0, L.jsx)($D, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => {
+ ] }), /* @__PURE__ */ (0, L.jsx)(tO, { children: t.map((e) => {
let t = YN(e);
- return /* @__PURE__ */ (0, L.jsxs)(sO, {
+ return /* @__PURE__ */ (0, L.jsxs)(iO, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -37809,16 +37809,16 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: e.alias }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: e.alias }),
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -37842,20 +37842,20 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}), e.length ? /* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [/* @__PURE__ */ (0, L.jsx)(nO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(QD, { children: [/* @__PURE__ */ (0, L.jsx)($D, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, L.jsx)(nO, {
+ }), /* @__PURE__ */ (0, L.jsx)($D, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
+ })] }), /* @__PURE__ */ (0, L.jsx)(tO, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(iO, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, L.jsx)(oO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -37863,7 +37863,7 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: bS,
+ leadingIcon: _S,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(g.isPending),
@@ -37877,9 +37877,9 @@ function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: HS,
+ icon: zS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -37894,13 +37894,13 @@ function rP(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function iP({ row: e }) {
- if (NN(e)) return /* @__PURE__ */ (0, L.jsx)(Ow, {
+ if (NN(e)) return /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(Ow, {
+ return /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: t,
children: MN[e.requirement] || ""
@@ -37915,7 +37915,7 @@ function aP({ row: e, readOnly: t, toast: n }) {
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: nN,
+ queryKey: rN,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -38005,7 +38005,7 @@ function oP({ row: e, readOnly: t, toast: n }) {
children: e.provider_label
}),
/* @__PURE__ */ (0, L.jsx)(iP, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)(Ow, {
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -38031,7 +38031,7 @@ function oP({ row: e, readOnly: t, toast: n }) {
function sP({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !NN(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -38047,7 +38047,7 @@ function sP({ data: e, readOnly: t, toast: n }) {
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
@@ -38077,9 +38077,9 @@ function sP({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: jS,
+ icon: OS,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -39491,8 +39491,11 @@ function MF(e) {
})), n.current;
}
//#endregion
+//#region src/react/components/legacy-avatar.ts
+var NF = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";
+//#endregion
//#region src/react/components/selection-dock.tsx
-function NF({ children: e, count: t, label: n }) {
+function PF({ children: e, count: t, label: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": n,
@@ -39507,8 +39510,8 @@ function NF({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var PF = "输入女优名,到 JavDB 找她的演员页";
-function FF(e, t) {
+var FF = "输入女优名,到 JavDB 找她的演员页";
+function IF(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -39527,7 +39530,7 @@ function FF(e, t) {
blocked: !1
};
}
-function IF({ card: e, picked: t, onPick: n }) {
+function LF({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)(Nj, {
@@ -39540,7 +39543,7 @@ function IF({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, L.jsx)(Ow, {
+ e.record ? /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "neutral",
children: e.record
@@ -39557,8 +39560,8 @@ function IF({ card: e, picked: t, onPick: n }) {
})]
});
}
-function LF({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Yw(), u = () => {
+function RF({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Kw(), u = () => {
let t = r.trim();
!t || e || l.run("lookup", (e) => oce(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -39571,9 +39574,9 @@ function LF({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => sce(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? FF(a, s) : null;
+ }, m = a ? IF(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -39588,9 +39591,9 @@ function LF({ readOnly: e, toast: t, onAdded: n }) {
className: "min-w-64 grow",
children: /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "女优名",
- placeholder: PF,
+ placeholder: FF,
value: r,
- leadingIcon: LS,
+ leadingIcon: PS,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -39612,7 +39615,7 @@ function LF({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, L.jsx)(tj, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(IF, {
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(LF, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
@@ -39647,7 +39650,7 @@ function LF({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var RF = {
+var zF = {
select: "选择",
name: "名称",
kind: "类型",
@@ -39657,71 +39660,70 @@ var RF = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, zF = /* @__PURE__ */ new Set(["select", "actions"]), BF = () => X.invalidateQueries({
- queryKey: rN,
+}, BF = /* @__PURE__ */ new Set(["select", "actions"]), VF = () => X.invalidateQueries({
+ queryKey: iN,
exact: !0
-}), VF = (e) => e.name || e.url, HF = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function UF(e) {
+}), HF = (e) => e.name || e.url, UF = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function WF(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function WF({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, L.jsx)(Ow, {
+function GF({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(Ow, {
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, L.jsx)(Ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function GF({ source: e }) {
- return e.has_image && e.entity_id ? /* @__PURE__ */ (0, L.jsx)("img", {
- src: `/entity-image?kind=performer&id=${e.entity_id}&thumb=1`,
- alt: "",
- width: 32,
- height: 32,
- loading: "lazy",
- className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"
- }) : /* @__PURE__ */ (0, L.jsx)("span", {
+function KF({ source: e, avatarInner: t }) {
+ let n = e.entity_id ? {
+ id: e.entity_id,
+ has_image: !!e.has_image,
+ avatar_focus: e.avatar_focus
+ } : null;
+ return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: VF(e).slice(0, 1)
+ 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 ${NF}`,
+ dangerouslySetInnerHTML: { __html: t(HF(e), n, null, "performer") }
});
}
-function KF(e, t) {
+var qF = (e) => e.page_name && e.page_name !== e.name ? e.page_name : "";
+function JF(e, t) {
let n = e.length === 1 ? e[0] : null;
return h({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${VF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${HF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function qF({ readOnly: e, toast: t }) {
- let n = kt({
- queryKey: rN,
- queryFn: ({ signal: e }) => CN(e)
- }), r = Yw(), i = n.data, a = (0, I.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, I.useState)(/* @__PURE__ */ new Set());
+function YF({ readOnly: e, toast: t, avatarInner: n }) {
+ let r = kt({
+ queryKey: iN,
+ queryFn: ({ signal: e }) => wN(e)
+ }), i = Kw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set());
(0, I.useEffect)(() => {
- s((e) => {
- let t = new Set(a.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
+ c((e) => {
+ let t = new Set(o.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
return n.size === e.size ? e : n;
});
- }, [a]);
- let c = At({
+ }, [o]);
+ let u = At({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await TN(t) : await wN(t, e.action === "enabled");
+ e.action === "remove" ? await EN(t) : await TN(t, e.action === "enabled");
});
return {
...e,
@@ -39729,31 +39731,33 @@ function qF({ 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()), BF(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
+ if (c(/* @__PURE__ */ new Set()), VF(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
- r.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
+ i.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
}
},
- onError: (e) => r.setError(K(e))
- }), u = (0, I.useRef)({
+ onError: (e) => i.setError(K(e))
+ }), d = (0, I.useRef)({
readOnly: e,
+ avatarInner: n,
busy: null,
toggle: () => {},
fetch: () => {},
remove: () => {}
});
- u.current = {
+ d.current = {
readOnly: e,
- busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => wN(e.id, t, n), () => void BF()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => EN(t, [e.id]), () => void BF()),
- remove: (e) => void KF([e], async () => {
- await TN(e.id), t(`已移除订阅源「${VF(e)}」`), BF();
+ avatarInner: n,
+ busy: i.busy,
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => TN(e.id, t, n), () => void VF()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => DN(t, [e.id]), () => void VF()),
+ remove: (e) => void JF([e], async () => {
+ await EN(e.id), t(`已移除订阅源「${HF(e)}」`), VF();
})
};
- let d = (0, I.useMemo)(() => {
- let e = cP(), t = (e) => () => RF[e] || e;
+ let f = (0, I.useMemo)(() => {
+ let e = cP(), t = (e) => () => zF[e] || e;
return [
e.display({
id: "select",
@@ -39762,16 +39766,30 @@ function qF({ readOnly: e, toast: t }) {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${VF(e.row.original)}`
+ "aria-label": `选择 ${HF(e.row.original)}`
})
}),
- e.accessor(VF, {
+ e.accessor(HF, {
id: "name",
header: t("name"),
- cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
- className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
- children: [/* @__PURE__ */ (0, L.jsx)(GF, { source: e.row.original }), e.getValue()]
- })
+ cell: (e) => {
+ let t = qF(e.row.original);
+ return /* @__PURE__ */ (0, L.jsxs)("span", {
+ className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(KF, {
+ source: e.row.original,
+ avatarInner: d.current.avatarInner
+ }),
+ e.getValue(),
+ t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ title: `站上这一页挂在「${t}」名下`,
+ children: t
+ }) : null
+ ]
+ });
+ }
}),
e.accessor((e) => e.kind_label, {
id: "kind",
@@ -39790,15 +39808,15 @@ function qF({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: UF(e.getValue())
+ children: WF(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(WF, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(GF, { source: e.row.original })
}),
- e.accessor((e) => HF(e.interval_minutes), {
+ e.accessor((e) => UF(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39828,95 +39846,95 @@ function qF({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(yO, {
- "aria-label": `启用 ${VF(e.row.original)}`,
+ /* @__PURE__ */ (0, L.jsx)(gO, {
+ "aria-label": `启用 ${HF(e.row.original)}`,
isSelected: e.row.original.enabled,
- isDisabled: u.current.readOnly,
- onChange: (t) => u.current.toggle(e.row.original, t)
+ isDisabled: d.current.readOnly,
+ onChange: (t) => d.current.toggle(e.row.original, t)
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: FS,
- "aria-label": `拉取 ${VF(e.row.original)}`,
- disabled: u.current.readOnly,
- ...Y(u.current.busy === `check-${e.row.original.id}`),
- onClick: () => u.current.fetch(e.row.original)
+ leadingIcon: MS,
+ "aria-label": `拉取 ${HF(e.row.original)}`,
+ disabled: d.current.readOnly,
+ ...Y(d.current.busy === `check-${e.row.original.id}`),
+ onClick: () => d.current.fetch(e.row.original)
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: CS,
- "aria-label": `移除 ${VF(e.row.original)}`,
- disabled: u.current.readOnly,
- onClick: () => u.current.remove(e.row.original)
+ leadingIcon: bS,
+ "aria-label": `移除 ${HF(e.row.original)}`,
+ disabled: d.current.readOnly,
+ onClick: () => d.current.remove(e.row.original)
})
]
})
})
];
- }, []), f = (0, I.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), p = MF({
- data: a,
- columns: d,
+ }, []), p = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), m = MF({
+ data: o,
+ columns: f,
getRowId: (e) => String(e.id),
- state: { rowSelection: f },
+ state: { rowSelection: p },
enableRowSelection: !0,
onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(f) : e;
- s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ let t = typeof e == "function" ? e(p) : e;
+ c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
getCoreRowModel: TF()
});
- if (!i) return n.error ? /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!a) return r.error ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开订阅源",
- children: K(n.error)
+ children: K(r.error)
}) : /* @__PURE__ */ (0, L.jsx)($A, { children: "正在读订阅源。" });
- let m = () => void r.run("check", (e) => EN(e), () => void BF()), h = (e) => s((t) => {
+ let h = () => void i.run("check", (e) => DN(e), () => void VF()), g = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
- }), g = a.filter((e) => o.has(e.id)), _ = a.filter((e) => e.last_error);
+ }), _ = o.filter((e) => s.has(e.id)), v = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(LF, {
+ /* @__PURE__ */ (0, L.jsx)(RF, {
readOnly: e,
toast: t,
- onAdded: () => void BF()
+ onAdded: () => void VF()
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, L.jsx)($A, {
role: "status",
- children: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了"
+ children: a.unread ? `有 ${a.unread} 条新作还没看` : "新作都看过了"
}), /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: m,
+ onClick: h,
disabled: e,
- ...Y(r.busy === "check"),
+ ...Y(i.busy === "check"),
children: "立即拉取"
})]
}),
- _.length || r.error ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ v.length || i.error ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [_.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
+ children: [v.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
- title: `${VF(e)} 拉取失败`,
+ title: `${HF(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: r.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: i.error }) : null]
}) : null,
- g.length ? /* @__PURE__ */ (0, L.jsxs)(NF, {
+ _.length ? /* @__PURE__ */ (0, L.jsxs)(PF, {
label: "订阅源批量操作",
- count: `已选 ${g.length} 条订阅源`,
+ count: `已选 ${_.length} 条订阅源`,
children: [
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: e,
- ...Y(c.isPending),
- onClick: () => c.mutate({
- ids: g.map((e) => e.id),
+ ...Y(u.isPending),
+ onClick: () => u.mutate({
+ ids: _.map((e) => e.id),
action: "enabled"
}),
children: "启用"
@@ -39925,9 +39943,9 @@ function qF({ readOnly: e, toast: t }) {
variant: "secondary",
size: "small",
disabled: e,
- ...Y(c.isPending),
- onClick: () => c.mutate({
- ids: g.map((e) => e.id),
+ ...Y(u.isPending),
+ onClick: () => u.mutate({
+ ids: _.map((e) => e.id),
action: "paused"
}),
children: "暂停"
@@ -39936,9 +39954,9 @@ function qF({ readOnly: e, toast: t }) {
variant: "danger",
size: "small",
disabled: e,
- ...Y(c.isPending),
- onClick: () => void KF(g, () => c.mutateAsync({
- ids: g.map((e) => e.id),
+ ...Y(u.isPending),
+ onClick: () => void JF(_, () => u.mutateAsync({
+ ids: _.map((e) => e.id),
action: "remove"
})),
children: "移除"
@@ -39946,31 +39964,31 @@ function qF({ readOnly: e, toast: t }) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
size: "small",
- onClick: () => s(/* @__PURE__ */ new Set()),
+ onClick: () => c(/* @__PURE__ */ new Set()),
children: "取消选择"
})
]
}) : null,
- a.length ? /* @__PURE__ */ (0, L.jsx)(Lj, {
- onRowClick: (e) => h(Number(e)),
+ o.length ? /* @__PURE__ */ (0, L.jsx)(Lj, {
+ onRowClick: (e) => g(Number(e)),
children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
- "aria-label": "订阅源",
+ "aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: p.getHeaderGroups()[0].headers.map((e) => {
+ children: [/* @__PURE__ */ (0, L.jsx)(QD, { children: m.getHeaderGroups()[0].headers.map((e) => {
let t = OF(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(nO, {
+ return /* @__PURE__ */ (0, L.jsx)($D, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: zF.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(G_, { children: t }) : t
+ children: BF.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(G_, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(iO, { children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(tO, { children: m.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(iO, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(oO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: IS,
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: NS,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -39980,19 +39998,19 @@ function qF({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var JF = Object.fromEntries(Object.entries(oN).map(([e, t]) => [t, e])), YF = 740;
-function XF() {
+var XF = Object.fromEntries(Object.entries(sN).map(([e, t]) => [t, e])), ZF = 740;
+function QF() {
let [e, t] = (0, I.useState)(!1), n = (0, I.useRef)(null), r = (0, I.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < YF));
- r.observe(e), n.current = r, t(e.clientWidth < YF);
+ let r = new ResizeObserver(() => t(e.clientWidth < ZF));
+ r.observe(e), n.current = r, t(e.clientWidth < ZF);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var ZF = {
+var $F = {
select: "选择",
author: "创作者",
source: "来源",
@@ -40001,7 +40019,7 @@ var ZF = {
checked: "上次检查",
actions: "操作"
};
-function QF({ page: e, pages: t, onPage: n }) {
+function eI({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -40015,7 +40033,7 @@ function QF({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: _k(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: gk(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -40038,7 +40056,7 @@ function QF({ page: e, pages: t, onPage: n }) {
]
});
}
-function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
+function tI({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
@@ -40069,9 +40087,9 @@ function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, L.jsx)(IN, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: AN(e)
+ children: jN(e)
}),
- /* @__PURE__ */ (0, L.jsx)(yO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -40083,7 +40101,7 @@ function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: MS,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -40092,7 +40110,7 @@ function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CS,
+ leadingIcon: bS,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -40101,11 +40119,11 @@ function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(cN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = hN(r, c);
+function nI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(lN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = gN(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Vw({
+ className: Rw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -40127,7 +40145,7 @@ function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: MS,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -40145,7 +40163,7 @@ function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: yS,
+ leadingIcon: gS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -40156,7 +40174,7 @@ function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? vS : hS,
+ leadingIcon: n ? hS : fS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -40166,7 +40184,7 @@ function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)($F, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(tI, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -40175,8 +40193,8 @@ function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function tI(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = XF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => qse(v, n, r, y), [
+function rI(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = QF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => qse(v, n, r, y), [
v,
n,
r,
@@ -40189,23 +40207,23 @@ function tI(e) {
]), { job: k, running: A, outcome: j, start: M } = Dj({
queryKey: Ise,
queryFn: ({ signal: e }) => Zse(e),
- start: (e) => yN(e),
+ start: (e) => bN(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- kN(), g(e.status === "failed" ? e.error || "检查失败" : lce(e));
+ AN(), g(e.status === "failed" ? e.error || "检查失败" : lce(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(gN(s, [e], t)), te = (e, t) => m(gN(s, e, t)), P = At({
- mutationFn: (e) => xN(e),
+ }, ee = (e, t) => m(_N(s, [e], t)), te = (e, t) => m(_N(s, e, t)), P = At({
+ mutationFn: (e) => SN(e),
onSuccess: (e, t) => {
- ON([t]), m(gN(s, [t], !1)), g("已取消关注来源");
+ kN([t]), m(_N(s, [t], !1)), g("已取消关注来源");
},
onError: (e) => E(K(e))
}), F = At({
- mutationFn: (e) => bN(e.id, e.enabled),
+ mutationFn: (e) => xN(e.id, e.enabled),
onSuccess: (e, t) => {
- DN(t.id, { enabled: t.enabled }), E("");
+ ON(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
}), ne = (e) => void h({
@@ -40217,7 +40235,7 @@ function tI(e) {
}), re = At({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await xN(t) : await bN(t, e.action === "enabled");
+ e.action === "remove" ? await SN(t) : await xN(t, e.action === "enabled");
});
return {
...e,
@@ -40226,9 +40244,9 @@ function tI(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") ON(e.done);
- else for (let t of e.done) DN(t, { enabled: e.action === "enabled" });
- m(gN(s, e.done, !1));
+ if (e.action === "remove") kN(e.done);
+ else for (let t of e.done) ON(t, { enabled: e.action === "enabled" });
+ m(_N(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -40252,7 +40270,7 @@ function tI(e) {
};
},
onSuccess: (e) => {
- if (kN(), e.failed.length) {
+ if (AN(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -40277,7 +40295,7 @@ function tI(e) {
readOnly: c
};
let se = oe.current, ce = (0, I.useMemo)(() => {
- let e = cP(), t = (e) => () => ZF[e] || e;
+ let e = cP(), t = (e) => () => $F[e] || e;
return [
e.display({
id: "select",
@@ -40330,7 +40348,7 @@ function tI(e) {
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => AN(e.row.original.source)
+ cell: (e) => jN(e.row.original.source)
}),
e.display({
id: "actions",
@@ -40338,7 +40356,7 @@ function tI(e) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(yO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -40348,7 +40366,7 @@ function tI(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: MS,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...Y(se.busy),
@@ -40358,7 +40376,7 @@ function tI(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CS,
+ leadingIcon: bS,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -40368,7 +40386,7 @@ function tI(e) {
})
];
}, [se]), le = (0, I.useMemo)(() => {
- let e = JF[n];
+ let e = XF[n];
return e ? [{
id: e,
desc: r === "desc"
@@ -40390,7 +40408,7 @@ function tI(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = oN[t.id];
+ let n = sN[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -40406,9 +40424,9 @@ function tI(e) {
},
getCoreRowModel: TF(),
getPaginationRowModel: DF()
- }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = hN(s, pe), he = [...s], ge = uce(j), _e = dce(j), ve = D.length > 0 && x.size >= D.length;
+ }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = gN(s, pe), he = [...s], ge = uce(j), _e = dce(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40427,7 +40445,7 @@ function tI(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: FS,
+ leadingIcon: MS,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -40442,15 +40460,15 @@ function tI(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: MS,
- "aria-label": iN[0][1],
+ leadingIcon: kS,
+ "aria-label": aN[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: RS,
- "aria-label": iN[1][1],
+ leadingIcon: FS,
+ "aria-label": aN[1][1],
"aria-pressed": R,
onClick: () => f("table")
})]
@@ -40461,9 +40479,9 @@ function tI(e) {
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, qM[t]);
+ u(t, JM[t]);
},
- children: KM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: qM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
@@ -40471,14 +40489,14 @@ function tI(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Ute : Hte,
+ leadingIcon: r === "asc" ? Kte : Gte,
"aria-label": Use(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ve ? hS : vS,
+ leadingIcon: ve ? fS : hS,
"aria-label": ve ? "全部展开" : "全部收起",
onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ve ? "全部展开" : "全部收起"
@@ -40489,11 +40507,11 @@ function tI(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
+ A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Gw, {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "操作未完成",
@@ -40514,7 +40532,7 @@ function tI(e) {
}) : null
]
}),
- he.length ? /* @__PURE__ */ (0, L.jsxs)(NF, {
+ he.length ? /* @__PURE__ */ (0, L.jsxs)(PF, {
label: "关注来源批量操作",
count: `已选 ${he.length} 个来源`,
children: [
@@ -40587,9 +40605,9 @@ function tI(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in oN, n = OF(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(nO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(QD, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in sN, n = OF(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)($D, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -40602,12 +40620,12 @@ function tI(e) {
})]
}) : /* @__PURE__ */ (0, L.jsx)(G_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(iO, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(tO, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
+ children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(iO, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(oO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
@@ -40621,9 +40639,9 @@ function tI(e) {
className: "flex flex-col gap-3",
children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, L.jsx)(eI, {
+ return /* @__PURE__ */ (0, L.jsx)(nI, {
group: e,
- name: pN(e, y),
+ name: mN(e, y),
handlers: se,
selected: s,
open: !x.has(t),
@@ -40650,12 +40668,12 @@ function tI(e) {
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: aN.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: oN.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: String(e),
children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(QF, {
+ /* @__PURE__ */ (0, L.jsx)(eI, {
page: z.page,
pages: z.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -40704,11 +40722,11 @@ function tI(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: IS,
+ icon: NS,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -40719,15 +40737,15 @@ function tI(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var nI = [
+var iI = [
["list", "关注列表"],
["add", "添加关注"],
- ["feeds", "订阅源"],
+ ["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], rI = (e) => nI.some(([t]) => t === e);
-function iI({ term: e, figure: t, unit: n }) {
+], aI = (e) => iI.some(([t]) => t === e);
+function oI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -40743,33 +40761,36 @@ function iI({ term: e, figure: t, unit: n }) {
})]
});
}
-function aI(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(rI(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => JM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => JM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Bse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(Vse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = kt({
- queryKey: tN,
- queryFn: ({ signal: e }) => _N(e)
- }), C = kt({
+function sI(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(aI(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => YM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => YM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Bse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(Vse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = kt({
queryKey: nN,
queryFn: ({ signal: e }) => vN(e)
- }), w = S.data || { sources: [] }, T = C.data || {
+ }), C = kt({
+ queryKey: rN,
+ queryFn: ({ signal: e }) => yN(e)
+ }), w = kt({
+ queryKey: iN,
+ queryFn: ({ signal: e }) => wN(e)
+ }), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
- }, E = w.sources;
+ }, D = T.sources;
(0, I.useEffect)(() => {
x((e) => {
- let t = Xse(e, E);
+ let t = Xse(e, D);
return t.size === e.size ? e : t;
});
- }, [E]);
- let D = (e) => {
+ }, [D]);
+ let O = (e) => {
let n = e.sort ?? f, r = e.dir ?? m;
t({
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === qM[n] ? "" : r
+ dir: r === JM[n] ? "" : r
});
- }, O = mN(E), k = E.filter(cN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !NN(e)).length;
- return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
+ }, k = hN(D), A = D.filter(lN).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !NN(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -40784,53 +40805,63 @@ function aI(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: jA,
+ className: Zae,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(iI, {
+ /* @__PURE__ */ (0, L.jsx)(oI, {
term: "关注创作者",
- figure: O.length,
+ figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(iI, {
+ /* @__PURE__ */ (0, L.jsx)(oI, {
term: "启用来源",
- figure: A,
- unit: `/ ${E.length}`
+ figure: j,
+ unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(iI, {
+ /* @__PURE__ */ (0, L.jsx)(oI, {
term: "检查失败",
- figure: k,
+ figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(iI, {
+ /* @__PURE__ */ (0, L.jsx)(oI, {
term: "未看更新",
- figure: w.counts?.new || 0,
+ figure: T.counts?.new || 0,
+ unit: "条"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(oI, {
+ term: "JAV 订阅",
+ figure: N,
+ unit: "位"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(oI, {
+ term: "未看新作",
+ figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(pO, {
+ /* @__PURE__ */ (0, L.jsxs)(uO, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- rI(t) && (l(t), D({ tab: t }));
+ aI(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, L.jsx)(mO, {
+ /* @__PURE__ */ (0, L.jsx)(dO, {
"aria-label": "关注管理区域",
- className: SM,
- children: nI.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(hO, {
+ className: CM,
+ children: iI.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(fO, {
id: e,
- className: CM,
- children: e === "source" && j ? `${t}(${j})` : t
+ className: wM,
+ children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(tI, {
- data: w,
+ children: /* @__PURE__ */ (0, L.jsx)(rI, {
+ data: T,
sort: f,
dir: m,
page: u,
@@ -40841,56 +40872,57 @@ function aI(e) {
toast: r,
openFollow: i,
onSort: (e, t) => {
- p(e), h(t), d(1), D({
+ p(e), h(t), d(1), O({
sort: e,
dir: t,
page: 1
});
},
onPage: (e) => {
- d(e), D({ page: e });
+ d(e), O({ page: e });
},
onSelected: x,
onLayout: (e) => {
- _(e), d(1), n({ layout: e }), D({ page: 1 });
+ _(e), d(1), n({ layout: e }), O({ page: 1 });
},
onPageSize: (e) => {
- y(e), d(1), n({ pageSize: e }), D({ page: 1 });
+ y(e), d(1), n({ pageSize: e }), O({ page: 1 });
}
})
}),
- /* @__PURE__ */ (0, L.jsxs)(gO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
id: "add",
className: "flex flex-col gap-8",
children: [/* @__PURE__ */ (0, L.jsx)(qN, {
- data: w,
- credentials: T,
+ data: T,
+ credentials: E,
readOnly: a,
toast: r,
openCredentials: () => {
- l("source"), D({ tab: "source" });
+ l("source"), O({ tab: "source" });
}
}), /* @__PURE__ */ (0, L.jsx)(QN, {
- groups: w.author_aliases || [],
+ groups: T.author_aliases || [],
readOnly: a,
toast: r,
- suggestions: w.alias_suggestions || [],
- sources: w.sources
+ suggestions: T.alias_suggestions || [],
+ sources: T.sources
})]
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(qF, {
+ children: /* @__PURE__ */ (0, L.jsx)(YF, {
readOnly: a,
- toast: r
+ toast: r,
+ avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "source",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, L.jsx)(sP, {
- data: T,
+ data: E,
readOnly: a,
toast: r
})
@@ -40901,43 +40933,43 @@ function aI(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var oI = "/api/follow/authors", sI = "/api/follow/tags", cI = (e) => [
+var cI = "/api/follow/authors", lI = "/api/follow/tags", uI = (e) => [
"follow",
"authors",
e
-], lI = (e, t) => [
+], dI = (e, t) => [
"follow",
"tags",
e,
t
];
-function uI(e, t, n) {
+function fI(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${oI}?${r}`;
+ return e && r.set("q", e), `${cI}?${r}`;
}
-function dI(e, t, n, r) {
+function pI(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${sI}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${lI}?${i}`;
}
-var fI = (e, t, n, r) => Nw(uI(e, t, n), r), pI = (e, t, n, r, i) => Nw(dI(e, t, n, r), i), mI = "/api/index", hI = {
+var mI = (e, t, n, r) => Aw(fI(e, t, n), r), hI = (e, t, n, r, i) => Aw(pI(e, t, n, r), i), gI = "/api/index", _I = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, gI = {
+}, vI = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, _I = [
+}, yI = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -40947,26 +40979,26 @@ var fI = (e, t, n, r) => Nw(uI(e, t, n), r), pI = (e, t, n, r, i) => Nw(dI(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], vI = [
+], bI = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], yI = {
+], xI = {
people: 120,
tags: 180
-}, bI = (e) => e !== "tags", xI = (e) => e === "studios" || e === "agencies";
-function SI(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? vI : _I).some(([t]) => t === e.category);
+}, SI = (e) => e !== "tags", CI = (e) => e === "studios" || e === "agencies";
+function wI(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? bI : yI).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function CI(e) {
+function TI(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -40985,50 +41017,50 @@ function CI(e) {
q: n
};
}
-var wI = (e, t, n = "all") => [
+var EI = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function TI(e, t, n, r, i) {
+function DI(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${mI}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${gI}?${a}`;
}
-function EI(e) {
- let t = e.what === "people" || e.what === "online-authors" ? yI.people : yI.tags, n = {
+function OI(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? xI.people : xI.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: wI(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => Nw(TI(e.kind, e.q, "all", t, n), r)
+ queryKey: EI(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Aw(DI(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: wI("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Nw(TI("tags", e.q, e.category, t, n), r)
+ queryKey: EI("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Aw(DI("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: cI(e.q),
- queryFn: ({ pageParam: n, signal: r }) => fI(e.q, t, n, r)
+ queryKey: uI(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => mI(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: lI(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => pI(e.q, e.category, t, n, r)
+ queryKey: dI(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => hI(e.q, e.category, t, n, r)
};
}
}
-async function DI(e, t) {
- let n = EI(CI(SI(e)));
+async function kI(e, t) {
+ let n = OI(TI(wI(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -41042,13 +41074,13 @@ async function DI(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var OI = (e) => e ? e.pages.flatMap((e) => e.items) : [], kI = (e, t) => `${e}${t ? "+" : ""} 项`, AI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", jI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), MI = {
+var AI = (e) => e ? e.pages.flatMap((e) => e.items) : [], jI = (e, t) => `${e}${t ? "+" : ""} 项`, MI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", NI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), PI = {
numeric: !0,
sensitivity: "base"
};
-function NI(e, t) {
+function FI(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", MI))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", PI))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -41056,15 +41088,15 @@ function NI(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function PI({ value: e }) {
+function II({ value: e }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var FI = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function II({ tabs: e, value: t, label: n, onChange: r }) {
+var LI = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function RI({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
let e = i.current;
@@ -41092,14 +41124,14 @@ function II({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? kT(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? ET(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: FI,
+ className: LI,
onClick: () => {
i || r(e.value);
},
@@ -41115,7 +41147,7 @@ function II({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function LI({ html: e, face: t, company: n, big: r }) {
+function zI({ html: e, face: t, company: n, big: r }) {
let i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -41127,18 +41159,18 @@ function LI({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var RI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function zI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var BI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function VI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: Vw({
+ className: Rw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${RI} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${BI} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -41155,8 +41187,8 @@ function zI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function BI({ kind: e, items: t, layout: n, props: r }) {
- let i = gI[e], a = xI(e), o = n === "big";
+function HI({ kind: e, items: t, layout: n, props: r }) {
+ let i = vI[e], a = CI(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -41164,14 +41196,14 @@ function BI({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, L.jsx)(zI, {
+ return /* @__PURE__ */ (0, L.jsx)(VI, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: jI(e, t),
+ readout: NI(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(LI, {
+ children: /* @__PURE__ */ (0, L.jsx)(zI, {
html: n.html,
face: n.face,
company: a,
@@ -41181,21 +41213,21 @@ function BI({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function VI({ items: e, layout: t, props: n }) {
+function UI({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(zI, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(VI, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, L.jsx)(LI, {
+ children: /* @__PURE__ */ (0, L.jsx)(zI, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -41205,23 +41237,23 @@ function VI({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var HI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var WI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function UI({ tag: e, actions: t }) {
+function GI({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": AI(t.online, e.cat),
+ "data-tag-cat": MI(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 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, L.jsx)(HI, {}),
+ /* @__PURE__ */ (0, L.jsx)(WI, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -41233,23 +41265,23 @@ function UI({ tag: e, actions: t }) {
]
});
}
-function WI({ groups: e, actions: t }) {
+function mce({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, L.jsxs)("section", {
"data-alpha-group": r,
- className: Vw({
+ className: Rw({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, L.jsx)(PI, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(II, { value: n.length })]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(UI, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(GI, {
tag: e,
actions: t
}, e.k))
@@ -41257,8 +41289,8 @@ function WI({ groups: e, actions: t }) {
}, e))
});
}
-var GI = "\xA0";
-function KI({ tags: e, actions: t }) {
+var hce = "\xA0";
+function gce({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -41266,11 +41298,11 @@ function KI({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": AI(t.online, e.cat),
+ "data-tag-cat": MI(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",
- children: [e.label + GI, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + hce, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -41278,7 +41310,7 @@ function KI({ tags: e, actions: t }) {
}, e.k))
});
}
-var pce = [[
+var _ce = [[
"cloud",
"标签云",
"tags"
@@ -41287,16 +41319,16 @@ var pce = [[
"字母表",
"text-aa"
]];
-function mce({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(hM, {
+function vce({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(gM, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(gM, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(_M, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : AI(n, e),
+ "data-tag-cat": e === "all" ? "all" : MI(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(HI, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(WI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -41315,19 +41347,19 @@ function mce({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(RD, {
+ /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${wM}`,
- children: pce.map(([e, t, n]) => {
- let r = kT(n);
- return /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: `ml-auto ${TM}`,
+ children: _ce.map(([e, t, n]) => {
+ let r = ET(n);
+ return /* @__PURE__ */ (0, L.jsx)(ID, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: TM,
+ className: EM,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -41339,8 +41371,8 @@ function mce({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function hce({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(NF, {
+function yce({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(PF, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
@@ -41376,7 +41408,7 @@ function hce({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var gce = [{
+var bce = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -41384,7 +41416,7 @@ var gce = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], qI = [{
+}], KI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -41392,7 +41424,7 @@ var gce = [{
value: "online",
label: "在线",
symbol: "rss"
-}], _ce = {
+}], xce = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -41412,17 +41444,17 @@ var gce = [{
"layout-grid"
]]
};
-function vce({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, L.jsx)(RD, {
- "aria-label": `${hI[e]}索引版式`,
+function Sce({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(FD, {
+ "aria-label": `${_I[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${SM}`,
- children: _ce[xI(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = kT(n);
- return /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: `flex-none max-board-narrow:order-3 ${CM}`,
+ children: xce[CI(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = ET(n);
+ return /* @__PURE__ */ (0, L.jsx)(ID, {
value: e,
"aria-label": t,
className: joe,
@@ -41435,8 +41467,8 @@ function vce({ kind: e, layout: t, onChange: n }) {
})
});
}
-var yce = kT("search");
-function bce({ label: e, value: t, onQuery: n }) {
+var Cce = ET("search");
+function wce({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, I.useState)(t), a = (0, I.useRef)(!1), o = (0, I.useRef)(void 0);
(0, I.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -41459,7 +41491,7 @@ function bce({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, L.jsx)(eM, {
type: "search",
- leadingIcon: yce,
+ leadingIcon: Cce,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -41469,14 +41501,14 @@ function bce({ label: e, value: t, onQuery: n }) {
})
});
}
-function xce(e) {
- let [t, n] = (0, I.useState)(() => SI({
+function Tce(e) {
+ let [t, n] = (0, I.useState)(() => wI({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = hI[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
+ })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = _I[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -41486,7 +41518,7 @@ function xce(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = EI(CI(t)), w = jt({
+ }, C = OI(TI(t)), w = jt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -41495,21 +41527,21 @@ function xce(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? Oe : void 0
- }), T = OI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = kI(T.length, !!w.hasNextPage);
+ }), T = AI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = jI(T.length, !!w.hasNextPage);
(0, I.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, I.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? NI(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? FI(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(II, {
- tabs: qI,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(RI, {
+ tabs: KI,
value: p,
label: "词表",
onChange: (e) => {
@@ -41519,15 +41551,15 @@ function xce(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(II, {
- tabs: qI,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(RI, {
+ tabs: KI,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : xI(u) ? /* @__PURE__ */ (0, L.jsx)(II, {
- tabs: gce,
+ }) : CI(u) ? /* @__PURE__ */ (0, L.jsx)(RI, {
+ tabs: bce,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -41544,7 +41576,7 @@ function xce(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (v ? vI : _I).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (v ? bI : yI).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -41559,12 +41591,12 @@ function xce(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- bI(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ SI(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- bI(u) ? /* @__PURE__ */ (0, L.jsx)(vce, {
+ SI(u) ? /* @__PURE__ */ (0, L.jsx)(Sce, {
kind: u,
layout: r,
onChange: A
@@ -41573,7 +41605,7 @@ function xce(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(bce, {
+ /* @__PURE__ */ (0, L.jsx)(wce, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -41583,7 +41615,7 @@ function xce(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(mce, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(vce, {
categories: N,
category: h,
online: v,
@@ -41608,8 +41640,8 @@ function xce(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: kT("search"),
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: ET("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
@@ -41618,18 +41650,18 @@ function xce(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Cce, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Dce, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, L.jsx)(VI, {
+ if (y) return /* @__PURE__ */ (0, L.jsx)(UI, {
items: T,
layout: r,
props: e
});
- if (bI(u)) return /* @__PURE__ */ (0, L.jsx)(BI, {
+ if (SI(u)) return /* @__PURE__ */ (0, L.jsx)(HI, {
kind: u,
items: T,
layout: r,
@@ -41640,10 +41672,10 @@ function xce(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(WI, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(mce, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(KI, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gce, {
tags: O,
actions: t
});
@@ -41658,13 +41690,13 @@ function xce(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Ww, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Vw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(hce, {
+ u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(yce, {
count: a.size,
match: s,
onMatch: c,
@@ -41677,31 +41709,31 @@ function xce(e) {
]
});
}
-var Sce = {
+var Ece = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function Cce({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: kT("search"),
+function Dce({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: ET("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Sce[e], a = /* @__PURE__ */ (0, L.jsx)(Aw, {
+ let i = n && e === "performers" ? "创作者" : Ece[e], a = /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: kT(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: ET(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
@@ -41711,15 +41743,15 @@ function Cce({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var JI = {
+var qI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, wce = (e) => JI[e.junk_kind || "other"] || JI.other;
-function Tce(e) {
+}, Oce = (e) => qI[e.junk_kind || "other"] || qI.other;
+function kce(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -41730,21 +41762,21 @@ function Tce(e) {
glyph: "check"
};
}
-var Ece = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Dce = (e, t) => [
+var Ace = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), jce = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function Oce({ kind: e, view: t }) {
+function Mce({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function kce(e, t) {
- let n = await Nw(`/api/ads?${Oce(e)}`, t);
+async function Nce(e, t) {
+ let n = await Aw(`/api/ads?${Mce(e)}`, t);
return {
...n,
items: n.items || []
@@ -41752,19 +41784,19 @@ async function kce(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function YI({ name: e }) {
+function JI({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var XI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = wce(e), g = String(e.name || ""), _ = Tce(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
- t.target.closest("[data-junk-actions]") || XI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var YI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function Pce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = Oce(e), g = String(e.name || ""), _ = kce(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || YI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), XI(i, t)) {
+ if (t.stopPropagation(), YI(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -41806,7 +41838,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -41818,7 +41850,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(YI, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(JI, { name: "check" })
})
]
}),
@@ -41855,7 +41887,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: w("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(YI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : /* @__PURE__ */ (0, L.jsx)(JI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -41867,7 +41899,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": _.label,
...T(_.operation),
onClick: C(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -41879,7 +41911,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": "移入回收站",
...T("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -41894,7 +41926,7 @@ function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
]
});
}
-var jce = (0, I.memo)(Ace), Mce = [
+var Fce = (0, I.memo)(Pce), Ice = [
[
"",
"全部",
@@ -41931,53 +41963,53 @@ var jce = (0, I.memo)(Ace), Mce = [
"hard-drive"
]
];
-function ZI(e = "", t = "pending") {
+function XI(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 Nce(e) {
+function Lce(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: ZI("", "pending")
+ href: XI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: ZI("", "dismissed")
+ href: XI("", "dismissed")
};
}
-var Pce = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Rce = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function QI({ name: e }) {
+function ZI({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function $I({ scope: e, count: t }) {
+function QI({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function Fce({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = AO(), { kind: a, view: o } = e, s = Nce(o), c = (e) => {
+function zce({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = DO(), { kind: a, view: o } = e, s = Lce(o), c = (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") || ZI()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || XI()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, L.jsx)(pM, {
- label: Pce(o),
+ children: /* @__PURE__ */ (0, L.jsx)(mM, {
+ label: Rce(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -41990,16 +42022,16 @@ function Fce({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- Mce.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: ZI(e, o),
+ Ice.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: XI(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(QI, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(ZI, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)($I, {
+ /* @__PURE__ */ (0, L.jsx)(QI, {
scope: e,
- count: t ? Ece(t, e) : 0
+ count: t ? Ace(t, e) : 0
})
]
}, e || "all")),
@@ -42012,9 +42044,9 @@ function Fce({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(QI, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(ZI, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)($I, {
+ /* @__PURE__ */ (0, L.jsx)(QI, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -42027,38 +42059,38 @@ function Fce({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var Ice = kT("check"), Lce = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Rce(e) {
+var Bce = ET("check"), Vce = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Hce(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
let r = kt({
- queryKey: Dce(t, e.revision),
+ queryKey: jce(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await kce(t, e);
+ let r = await Nce(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && Lce(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Vce(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = zce(e.countRow), a = r.isPending;
+ let i = Uce(e.countRow), a = r.isPending;
(0, I.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, I.useLayoutEffect)(() => {
i && r.data && x(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Fce, {
+ let { navigate: o } = e.actions, s = i ? (0, yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(zce, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Bce, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Wce, {
props: e,
data: r.data,
pending: a,
@@ -42066,7 +42098,7 @@ function Rce(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function zce(e) {
+function Uce(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -42076,8 +42108,8 @@ function zce(e) {
};
}, [e]), t;
}
-function Bce({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = bT(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
+function Wce({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = _T(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
f?.() !== !1 && c((e) => e + 1);
}, [f]);
return /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -42085,14 +42117,14 @@ function Bce({ 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, L.jsx)(xT, {
+ if (!t) return /* @__PURE__ */ (0, L.jsx)(vT, {
message: d(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: Ice,
+ return /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: Bce,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -42101,7 +42133,7 @@ function Bce({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(jce, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(Fce, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -42109,11 +42141,11 @@ function Bce({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Vce, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Gce, { onMore: p }, s) : null] });
})()]
});
}
-function Vce({ onMore: e }) {
+function Gce({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -42131,12 +42163,12 @@ function Vce({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var eL = "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", Hce = {
- gray: `${eL} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${eL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${eL} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var $I = "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", Kce = {
+ gray: `${$I} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${$I} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${$I} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Uce({ value: e, max: t }) {
+function qce({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -42164,16 +42196,16 @@ function Uce({ value: e, max: t }) {
})]
});
}
-function Wce(e) {
- let { job: t } = cj(e), n = t.data, r = t.isError ? n ? QO : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Jce(e) {
+ let { job: t } = cj(e), n = t.data, r = t.isError ? n ? XO : K(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?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ek(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? AS : Gte;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ek(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? DS : Jte;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Hce[s],
+ className: Kce[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Uce, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(qce, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -42186,39 +42218,39 @@ function Wce(e) {
}), /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: gS,
+ trailingIcon: pS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Gce = "/api/playlists", tL = "/api/playlist", nL = ["playlists"], rL = (e) => Nw(Gce, e);
-async function Kce(e) {
+var Yce = "/api/playlists", eL = "/api/playlist", tL = ["playlists"], nL = (e) => Aw(Yce, e);
+async function Xce(e) {
await X.fetchQuery({
- queryKey: nL,
- queryFn: () => rL(e),
+ queryKey: tL,
+ queryFn: () => nL(e),
staleTime: 0
});
}
-var iL = () => X.invalidateQueries({
- queryKey: nL,
+var rL = () => X.invalidateQueries({
+ queryKey: tL,
exact: !0
-}), qce = (e) => e.current_asset_id || e.preview_asset_id || null, aL = (e) => `/poster?id=${e}&c=4`, Jce = (e) => q(tL, {
+}), Zce = (e) => e.current_asset_id || e.preview_asset_id || null, iL = (e) => `/poster?id=${e}&c=4`, Qce = (e) => q(eL, {
action: "create",
name: e,
asset_ids: []
-}), oL = (e, t) => q(tL, {
+}), aL = (e, t) => q(eL, {
action: "rename",
id: e,
name: t
-}), sL = (e) => q(tL, {
+}), oL = (e) => q(eL, {
action: "delete",
id: e
-}), Yce = (e) => Nw(`${tL}?id=${e}`).catch(() => null);
-function Xce(e) {
+}), $ce = (e) => Aw(`${eL}?id=${e}`).catch(() => null);
+function ele(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(tL, {
+ return q(eL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -42228,18 +42260,18 @@ function Xce(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Zce = kT("ellipsis"), Qce = kT("pencil"), $ce = kT("trash"), ele = kT("playlist"), cL = Tw(RA, zA, "text-body-2-medium"), lL = "播放列表名称不能为空", uL = (e) => async () => {
+var tle = ET("ellipsis"), nle = ET("pencil"), rle = ET("trash"), ile = ET("playlist"), sL = Sw(RA, zA, "text-body-2-medium"), cL = "播放列表名称不能为空", lL = (e) => async () => {
try {
await e();
} finally {
- iL();
+ rL();
}
};
-function tle({ toast: e }) {
+function ale({ toast: e }) {
let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = At({
- mutationFn: (e) => Jce(e),
+ mutationFn: (e) => Qce(e),
onSuccess: (t) => {
- n(""), i(""), iL(), e("已新建播放列表", { undo: uL(() => sL(t.playlist.id)) });
+ n(""), i(""), rL(), e("已新建播放列表", { undo: lL(() => oL(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -42249,7 +42281,7 @@ function tle({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(lL);
+ i(cL);
return;
}
a.mutate(t);
@@ -42277,7 +42309,7 @@ function tle({ toast: e }) {
})]
});
}
-function nle({ target: e, close: t, toast: n }) {
+function ole({ target: e, close: t, toast: n }) {
let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(""), s = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (!e) return;
@@ -42288,13 +42320,13 @@ function nle({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = At({
- mutationFn: ({ row: e, value: t }) => oL(e.id, t),
+ mutationFn: ({ row: e, value: t }) => aL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), iL(), n("已重命名播放列表", { undo: uL(() => oL(r.id, r.name)) });
+ t(), rL(), n("已重命名播放列表", { undo: lL(() => aL(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, L.jsx)(OO, {
+ return /* @__PURE__ */ (0, L.jsx)(TO, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -42306,7 +42338,7 @@ function nle({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(lL);
+ o(cL);
return;
}
c.mutate({
@@ -42317,7 +42349,7 @@ function nle({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(tE, {
+ children: [/* @__PURE__ */ (0, L.jsx)(QT, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
@@ -42349,7 +42381,7 @@ function nle({ target: e, close: t, toast: n }) {
})
});
}
-function rle({ name: e, onRename: t, onDelete: n }) {
+function sle({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -42363,33 +42395,33 @@ function rle({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, L.jsx)(Zce, {
+ children: /* @__PURE__ */ (0, L.jsx)(tle, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: LA,
- children: /* @__PURE__ */ (0, L.jsxs)(jD, {
+ children: /* @__PURE__ */ (0, L.jsxs)(OD, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: cL,
+ className: sL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(Qce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(nle, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: cL,
+ className: sL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)($ce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(rle, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -42397,13 +42429,13 @@ function rle({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function ile({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function cle({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = kt({
- queryKey: nL,
- queryFn: ({ signal: e }) => rL(e)
+ queryKey: tL,
+ queryFn: ({ signal: e }) => nL(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, iL());
+ l.current !== a && (l.current = a, rL());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -42421,8 +42453,8 @@ function ile({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Yce(e.id);
- await sL(e.id), iL(), i("已删除播放列表", t ? { undo: uL(() => Xce(t)) } : void 0);
+ let t = await $ce(e.id);
+ await oL(e.id), rL(), i("已删除播放列表", t ? { undo: lL(() => ele(t)) } : void 0);
}
});
};
@@ -42437,39 +42469,39 @@ function ile({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, L.jsx)(tle, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(ale, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = qce(i);
- return /* @__PURE__ */ (0, L.jsx)(MT, {
+ let a = Zce(i);
+ return /* @__PURE__ */ (0, L.jsx)(kT, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? aL(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(aL),
+ poster: i.preview_asset_id ? iL(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(iL),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(rle, {
+ menu: /* @__PURE__ */ (0, L.jsx)(sle, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: ele,
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: ile,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(nle, {
+ /* @__PURE__ */ (0, L.jsx)(ole, {
target: s,
close: () => c(null),
toast: i
@@ -42479,11 +42511,11 @@ function ile({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function ale({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function lle({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-goal-id": t.id,
- className: Vw({
+ className: Rw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -42499,7 +42531,7 @@ function ale({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: gk(t),
+ src: hk(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -42547,19 +42579,19 @@ function ale({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function ole(e) {
+function ule(e) {
let t = kt({
- queryKey: pk,
- queryFn: ({ signal: e }) => mk(e)
+ queryKey: fk,
+ queryFn: ({ signal: e }) => pk(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取高清版目标失败"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Vw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: Rw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -42572,20 +42604,20 @@ function ole(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ale, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(lle, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(Uw, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: WS,
+ icon: VS,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function sle(e) {
+function dle(e) {
let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = Sae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
@@ -42624,7 +42656,7 @@ function sle(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: yS,
+ leadingIcon: gS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -42635,7 +42667,7 @@ function sle(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, L.jsxs)(NF, {
+ }), c.size ? /* @__PURE__ */ (0, L.jsxs)(PF, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
@@ -42686,7 +42718,7 @@ function sle(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var cle = {
+var fle = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -42696,14 +42728,14 @@ var cle = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, dL = "reviewgenretags";
-function lle({ tags: e }) {
+}, uL = "reviewgenretags";
+function ple({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: dL,
+ id: uL,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function fL({ candidate: e, selectable: t = !1 }) {
+function dL({ 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, L.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -42740,7 +42772,7 @@ function fL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: cle[e] || e
+ children: fle[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -42755,36 +42787,36 @@ function fL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function ule({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function mle({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, L.jsx)(fL, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, L.jsx)(RD, {
+ children: /* @__PURE__ */ (0, L.jsx)(dL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(ID, {
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, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(dL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function dle({ genre: e, tags: t, locked: n, toast: r }) {
+function hle({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = At({
- mutationFn: (t) => jk(e, t),
+ mutationFn: (t) => Aae(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Pk();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Nk();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -42812,7 +42844,7 @@ function dle({ genre: e, tags: t, locked: n, toast: r }) {
className: "min-w-40 flex-1",
children: /* @__PURE__ */ (0, L.jsx)(eM, {
size: "small",
- list: t.length ? dL : void 0,
+ list: t.length ? uL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -42844,7 +42876,7 @@ function dle({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function fle({ row: e, tags: t, locked: n, toast: r }) {
+function gle({ row: e, tags: t, locked: n, toast: r }) {
let i = Dae(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
@@ -42853,7 +42885,7 @@ function fle({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, L.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(dle, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(hle, {
genre: e,
tags: t,
locked: n,
@@ -42862,10 +42894,10 @@ function fle({ row: e, tags: t, locked: n, toast: r }) {
}) : null;
}
//#endregion
-//#region src/react/components/legacy-avatar.ts
-var pL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", mL = (e = "") => /^https?:\/\//i.test(e) ? e : "", ple = (e = "") => mL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function hL({ url: e }) {
- let t = ple(e || ""), [n, r] = (0, I.useState)(!1);
+//#region src/react/review/review-evidence.tsx
+var fL = (e = "") => /^https?:\/\//i.test(e) ? e : "", _le = (e = "") => fL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function pL({ url: e }) {
+ let t = _le(e || ""), [n, r] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, L.jsx)("img", {
@@ -42880,7 +42912,7 @@ function hL({ url: e }) {
})
});
}
-function gL({ asset: e, openItem: t }) {
+function mL({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -42906,21 +42938,21 @@ function gL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: NS,
+ leadingIcon: AS,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function mle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function vle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${pL}`,
+ 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 ${NF}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -42936,8 +42968,8 @@ function mle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function hle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = mL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function yle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = fL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -42947,10 +42979,10 @@ function hle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, L.jsx)(Aw, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "secondary",
size: "small",
- trailingIcon: wS,
+ trailingIcon: xS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -42962,7 +42994,7 @@ function hle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(hL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(pL, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -43005,7 +43037,7 @@ function hle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function gle({ assets: e, picked: t, onPicked: n, locked: r }) {
+function ble({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, I.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -43081,19 +43113,19 @@ function gle({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var _le = Vw({
+var xle = Rw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), _L = "flex min-h-6 min-w-0 items-center", vle = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function yle(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, I.useRef)(!1), m = AO(), h = AO(), g = t === "metadata_fields", _ = vae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = wae(t, n), x = Dk(t, n), S = Ek(t, n), C = Tae(n), w = Eae(n), T = Tk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
+}), hL = "flex min-h-6 min-w-0 items-center", Sle = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function Cle(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, I.useRef)(!1), m = DO(), h = DO(), g = t === "metadata_fields", _ = vae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = wae(t, n), x = Dk(t, n), S = Ek(t, n), C = Tae(n), w = Eae(n), T = Tk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(gL, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(mL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(mle, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(vle, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -43103,14 +43135,14 @@ function yle(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(gL, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(mL, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(ule, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(mle, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -43119,7 +43151,7 @@ function yle(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(gle, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(ble, {
assets: D,
picked: r.assets,
locked: s,
@@ -43127,21 +43159,21 @@ function yle(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "inset",
- icon: OS,
+ icon: TS,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(hle, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(yle, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(hL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${_L} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)(Ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(pL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${hL} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "blue",
children: x
@@ -43151,7 +43183,7 @@ function yle(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: _L,
+ className: hL,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -43161,13 +43193,13 @@ function yle(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${_le} ${vle(t)} overflow-hidden`,
+ className: `${xle} ${Sle(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${_L} shrink-0`,
+ className: `${hL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
@@ -43184,7 +43216,7 @@ function yle(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)(Ow, {
+ O ? /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -43208,7 +43240,7 @@ function yle(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(Ow, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(Tw, {
variant: "caption",
color: "soft",
children: e
@@ -43218,7 +43250,7 @@ function yle(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)(fle, {
+ /* @__PURE__ */ (0, L.jsx)(gle, {
row: n,
tags: u,
locked: s,
@@ -43280,8 +43312,8 @@ function yle(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var ble = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function xle({ page: e, pages: t, onPage: n }) {
+var wle = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function Tle({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -43295,7 +43327,7 @@ function xle({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: _k(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: gk(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -43318,7 +43350,7 @@ function xle({ page: e, pages: t, onPage: n }) {
]
});
}
-function Sle(e) {
+function Ele(e) {
let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, I.useState)(Ck(e.category) ? e.category : _ae), [f, p] = (0, I.useState)("candidates"), [m, h] = (0, I.useState)(""), [g, _] = (0, I.useState)(1), [v, y] = (0, I.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, I.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(""), E = (0, I.useRef)(null), [D, O] = (0, I.useState)(0), [k, A] = (0, I.useState)(""), j = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
j.current = !1;
@@ -43344,7 +43376,7 @@ function Sle(e) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Nk(u, [t.item_key]), ue([t.item_key]), o(kae(n));
+ Mk(u, [t.item_key]), ue([t.item_key]), o(kae(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
}), fe = At({
@@ -43368,7 +43400,7 @@ function Sle(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Nk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Mk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
@@ -43398,7 +43430,7 @@ function Sle(e) {
O(e), A("");
let t = await i(e);
j.current && (O(0), A(t));
- }, ge = Fk(M.mirror, c), _e = M.genre_tags || [], ve = {
+ }, ge = Pk(M.mirror, c), _e = M.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -43407,7 +43439,7 @@ function Sle(e) {
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
te ? /* @__PURE__ */ (0, L.jsx)(J, {
@@ -43423,8 +43455,8 @@ function Sle(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, L.jsx)(lle, { tags: _e }),
- /* @__PURE__ */ (0, L.jsxs)(pO, {
+ /* @__PURE__ */ (0, L.jsx)(ple, { tags: _e }),
+ /* @__PURE__ */ (0, L.jsxs)(uO, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
@@ -43437,14 +43469,14 @@ function Sle(e) {
id: "reviewcategories",
className: "px-3 pb-3 text-caption-1-regular text-text-secondary",
children: "复核分类"
- }), /* @__PURE__ */ (0, L.jsx)(mO, {
+ }), /* @__PURE__ */ (0, L.jsx)(dO, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
children: gae.map((e) => {
let t = Number(M.counts[e] || 0);
- return /* @__PURE__ */ (0, L.jsxs)(hO, {
+ return /* @__PURE__ */ (0, L.jsxs)(fO, {
id: e,
- className: ble,
+ className: wle,
children: [Sk[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -43452,11 +43484,11 @@ function Sle(e) {
}, e);
})
})]
- }), /* @__PURE__ */ (0, L.jsxs)(gO, {
+ }), /* @__PURE__ */ (0, L.jsxs)(pO, {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- N.length && !te ? /* @__PURE__ */ (0, L.jsx)(sle, {
+ N.length && !te ? /* @__PURE__ */ (0, L.jsx)(dle, {
groupOptions: P,
groupBy: F,
onGroupBy: (e) => {
@@ -43497,7 +43529,7 @@ function Sle(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(yle, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(Cle, {
category: u,
row: e,
choice: ce(e),
@@ -43520,12 +43552,12 @@ function Sle(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(Uw, {
- icon: Wte,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(Bw, {
+ icon: qte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, L.jsx)(xle, {
+ /* @__PURE__ */ (0, L.jsx)(Tle, {
page: ie.page,
pages: ie.pages,
onPage: _
@@ -43538,30 +43570,30 @@ function Sle(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Cle = "/api/scraping", wle = "/api/scraping/settings", Tle = "/api/scraping/check", vL = "/api/scraping/cover", Ele = "/api/scraping/amane-bridge", Dle = "/api/scraping/amane-bridge/check", Ole = "/api/scraping/amane-bridge/rebuild", yL = ["scraping"], bL = ["scraping", "cover"], xL = ["scraping", "amane-bridge"], SL = (e) => Nw(Cle, e), CL = (e) => Nw(vL, e), wL = (e) => Nw(Ele, e);
-async function kle(e) {
+var Dle = "/api/scraping", Ole = "/api/scraping/settings", kle = "/api/scraping/check", gL = "/api/scraping/cover", Ale = "/api/scraping/amane-bridge", jle = "/api/scraping/amane-bridge/check", Mle = "/api/scraping/amane-bridge/rebuild", _L = ["scraping"], vL = ["scraping", "cover"], yL = ["scraping", "amane-bridge"], bL = (e) => Aw(Dle, e), xL = (e) => Aw(gL, e), SL = (e) => Aw(Ale, e);
+async function Nle(e) {
await Promise.all([
X.fetchQuery({
- queryKey: yL,
- queryFn: () => SL(e)
+ queryKey: _L,
+ queryFn: () => bL(e)
}),
X.fetchQuery({
- queryKey: bL,
- queryFn: () => CL(e)
+ queryKey: vL,
+ queryFn: () => xL(e)
}),
X.fetchQuery({
- queryKey: xL,
- queryFn: () => wL(e)
+ queryKey: yL,
+ queryFn: () => SL(e)
})
]);
}
-function Ale(e, t) {
+function Ple(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var jle = [["peach", "Peach 代理"], ["direct", "直接连接"]], TL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function Mle({ source: e }) {
+var Fle = [["peach", "Peach 代理"], ["direct", "直接连接"]], CL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function Ile({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("img", {
src: f({ source: e }),
alt: "",
@@ -43572,13 +43604,13 @@ function Mle({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Nle({ source: e, toast: t }) {
- let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(TL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+function Lle({ source: e, toast: t }) {
+ let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(CL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = At({
- mutationFn: (t) => q(wle, {
+ mutationFn: (t) => q(Ole, {
source: e.source,
network: n,
cookie: i,
@@ -43586,12 +43618,12 @@ function Nle({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(yL, (t) => t && {
+ X.setQueryData(_L, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = At({ mutationFn: () => q(Tle, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = At({ mutationFn: () => q(kle, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -43621,7 +43653,7 @@ function Nle({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(Mle, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(nj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Ile, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.login,
children: e.login
})]
@@ -43635,7 +43667,7 @@ function Nle({ source: e, toast: t }) {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: jle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: Fle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
@@ -43649,7 +43681,7 @@ function Nle({ source: e, toast: t }) {
children: /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: gS,
+ trailingIcon: pS,
children: "配置 Peach 代理"
})
}) : null,
@@ -43662,16 +43694,16 @@ function Nle({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, L.jsx)(RD, {
+ /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: SM,
- children: TL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: CM,
+ children: CL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(ID, {
value: e,
- className: CM,
+ className: wM,
children: t
}, e))
}),
@@ -43713,7 +43745,7 @@ function Nle({ source: e, toast: t }) {
C ? /* @__PURE__ */ (0, L.jsx)(ej, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: Ale(t, e.label)
+ children: Ple(t, e.label)
}, t.label))
]
}) : null,
@@ -43739,11 +43771,11 @@ function Nle({ source: e, toast: t }) {
]
});
}
-function Ple({ toast: e }) {
+function Rle({ toast: e }) {
let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Dj({
- queryKey: bL,
- queryFn: ({ signal: e }) => CL(e),
- start: () => q(vL, { code: t }),
+ queryKey: vL,
+ queryFn: ({ signal: e }) => xL(e),
+ start: () => q(gL, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -43773,7 +43805,7 @@ function Ple({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -43785,11 +43817,11 @@ function Ple({ toast: e }) {
] })
});
}
-function Fle({ toast: e }) {
+function zle({ toast: e }) {
let { query: t, running: n, outcome: r, start: i } = Dj({
- queryKey: xL,
- queryFn: ({ signal: e }) => wL(e),
- start: () => q(Ole, {}),
+ queryKey: yL,
+ queryFn: ({ signal: e }) => SL(e),
+ start: () => q(Mle, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -43798,7 +43830,7 @@ function Fle({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = At({ mutationFn: () => q(Dle, {}) }), o = t.data;
+ }), a = At({ mutationFn: () => q(jle, {}) }), o = t.data;
if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
title: "amane 桥",
children: /* @__PURE__ */ (0, L.jsx)(ZA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
@@ -43840,7 +43872,7 @@ function Fle({ toast: e }) {
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -43868,23 +43900,23 @@ function Fle({ toast: e }) {
]
});
}
-function Ile({ toast: e }) {
+function Ble({ toast: e }) {
let t = kt({
- queryKey: yL,
- queryFn: ({ signal: e }) => SL(e)
+ queryKey: _L,
+ queryFn: ({ signal: e }) => bL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, L.jsx)(Ple, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Nle, {
+ /* @__PURE__ */ (0, L.jsx)(Rle, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Lle, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, L.jsx)(Fle, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ /* @__PURE__ */ (0, L.jsx)(zle, { toast: e })
+ ] }) : /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -43892,17 +43924,17 @@ function Ile({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var EL = "/api/configuration", Lle = "/api/pick-folder", DL = ["configuration"], OL = (e) => Nw(EL, e);
-async function kL(e) {
+var wL = "/api/configuration", Vle = "/api/pick-folder", TL = ["configuration"], EL = (e) => Aw(wL, e);
+async function DL(e) {
await X.fetchQuery({
- queryKey: DL,
- queryFn: () => OL(e)
+ queryKey: TL,
+ queryFn: () => EL(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Rle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = Yw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Hle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.sites), i = Kw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
@@ -43938,20 +43970,20 @@ function Rle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function zle({ data: e, receipt: t }) {
+function Ule({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Ble, {
+ children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Wle, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Rle, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Hle, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Ble({ startup: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Yw(), l = e.available && !e.desktop_message;
+function Wle({ startup: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Kw(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "开机自启",
onSubmit: (r) => {
@@ -43965,7 +43997,7 @@ function Ble({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsxs)(XA, { children: [
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
@@ -43975,7 +44007,7 @@ function Ble({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
@@ -43985,7 +44017,7 @@ function Ble({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -44008,23 +44040,23 @@ function Ble({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var AL = /* @__PURE__ */ new Set([
+var OL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), Vle = [
+]), Gle = [
65,
67,
90
-], jL = 120;
-function Hle({ initial: e, initialJob: t }) {
+], kL = 120;
+function Kle({ initial: e, initialJob: t }) {
let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, I.useState)(""), c = Yw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = AL.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Kw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = OL.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -44041,9 +44073,9 @@ function Hle({ initial: e, initialJob: t }) {
(0, I.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, I.useEffect)(() => {
- let e = new AbortController(), t = AL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = OL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await Nw("/api/configuration/update-status", e.signal);
+ let t = await Aw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -44051,12 +44083,12 @@ function Hle({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await Nw("/api/configuration/automatic-updates", e.signal);
+ let n = await Aw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= jL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= kL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < jL && (n = setTimeout(c, t));
+ !e.signal.aborted && o < kL && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -44064,7 +44096,7 @@ function Hle({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void c.run("check", (e) => Nw("/api/configuration/updates", e), r, (t) => {
+ }, g = () => void c.run("check", (e) => Aw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
@@ -44108,10 +44140,10 @@ function Hle({ initial: e, initialJob: t }) {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Jw, {
+ /* @__PURE__ */ (0, L.jsx)(Gw, {
label: "更新准备进度",
value: i.progress,
- stops: Vle
+ stops: Gle
}),
/* @__PURE__ */ (0, L.jsxs)($A, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, L.jsx)($A, { children: v })
@@ -44147,37 +44179,37 @@ function Hle({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Ule = [
+var qle = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Wle({ data: e, receipt: t, reopenTutorial: n }) {
+function Jle({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Kle, {
+ e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Xle, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, L.jsx)(Hle, {
+ e.updates ? /* @__PURE__ */ (0, L.jsx)(Kle, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, L.jsx)(qle, { facts: e.facts }),
- /* @__PURE__ */ (0, L.jsx)(Gle, {
+ /* @__PURE__ */ (0, L.jsx)(Zle, { facts: e.facts }),
+ /* @__PURE__ */ (0, L.jsx)(Yle, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Jle, {
+ e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Qle, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Gle({ receipt: e, reopenTutorial: t }) {
- let n = Yw();
+function Yle({ receipt: e, reopenTutorial: t }) {
+ let n = Kw();
return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "安装教程",
children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
@@ -44187,8 +44219,8 @@ function Gle({ receipt: e, reopenTutorial: t }) {
}) })]
});
}
-function Kle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Yw(e.error), s = (r) => {
+function Xle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Kw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
@@ -44201,7 +44233,7 @@ function Kle({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsxs)(XA, { children: [
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
@@ -44210,7 +44242,7 @@ function Kle({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
@@ -44227,7 +44259,7 @@ function Kle({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Ule.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: qle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
@@ -44247,7 +44279,7 @@ function Kle({ initial: e, receipt: t }) {
]
});
}
-function qle({ facts: e }) {
+function Zle({ facts: e }) {
return /* @__PURE__ */ (0, L.jsx)(YA, {
title: "运行信息",
children: /* @__PURE__ */ (0, L.jsx)(rj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(ij, {
@@ -44259,7 +44291,7 @@ function qle({ facts: e }) {
}, e.term)) })
});
}
-function Jle({ uninstall: e, receipt: t }) {
+function Qle({ uninstall: e, receipt: t }) {
let [n, r] = (0, I.useState)(!1), [i, a] = (0, I.useState)(""), o = () => void h({
title: "卸载 Peach",
danger: !0,
@@ -44308,7 +44340,7 @@ function Jle({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Yle = [
+var $le = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -44327,12 +44359,12 @@ var Yle = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Xle = [
+], eue = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Zle() {
+function tue() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
children: [/* @__PURE__ */ (0, L.jsxs)($A, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(nj, {
@@ -44345,14 +44377,14 @@ function Zle() {
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Yle.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: $le.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Xle.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: eue.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -44387,7 +44419,7 @@ function Zle() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var ML = [
+var AL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -44431,13 +44463,13 @@ var ML = [
["star", "收藏"],
["tags", "主题"]
];
-function Qle(e) {
+function nue(e) {
let t = e === "local" ? "" : p[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var NL = "auto";
-function $le({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = Qle(n);
+var jL = "auto";
+function rue({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = nue(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
@@ -44451,35 +44483,35 @@ function $le({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, L.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: e || l }), ((e) => e && ML.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: e || l }), ((e) => e && AL.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
className: LA,
- children: /* @__PURE__ */ (0, L.jsxs)(jD, {
+ children: /* @__PURE__ */ (0, L.jsxs)(OD, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, L.jsx)(tE, {
+ /* @__PURE__ */ (0, L.jsx)(QT, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, L.jsx)(RD, {
+ /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": "候选图标",
- value: s || NL,
- onChange: (e) => c(e === NL ? "" : e),
+ value: s || jL,
+ onChange: (e) => c(e === jL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: ML.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
- value: e || NL,
+ children: AL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(ID, {
+ value: e || jL,
"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, L.jsx)(sj, { mark: e || l })
- }, e || NL))
+ }, e || jL))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -44501,9 +44533,9 @@ function $le({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var eue = "/api/configuration/push-discovery", tue = "/api/configuration/push-discovery/secret";
-function nue({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Yw(), l = AO(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+var iue = "/api/configuration/push-discovery", aue = "/api/configuration/push-discovery/secret";
+function oue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Kw(), l = DO(), u = n.media_roots, [d, f] = (0, I.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,
@@ -44519,14 +44551,14 @@ function nue({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(eue, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(iue, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
/* @__PURE__ */ (0, L.jsxs)(XA, { children: [
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -44539,7 +44571,7 @@ function nue({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -44552,7 +44584,7 @@ function nue({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, L.jsx)(JA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, L.jsx)(yO, {
+ children: /* @__PURE__ */ (0, L.jsx)(gO, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -44635,8 +44667,8 @@ function nue({ initial: e, receipt: t }) {
children: e
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: bS,
+ /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: _S,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -44662,7 +44694,7 @@ function nue({ initial: e, receipt: t }) {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(tue, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(aue, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -44679,8 +44711,8 @@ function nue({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var rue = 8e3;
-function iue({ className: e }) {
+var sue = 8e3;
+function cue({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -44693,33 +44725,33 @@ function iue({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var PL = [
+var ML = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], aue = (e) => PL.find(([t]) => t === e)?.[1] ?? e, FL = (e) => p[e] || "database", IL = (e = "") => ({
+], lue = (e) => ML.find(([t]) => t === e)?.[1] ?? e, NL = (e) => p[e] || "database", PL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function oue(e) {
- let t = e.media_sources?.filter((e) => PL.some(([t]) => t === e.location));
+function uue(e) {
+ let t = e.media_sources?.filter((e) => ML.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => IL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => PL(e));
}
-var sue = (e) => !(e instanceof jw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function cue({ data: e, receipt: t }) {
+var due = (e) => !(e instanceof Ow) || e.status !== 400 ? null : e.body?.errors ?? null;
+function fue({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, L.jsx)(lue, {
+ e.editable ? /* @__PURE__ */ (0, L.jsx)(pue, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, L.jsx)(J, {
@@ -44727,21 +44759,21 @@ function cue({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, L.jsx)(due, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(nue, {
+ /* @__PURE__ */ (0, L.jsx)(hue, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(oue, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function lue({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => oue(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Yw();
+function pue({ data: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(() => uue(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Kw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), rue);
+ let e = setTimeout(() => location.assign(m.url), sue);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -44752,14 +44784,14 @@ function lue({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, IL()]);
+ _(n.length), r((e) => [...e, PL()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(Lle, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Vle, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -44768,7 +44800,7 @@ function lue({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(EL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(wL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -44777,7 +44809,7 @@ function lue({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = sue(e);
+ let t = due(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
@@ -44829,14 +44861,14 @@ function lue({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: iue,
+ /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: cue,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: bS,
+ n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(hO, {
+ icon: _S,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -44853,7 +44885,7 @@ function lue({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)($le, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(rue, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -44868,10 +44900,10 @@ function lue({ data: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: PL.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(Cj, {
+ children: ML.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(Cj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: FL(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: NL(e) }), t]
}, e))
})]
}),
@@ -44892,7 +44924,7 @@ function lue({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, L.jsx)(Zle, {}) : null,
+ A ? /* @__PURE__ */ (0, L.jsx)(tue, {}) : null,
j.map((e) => /* @__PURE__ */ (0, L.jsxs)($A, { children: [
"未检测到 ",
e.name,
@@ -44933,7 +44965,7 @@ function lue({ data: e, receipt: t }) {
})]
});
}
-function uue({ online: e }) {
+function mue({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -44957,21 +44989,21 @@ function uue({ online: e }) {
}), "未检测"]
});
}
-function due({ data: e }) {
- let t = e.media_sources, n = Yw();
+function hue({ data: e }) {
+ let t = e.media_sources, n = Kw();
return t ? /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, L.jsx)(rj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(ij, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: FL(e.location) }), aue(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(uue, { online: e.online })]
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: NL(e.location) }), lue(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(mue, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsx)(ej, { children: n.error })
}) : null,
/* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => OL(e), (e) => X.setQueryData(DL, e)),
+ onClick: () => void n.run("refresh", (e) => EL(e), (e) => X.setQueryData(TL, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -44980,13 +45012,13 @@ function due({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var fue = {
+var gue = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function pue({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Yw(), g = (e) => {
+function _ue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Kw(), g = (e) => {
e.preventDefault();
let f = {};
if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {
@@ -45003,10 +45035,10 @@ function pue({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof jw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof Ow ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = fue[n.mode], v = n.mode !== "locked";
+ }, _ = gue[n.mode], v = n.mode !== "locked";
return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "访问密码",
onSubmit: g,
@@ -45083,19 +45115,19 @@ function pue({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var mue = 2e3, hue = [["quick", "临时链接"], ["named", "命名隧道"]], gue = {
+var vue = 2e3, yue = [["quick", "临时链接"], ["named", "命名隧道"]], bue = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function _ue({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Yw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function xue({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Kw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, I.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- OL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(DL, t), i(t.tunnel), o(t.revision));
+ EL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(TL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, mue);
+ }, vue);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -45110,7 +45142,7 @@ function _ue({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof jw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof Ow ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
@@ -45120,19 +45152,19 @@ function _ue({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
- r.named_available ? /* @__PURE__ */ (0, L.jsx)(RD, {
+ r.named_available ? /* @__PURE__ */ (0, L.jsx)(FD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: SM,
- children: hue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: CM,
+ children: yue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(ID, {
value: e,
- className: CM,
+ className: wM,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)($A, { children: gue[_ ? "named" : "quick"] }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: bue[_ ? "named" : "quick"] }),
_ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tM, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -45192,24 +45224,24 @@ function _ue({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var vue = [
+var Sue = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function yue({ data: e, receipt: t }) {
+function Cue({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(bue, {
+ e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(wue, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, L.jsx)(pue, {
+ e.access ? /* @__PURE__ */ (0, L.jsx)(_ue, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, L.jsx)(_ue, {
+ e.tunnel ? /* @__PURE__ */ (0, L.jsx)(xue, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -45217,8 +45249,8 @@ function yue({ data: e, receipt: t }) {
]
});
}
-function bue({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Yw();
+function wue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Kw();
return /* @__PURE__ */ (0, L.jsxs)(YA, {
id: "peachProxy",
title: "Peach 代理",
@@ -45240,7 +45272,7 @@ function bue({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: vue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: Sue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
@@ -45276,10 +45308,10 @@ function bue({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function xue({ receipt: e, reopenTutorial: t }) {
+function Tue({ receipt: e, reopenTutorial: t }) {
let n = kt({
- queryKey: DL,
- queryFn: ({ signal: e }) => OL(e)
+ queryKey: TL,
+ queryFn: ({ signal: e }) => EL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -45300,22 +45332,22 @@ function xue({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, L.jsx)(zle, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, L.jsx)(Ule, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, L.jsx)(cue, { ...i }),
+ /* @__PURE__ */ (0, L.jsx)(fue, { ...i }),
o ? /* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, L.jsx)(yue, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, L.jsx)(Cue, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, L.jsx)(Wle, {
+ /* @__PURE__ */ (0, L.jsx)(Jle, {
...i,
reopenTutorial: t
})
@@ -45324,14 +45356,14 @@ function xue({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var Sue = (e) => {
+var Eue = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function Cue({ openConfiguration: e }) {
+function Due({ openConfiguration: e }) {
let t = kt({
- queryKey: DL,
- queryFn: ({ signal: e }) => OL(e)
+ queryKey: TL,
+ queryFn: ({ signal: e }) => EL(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -45346,7 +45378,7 @@ function Cue({ openConfiguration: e }) {
}),
/* @__PURE__ */ (0, L.jsx)(ij, {
term: "更新",
- children: Sue(n)
+ children: Eue(n)
})
] }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -45363,14 +45395,14 @@ function Cue({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var wue = "/api/stats", LL = ["stats"], RL = (e) => Nw(wue, e);
-async function Tue(e) {
+var Oue = "/api/stats", FL = ["stats"], IL = (e) => Aw(Oue, e);
+async function kue(e) {
await X.fetchQuery({
- queryKey: LL,
- queryFn: () => RL(e)
+ queryKey: FL,
+ queryFn: () => IL(e)
});
}
-var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Eue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, BL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, VL = (e) => (e.max_reached || 0) * 100, Due = (e) => e.kind === "online" ? "在线直接观看" : BL(e) < VL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Oue = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, kue = (e) => Math.max(1, ...e) * 1.1, Aue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jue = {
+var LL = (e, t) => t ? Math.round(e / t * 100) : 0, Aue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, RL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, zL = (e) => (e.max_reached || 0) * 100, jue = (e) => e.kind === "online" ? "在线直接观看" : RL(e) < zL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Mue = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Nue = (e) => Math.max(1, ...e) * 1.1, Pue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Fue = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -45378,18 +45410,18 @@ var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Eue = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, Mue = (e) => e.map((e) => ({
- name: jue[e.k] ?? e.k,
+}, Iue = (e) => e.map((e) => ({
+ name: Fue[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), Nue = {
+})).sort((e, t) => t.value - e.value), Lue = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, HL = (e, t = {}) => e.map((e) => ({
+}, BL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Pue = (e) => HL(e, Nue), Fue = [
+})), Rue = (e) => BL(e, Lue), zue = [
[
1,
1,
@@ -45425,49 +45457,49 @@ var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Eue = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], Iue = (e) => Fue.map(([t, n, r]) => ({
+], Bue = (e) => zue.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), Lue = /* @__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 UL(e) {
- return typeof e == "string" && Lue.includes(e);
+})), Vue = /* @__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 VL(e) {
+ return typeof e == "string" && Vue.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var Rue = /* @__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 WL(e) {
- return typeof e == "string" && Rue.has(e);
+var Hue = /* @__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 HL(e) {
+ return typeof e == "string" && Hue.has(e);
}
-function GL(e) {
+function UL(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function KL(e) {
+function WL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HL(n) || UL(n)) && (t[n] = e[n]);
return t;
}
-function qL(e) {
+function GL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return KL(t);
+ return WL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? KL(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? WL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function JL(e) {
+function KL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n) || UL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HL(n) || UL(n) || VL(n)) && (t[n] = e[n]);
return t;
}
-function zue(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? JL(e.props) : typeof e == "object" && !Array.isArray(e) ? JL(e) : null;
+function Uue(e) {
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? KL(e.props) : typeof e == "object" && !Array.isArray(e) ? KL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var Bue = [
+var Wue = [
"children",
"width",
"height",
@@ -45477,25 +45509,25 @@ var Bue = [
"title",
"desc"
];
-function YL() {
- return YL = Object.assign ? Object.assign.bind() : function(e) {
+function qL() {
+ return qL = 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;
- }, YL.apply(null, arguments);
+ }, qL.apply(null, arguments);
}
-function Vue(e, t) {
+function Gue(e, t) {
if (e == null) return {};
- var n, r, i = Hue(e, t);
+ var n, r, i = Kue(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 Hue(e, t) {
+function Kue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -45504,14 +45536,14 @@ function Hue(e, t) {
}
return n;
}
-var XL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Vue(e, Bue), d = a || {
+var JL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Gue(e, Wue), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Wm("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", YL({}, JL(u), {
+ return /*#__PURE__*/ I.createElement("svg", qL({}, KL(u), {
className: f,
width: r,
height: i,
@@ -45519,26 +45551,26 @@ var XL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ I.createElement("title", null, c), /*#__PURE__*/ I.createElement("desc", null, l), n);
-}), Uue = ["children", "className"];
-function ZL() {
- return ZL = Object.assign ? Object.assign.bind() : function(e) {
+}), que = ["children", "className"];
+function YL() {
+ return YL = 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;
- }, ZL.apply(null, arguments);
+ }, YL.apply(null, arguments);
}
-function Wue(e, t) {
+function Jue(e, t) {
if (e == null) return {};
- var n, r, i = Gue(e, t);
+ var n, r, i = Yue(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 Gue(e, t) {
+function Yue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -45547,39 +45579,39 @@ function Gue(e, t) {
}
return n;
}
-var QL = /*#__PURE__*/ I.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Wue(e, Uue), a = Wm("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", ZL({ className: a }, JL(i), { ref: t }), n);
-}), $L = /*#__PURE__*/ (0, I.createContext)(null), Kue = () => (0, I.useContext)($L);
+var XL = /*#__PURE__*/ I.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Jue(e, que), a = Wm("recharts-layer", r);
+ return /*#__PURE__*/ I.createElement("g", YL({ className: a }, KL(i), { ref: t }), n);
+}), ZL = /*#__PURE__*/ (0, I.createContext)(null), Xue = () => (0, I.useContext)(ZL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function eR(e) {
+function QL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var tR = Math.cos, nR = Math.sin, rR = Math.sqrt, iR = Math.PI;
-iR / 2;
-var aR = 2 * iR, oR = Math.PI, sR = 2 * oR, cR = 1e-6, que = sR - cR;
-function lR(e) {
+var $L = Math.cos, eR = Math.sin, tR = Math.sqrt, nR = Math.PI;
+nR / 2;
+var rR = 2 * nR, iR = Math.PI, aR = 2 * iR, oR = 1e-6, Zue = aR - oR;
+function sR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Jue(e) {
+function Que(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return lR;
+ if (t > 15) return sR;
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 uR = class {
+var cR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? lR : Jue(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? sR : Que(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -45600,18 +45632,18 @@ var uR = 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 > cR) {
- if (!(Math.abs(u * s - c * l) > cR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > oR) {
+ if (!(Math.abs(u * s - c * l) > oR) || !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((oR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > cR && 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((iR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > oR && 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) > cR || Math.abs(this._y1 - l) > cR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % sR + sR), d > que ? 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 > cR && this._append`A${n},${n},0,${+(d >= oR)},${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) > oR || Math.abs(this._y1 - l) > oR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % aR + aR), d > Zue ? 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 > oR && this._append`A${n},${n},0,${+(d >= iR)},${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`;
@@ -45620,10 +45652,10 @@ var uR = class {
return this._;
}
};
-uR.prototype;
+cR.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function dR(e) {
+function lR(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -45634,18 +45666,18 @@ function dR(e) {
t = e;
}
return e;
- }, () => new uR(t);
+ }, () => new cR(t);
}
Array.prototype.slice;
-function fR(e) {
+function uR(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 pR(e) {
+function dR(e) {
this._context = e;
}
-pR.prototype = {
+dR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45668,33 +45700,33 @@ pR.prototype = {
}
}
};
-function mR(e) {
- return new pR(e);
+function fR(e) {
+ return new dR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function hR(e) {
+function pR(e) {
return e[0];
}
-function gR(e) {
+function mR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function _R(e, t) {
- var n = eR(!0), r = null, i = mR, a = null, o = dR(s);
- e = typeof e == "function" ? e : e === void 0 ? hR : eR(e), t = typeof t == "function" ? t : t === void 0 ? gR : eR(t);
+function hR(e, t) {
+ var n = QL(!0), r = null, i = fR, a = null, o = lR(s);
+ e = typeof e == "function" ? e : e === void 0 ? pR : QL(e), t = typeof t == "function" ? t : t === void 0 ? mR : QL(t);
function s(s) {
- var c, l = (s = fR(s)).length, u, d = !1, f;
+ var c, l = (s = uR(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 : eR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QL(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QL(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : eR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : QL(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -45703,11 +45735,11 @@ function _R(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function vR(e, t, n) {
- var r = null, i = eR(!0), a = null, o = mR, s = null, c = dR(l);
- e = typeof e == "function" ? e : e === void 0 ? hR : eR(+e), t = typeof t == "function" ? t : eR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? gR : eR(+n);
+function gR(e, t, n) {
+ var r = null, i = QL(!0), a = null, o = fR, s = null, c = lR(l);
+ e = typeof e == "function" ? e : e === void 0 ? pR : QL(+e), t = typeof t == "function" ? t : QL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? mR : QL(+n);
function l(l) {
- var u, d, f, p = (l = fR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = uR(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();
@@ -45721,20 +45753,20 @@ function vR(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return _R().defined(i).curve(o).context(a);
+ return hR().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : eR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QL(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : eR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QL(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : eR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : QL(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QL(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QL(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : eR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : QL(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -45742,7 +45774,7 @@ function vR(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : eR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : QL(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -45751,7 +45783,7 @@ function vR(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var yR = class {
+var _R = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -45778,70 +45810,70 @@ var yR = class {
this._x0 = e, this._y0 = t;
}
};
-function Yue(e) {
- return new yR(e, !0);
+function $ue(e) {
+ return new _R(e, !0);
}
-function Xue(e) {
- return new yR(e, !1);
+function ede(e) {
+ return new _R(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var bR = { draw(e, t) {
- let n = rR(t / iR);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, aR);
-} }, Zue = { draw(e, t) {
- let n = rR(t / 5) / 2;
+var vR = { draw(e, t) {
+ let n = tR(t / nR);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, rR);
+} }, tde = { draw(e, t) {
+ let n = tR(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();
-} }, xR = rR(1 / 3), Que = xR * 2, $ue = { draw(e, t) {
- let n = rR(t / Que), r = n * xR;
+} }, yR = tR(1 / 3), nde = yR * 2, rde = { draw(e, t) {
+ let n = tR(t / nde), r = n * yR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, ede = { draw(e, t) {
- let n = rR(t), r = -n / 2;
+} }, ide = { draw(e, t) {
+ let n = tR(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, tde = .8908130915292852, SR = nR(iR / 10) / nR(7 * iR / 10), nde = nR(aR / 10) * SR, rde = -tR(aR / 10) * SR, ide = { draw(e, t) {
- let n = rR(t * tde), r = nde * n, i = rde * n;
+} }, ade = .8908130915292852, bR = eR(nR / 10) / eR(7 * nR / 10), ode = eR(rR / 10) * bR, sde = -$L(rR / 10) * bR, cde = { draw(e, t) {
+ let n = tR(t * ade), r = ode * n, i = sde * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = aR * t / 5, o = tR(a), s = nR(a);
+ let a = rR * t / 5, o = $L(a), s = eR(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, CR = rR(3), ade = { draw(e, t) {
- let n = -rR(t / (CR * 3));
- e.moveTo(0, n * 2), e.lineTo(-CR * n, -n), e.lineTo(CR * n, -n), e.closePath();
-} }, wR = -.5, TR = rR(3) / 2, ER = 1 / rR(12), ode = (ER / 2 + 1) * 3, sde = { draw(e, t) {
- let n = rR(t / ode), r = n / 2, i = n * ER, a = r, o = n * ER + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(wR * r - TR * i, TR * r + wR * i), e.lineTo(wR * a - TR * o, TR * a + wR * o), e.lineTo(wR * s - TR * c, TR * s + wR * c), e.lineTo(wR * r + TR * i, wR * i - TR * r), e.lineTo(wR * a + TR * o, wR * o - TR * a), e.lineTo(wR * s + TR * c, wR * c - TR * s), e.closePath();
+} }, xR = tR(3), lde = { draw(e, t) {
+ let n = -tR(t / (xR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-xR * n, -n), e.lineTo(xR * n, -n), e.closePath();
+} }, SR = -.5, CR = tR(3) / 2, wR = 1 / tR(12), ude = (wR / 2 + 1) * 3, dde = { draw(e, t) {
+ let n = tR(t / ude), r = n / 2, i = n * wR, a = r, o = n * wR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(SR * r - CR * i, CR * r + SR * i), e.lineTo(SR * a - CR * o, CR * a + SR * o), e.lineTo(SR * s - CR * c, CR * s + SR * c), e.lineTo(SR * r + CR * i, SR * i - CR * r), e.lineTo(SR * a + CR * o, SR * o - CR * a), e.lineTo(SR * s + CR * c, SR * c - CR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function cde(e, t) {
- let n = null, r = dR(i);
- e = typeof e == "function" ? e : eR(e || bR), t = typeof t == "function" ? t : eR(t === void 0 ? 64 : +t);
+function fde(e, t) {
+ let n = null, r = lR(i);
+ e = typeof e == "function" ? e : QL(e || vR), t = typeof t == "function" ? t : QL(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 : eR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QL(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QL(+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 DR() {}
+function TR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function OR(e, t, n) {
+function ER(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 kR(e) {
+function DR(e) {
this._context = e;
}
-kR.prototype = {
+DR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45853,7 +45885,7 @@ kR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: OR(this, this._x1, this._y1);
+ case 3: ER(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;
@@ -45867,22 +45899,22 @@ kR.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: OR(this, e, t);
+ default: ER(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function lde(e) {
- return new kR(e);
+function pde(e) {
+ return new DR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function AR(e) {
+function OR(e) {
this._context = e;
}
-AR.prototype = {
- areaStart: DR,
- areaEnd: DR,
+OR.prototype = {
+ areaStart: TR,
+ areaEnd: TR,
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;
},
@@ -45908,20 +45940,20 @@ AR.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: OR(this, e, t);
+ default: ER(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function ude(e) {
- return new AR(e);
+function mde(e) {
+ return new OR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function jR(e) {
+function kR(e) {
this._context = e;
}
-jR.prototype = {
+kR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45948,22 +45980,22 @@ jR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: OR(this, e, t);
+ default: ER(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function dde(e) {
- return new jR(e);
+function hde(e) {
+ return new kR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function MR(e) {
+function AR(e) {
this._context = e;
}
-MR.prototype = {
- areaStart: DR,
- areaEnd: DR,
+AR.prototype = {
+ areaStart: TR,
+ areaEnd: TR,
lineStart: function() {
this._point = 0;
},
@@ -45974,30 +46006,30 @@ MR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function fde(e) {
- return new MR(e);
+function gde(e) {
+ return new AR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function NR(e) {
+function jR(e) {
return e < 0 ? -1 : 1;
}
-function PR(e, t, n) {
+function MR(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 (NR(a) + NR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (jR(a) + jR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function FR(e, t) {
+function NR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function IR(e, t, n) {
+function PR(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 LR(e) {
+function FR(e) {
this._context = e;
}
-LR.prototype = {
+FR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -46012,7 +46044,7 @@ LR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: IR(this, this._t0, FR(this, this._t0));
+ case 3: PR(this, this._t0, NR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -46027,24 +46059,24 @@ LR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, IR(this, FR(this, n = PR(this, e, t)), n);
+ this._point = 3, PR(this, NR(this, n = MR(this, e, t)), n);
break;
- default: IR(this, this._t0, n = PR(this, e, t));
+ default: PR(this, this._t0, n = MR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function RR(e) {
- this._context = new zR(e);
+function IR(e) {
+ this._context = new LR(e);
}
-(RR.prototype = Object.create(LR.prototype)).point = function(e, t) {
- LR.prototype.point.call(this, t, e);
+(IR.prototype = Object.create(FR.prototype)).point = function(e, t) {
+ FR.prototype.point.call(this, t, e);
};
-function zR(e) {
+function LR(e) {
this._context = e;
}
-zR.prototype = {
+LR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -46058,18 +46090,18 @@ zR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function pde(e) {
- return new LR(e);
+function _de(e) {
+ return new FR(e);
}
-function mde(e) {
- return new RR(e);
+function vde(e) {
+ return new IR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function BR(e) {
+function RR(e) {
this._context = e;
}
-BR.prototype = {
+RR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -46083,7 +46115,7 @@ BR.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 = VR(e), i = VR(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 = zR(e), i = zR(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;
},
@@ -46091,7 +46123,7 @@ BR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function VR(e) {
+function zR(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];
@@ -46099,15 +46131,15 @@ function VR(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function hde(e) {
- return new BR(e);
+function yde(e) {
+ return new RR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function HR(e, t) {
+function BR(e, t) {
this._context = e, this._t = t;
}
-HR.prototype = {
+BR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -46135,78 +46167,78 @@ HR.prototype = {
this._x = e, this._y = t;
}
};
-function gde(e) {
- return new HR(e, .5);
+function bde(e) {
+ return new BR(e, .5);
}
-function _de(e) {
- return new HR(e, 0);
+function xde(e) {
+ return new BR(e, 0);
}
-function vde(e) {
- return new HR(e, 1);
+function Sde(e) {
+ return new BR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function UR(e, t) {
+function VR(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 WR(e) {
+function HR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function yde(e, t) {
+function Cde(e, t) {
return e[t];
}
-function bde(e) {
+function wde(e) {
let t = [];
return t.key = e, t;
}
-function xde() {
- var e = eR([]), t = WR, n = UR, r = yde;
+function Tde() {
+ var e = QL([]), t = HR, n = VR, r = Cde;
function i(i) {
- var a = Array.from(e.apply(this, arguments), bde), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), wde), 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 = fR(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = uR(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 : eR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QL(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : eR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : QL(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? WR : typeof e == "function" ? e : eR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? HR : typeof e == "function" ? e : QL(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? UR, i) : n;
+ return arguments.length ? (n = e ?? VR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Sde(e, t) {
+function Ede(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
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;
}
- UR(e, t);
+ VR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Cde(e, t) {
+function Dde(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- UR(e, t);
+ VR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function wde(e, t) {
+function Ode(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -46218,53 +46250,53 @@ function wde(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, UR(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, VR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function GR(e) {
+function UR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Tde = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function KR(e) {
+var kde = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function WR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Tde.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : kde.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function qR(e) {
+function GR(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 JR(e) {
+function KR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function Ede(e) {
- return e == null ? "" : YR(e);
+function Ade(e) {
+ return e == null ? "" : qR(e);
}
-function YR(e) {
+function qR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(YR).join(",");
- if (JR(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(qR).join(",");
+ if (KR(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 XR(e) {
- if (Array.isArray(e)) return e.map(qR);
+function JR(e) {
+ if (Array.isArray(e)) return e.map(GR);
if (typeof e == "symbol") return [e];
- e = Ede(e);
+ e = Ade(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -46292,100 +46324,100 @@ function XR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function ZR(e, t, n) {
+function YR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (GR(t)) return n;
+ if (UR(t)) return n;
let r = e[t];
- return r === void 0 ? KR(t) && !Object.hasOwn(e, t) ? ZR(e, XR(t), n) : n : r;
+ return r === void 0 ? WR(t) && !Object.hasOwn(e, t) ? YR(e, JR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = qR(t));
+ typeof t == "number" && (t = GR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Dde(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), GR(t)) return n;
+ if (Array.isArray(t)) return jde(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), UR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Dde(e, t, n) {
+function jde(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || GR(t[e])) return n;
+ if (r == null || UR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var Ode = 4;
-function QR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ode), n = Math.round(e * t) / t;
+var Mde = 4;
+function XR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Mde), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function $R(e) {
+function ZR(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 + QR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + XR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var ez = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, tz = (e) => typeof e == "number" && e != +e, nz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !tz(e), rz = (e) => Z(e) || typeof e == "string", kde = 0, iz = (e) => {
- var t = ++kde;
+var QR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, $R = (e) => typeof e == "number" && e != +e, ez = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !$R(e), tz = (e) => Z(e) || typeof e == "string", Nde = 0, nz = (e) => {
+ var t = ++Nde;
return `${e || ""}${t}`;
-}, az = function(e, t) {
+}, rz = 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 (!Z(e) && typeof e != "string") return n;
var i;
- if (nz(e)) {
+ if (ez(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return tz(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, oz = (e) => {
+ return $R(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, iz = (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 sz(e, t, n) {
- return Z(e) && Z(t) ? QR(e + n * (t - e)) : t;
+function az(e, t, n) {
+ return Z(e) && Z(t) ? XR(e + n * (t - e)) : t;
}
-function cz(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : ZR(e, t)) === n);
+function oz(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : YR(e, t)) === n);
}
-var lz = (e) => e == null, uz = (e) => lz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function dz(e) {
+var sz = (e) => e == null, cz = (e) => sz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function lz(e) {
return e != null;
}
-function fz() {}
+function uz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var Ade = [
+var Pde = [
"type",
"size",
"sizeType"
];
-function pz() {
- return pz = Object.assign ? Object.assign.bind() : function(e) {
+function dz() {
+ return dz = 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;
- }, pz.apply(null, arguments);
+ }, dz.apply(null, arguments);
}
-function mz(e, t) {
+function fz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46395,30 +46427,30 @@ function mz(e, t) {
}
return n;
}
-function hz(e) {
+function pz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mz(Object(n), !0).forEach(function(t) {
- jde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mz(Object(n)).forEach(function(t) {
+ t % 2 ? fz(Object(n), !0).forEach(function(t) {
+ Fde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jde(e, t, n) {
- return (t = Mde(t)) in e ? Object.defineProperty(e, t, {
+function Fde(e, t, n) {
+ return (t = Ide(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mde(e) {
- var t = Nde(e, "string");
+function Ide(e) {
+ var t = Lde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nde(e, t) {
+function Lde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46428,16 +46460,16 @@ function Nde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Pde(e, t) {
+function Rde(e, t) {
if (e == null) return {};
- var n, r, i = Fde(e, t);
+ var n, r, i = zde(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 Fde(e, t) {
+function zde(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -46446,68 +46478,68 @@ function Fde(e, t) {
}
return n;
}
-var gz = {
- symbolCircle: bR,
- symbolCross: Zue,
- symbolDiamond: $ue,
- symbolSquare: ede,
- symbolStar: ide,
- symbolTriangle: ade,
- symbolWye: sde
-}, Ide = Math.PI / 180, Lde = (e) => gz[`symbol${uz(e)}`] || bR, Rde = (e, t, n) => {
+var mz = {
+ symbolCircle: vR,
+ symbolCross: tde,
+ symbolDiamond: rde,
+ symbolSquare: ide,
+ symbolStar: cde,
+ symbolTriangle: lde,
+ symbolWye: dde
+}, Bde = Math.PI / 180, Vde = (e) => mz[`symbol${cz(e)}`] || vR, Hde = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * Ide;
+ var r = 18 * Bde;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, zde = (e, t) => {
- gz[`symbol${uz(e)}`] = t;
-}, _z = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = hz(hz({}, Pde(e, Ade)), {}, {
+}, Ude = (e, t) => {
+ mz[`symbol${cz(e)}`] = t;
+}, hz = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = pz(pz({}, Rde(e, Pde)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Lde(a), t = cde().type(e).size(Rde(n, r, a))();
+ var e = Vde(a), t = fde().type(e).size(Hde(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = JL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", pz({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = KL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", dz({}, u, {
className: Wm("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-_z.registerSymbol = zde;
+hz.registerSymbol = Ude;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var vz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, yz = (e, t) => {
+var gz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, _z = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- UL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ VL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Bde = (e, t, n) => (r) => (e(t, n, r), null), bz = (e, t, n) => {
+}, Wde = (e, t, n) => (r) => (e(t, n, r), null), vz = (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];
- UL(i) && typeof a == "function" && (r ||= {}, r[i] = Bde(a, t, n));
+ VL(i) && typeof a == "function" && (r ||= {}, r[i] = Wde(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function xz(e, t) {
+function yz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46517,30 +46549,30 @@ function xz(e, t) {
}
return n;
}
-function Vde(e) {
+function Gde(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xz(Object(n), !0).forEach(function(t) {
- Hde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xz(Object(n)).forEach(function(t) {
+ t % 2 ? yz(Object(n), !0).forEach(function(t) {
+ Kde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Hde(e, t, n) {
- return (t = Ude(t)) in e ? Object.defineProperty(e, t, {
+function Kde(e, t, n) {
+ return (t = qde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ude(e) {
- var t = Wde(e, "string");
+function qde(e) {
+ var t = Jde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Wde(e, t) {
+function Jde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46550,22 +46582,22 @@ function Wde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Sz(e, t) {
- var n = Vde({}, e), r = t;
+function bz(e, t) {
+ var n = Gde({}, 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 Cz() {
- return Cz = Object.assign ? Object.assign.bind() : function(e) {
+function xz() {
+ return xz = 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;
- }, Cz.apply(null, arguments);
+ }, xz.apply(null, arguments);
}
-function wz(e, t) {
+function Sz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46575,30 +46607,30 @@ function wz(e, t) {
}
return n;
}
-function Tz(e) {
+function Cz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wz(Object(n), !0).forEach(function(t) {
- Gde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wz(Object(n)).forEach(function(t) {
+ t % 2 ? Sz(Object(n), !0).forEach(function(t) {
+ Yde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Sz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gde(e, t, n) {
- return (t = Kde(t)) in e ? Object.defineProperty(e, t, {
+function Yde(e, t, n) {
+ return (t = Xde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kde(e) {
- var t = qde(e, "string");
+function Xde(e) {
+ var t = Zde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qde(e, t) {
+function Zde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46608,7 +46640,7 @@ function qde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Ez = 32, Jde = {
+var wz = 32, Qde = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -46616,20 +46648,20 @@ var Ez = 32, Jde = {
verticalAlign: "middle",
labelStyle: {}
};
-function Yde(e) {
+function $de(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Xde(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = Ez / 2, a = Ez / 6, o = Ez / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function efe(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = wz / 2, a = wz / 6, o = wz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ I.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Yde(t.payload),
+ strokeDasharray: $de(t.payload),
x1: 0,
y1: i,
- x2: Ez,
+ x2: wz,
y2: i,
className: "recharts-legend-icon"
});
@@ -46639,35 +46671,35 @@ function Xde(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Ez}M${2 * o},${i}
+ H${wz}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ I.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${Ez / 8}h${Ez}v${Ez * 3 / 4}h${-Ez}z`,
+ d: `M0,${wz / 8}h${wz}v${wz * 3 / 4}h${-wz}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = Tz({}, t);
+ var l = Cz({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(_z, {
+ return /*#__PURE__*/ I.createElement(hz, {
fill: s,
cx: i,
cy: i,
- size: Ez,
+ size: wz,
sizeType: "diameter",
type: c
});
}
-function Zde(e) {
+function tfe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: Ez,
- height: Ez
+ width: wz,
+ height: wz
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -46683,20 +46715,20 @@ function Zde(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? Tz({}, s) : {};
+ var p = typeof s == "object" ? Cz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ I.createElement("li", Cz({
+ return /*#__PURE__*/ I.createElement("li", xz({
className: f,
style: l,
key: `legend-item-${r}`
- }, bz(e, t, r)), /*#__PURE__*/ I.createElement(XL, {
+ }, vz(e, t, r)), /*#__PURE__*/ I.createElement(JL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ I.createElement(Xde, {
+ }, /*#__PURE__*/ I.createElement(efe, {
data: t,
iconType: o,
inactiveColor: a
@@ -46706,8 +46738,8 @@ function Zde(e) {
}, m));
});
}
-var Qde = (e) => {
- var t = Sz(e, Jde), { payload: n, layout: r, align: i } = t;
+var nfe = (e) => {
+ var t = bz(e, Qde), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -46717,11 +46749,11 @@ var Qde = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(Zde, Cz({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(tfe, xz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function $de(e, t) {
+function rfe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -46731,77 +46763,77 @@ function $de(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function efe(e, t) {
+function ife(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Dz(e) {
+function Tz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function tfe(e) {
+function afe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Oz(e) {
- return e != null && typeof e != "function" && tfe(e.length);
+function Ez(e) {
+ return e != null && typeof e != "function" && afe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function nfe(e) {
+function ofe(e) {
return function(t) {
- return ZR(t, e);
+ return YR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function kz(e) {
+function Dz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function rfe(e) {
+function sfe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function ife(e) {
+function cfe(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 Az(e) {
+function Oz(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 afe = "[object RegExp]", jz = "[object String]", Mz = "[object Number]", Nz = "[object Boolean]", Pz = "[object Arguments]", ofe = "[object Symbol]", sfe = "[object Date]", cfe = "[object Map]", lfe = "[object Set]", ufe = "[object Array]", dfe = "[object ArrayBuffer]", ffe = "[object Object]", pfe = "[object DataView]", mfe = "[object Uint8Array]", hfe = "[object Uint8ClampedArray]", gfe = "[object Uint16Array]", _fe = "[object Uint32Array]", vfe = "[object Int8Array]", yfe = "[object Int16Array]", bfe = "[object Int32Array]", xfe = "[object Float32Array]", Sfe = "[object Float64Array]", Fz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var lfe = "[object RegExp]", kz = "[object String]", Az = "[object Number]", jz = "[object Boolean]", Mz = "[object Arguments]", ufe = "[object Symbol]", dfe = "[object Date]", ffe = "[object Map]", pfe = "[object Set]", mfe = "[object Array]", hfe = "[object ArrayBuffer]", gfe = "[object Object]", _fe = "[object DataView]", vfe = "[object Uint8Array]", yfe = "[object Uint8ClampedArray]", bfe = "[object Uint16Array]", xfe = "[object Uint32Array]", Sfe = "[object Int8Array]", Cfe = "[object Int16Array]", wfe = "[object Int32Array]", Tfe = "[object Float32Array]", Efe = "[object Float64Array]", Nz = 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 Cfe(e) {
- return Fz.Buffer !== void 0 && Fz.Buffer.isBuffer(e);
+function Dfe(e) {
+ return Nz.Buffer !== void 0 && Nz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function wfe(e, t) {
- return Iz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Ofe(e, t) {
+ return Pz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function Iz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Pz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (kz(e)) return e;
+ if (Dz(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] = Iz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Pz(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());
@@ -46812,132 +46844,132 @@ function Iz(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, Iz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Pz(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(Iz(a, void 0, n, r, i));
+ for (let a of e) t.add(Pz(a, void 0, n, r, i));
return t;
}
- if (Cfe(e)) return e.subarray();
- if (rfe(e)) {
+ if (Dfe(e)) return e.subarray();
+ if (sfe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Iz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Pz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(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, Lz(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, Fz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Tfe(e)) {
+ if (typeof e == "object" && kfe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Fz(t, e, n, r, i), t;
}
return e;
}
-function Lz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...ife(t)];
+function Fz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...cfe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = Iz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = Pz(t[s], s, n, r, i));
}
}
-function Tfe(e) {
- switch (Az(e)) {
- case Pz:
- case ufe:
+function kfe(e) {
+ switch (Oz(e)) {
+ case Mz:
+ case mfe:
+ case hfe:
+ case _fe:
+ case jz:
case dfe:
- case pfe:
- case Nz:
- case sfe:
- case xfe:
+ case Tfe:
+ case Efe:
case Sfe:
+ case Cfe:
+ case wfe:
+ case ffe:
+ case Az:
+ case gfe:
+ case lfe:
+ case pfe:
+ case kz:
+ case ufe:
case vfe:
case yfe:
case bfe:
- case cfe:
- case Mz:
- case ffe:
- case afe:
- case lfe:
- case jz:
- case ofe:
- case mfe:
- case hfe:
- case gfe:
- case _fe: return !0;
+ case xfe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Efe(e) {
- return Iz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Afe(e) {
+ return Pz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function Rz(e, t) {
+function Iz(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function zz(e) {
+function Lz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function Bz(e, t, n) {
- return typeof n == "function" ? Vz(e, t, function e(t, r, i, a, o, s) {
+function Rz(e, t, n) {
+ return typeof n == "function" ? zz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? Vz(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : Bz(e, t, () => void 0);
+ return c === void 0 ? zz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : Rz(e, t, () => void 0);
}
-function Vz(e, t, n, r, i = !1) {
+function zz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Dfe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? Vz(e, { ...t }, n, r, i) : Rz(e, t);
- default: return zz(e) && i ? typeof t != "string" || t === "" : Rz(e, t);
+ case "object": return jfe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? zz(e, { ...t }, n, r, i) : Iz(e, t);
+ default: return Lz(e) && i ? typeof t != "string" || t === "" : Iz(e, t);
}
}
-function Dfe(e, t, n, r, i = !1) {
+function jfe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return Hz(e, t, n, r);
- if (t instanceof Map) return Ofe(e, t, n, r);
- if (t instanceof Set) return kfe(e, t, n, r);
+ if (Array.isArray(t)) return Bz(e, t, n, r);
+ if (t instanceof Map) return Mfe(e, t, n, r);
+ if (t instanceof Set) return Nfe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) kz(e) && (e = Object(e));
+ if (i) Dz(e) && (e = Object(e));
else {
- let t = Az(e);
+ let t = Oz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -46953,13 +46985,13 @@ function Dfe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function Ofe(e, t, n, r) {
+function Mfe(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function Hz(e, t, n, r) {
+function Bz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -46977,40 +47009,40 @@ function Hz(e, t, n, r) {
}
return !0;
}
-function kfe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && Hz([...e], [...t], n, r);
+function Nfe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Bz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function Uz(e, t) {
- return Bz(e, t, () => void 0);
+function Vz(e, t) {
+ return Rz(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Afe(e) {
- return e = Efe(e), (t) => Uz(t, e);
+function Pfe(e) {
+ return e = Afe(e), (t) => Vz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function jfe(e, t) {
- return wfe(e, (n, r, i, a) => {
+function Ffe(e, t) {
+ return Ofe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (Az(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (Oz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), Lz(t, e, i, a), t;
+ return a.set(e, t), Fz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case Mz:
- case jz:
- case Nz: {
+ case Az:
+ case kz:
+ case jz: {
let t = new e.constructor(e?.valueOf());
- return Lz(t, e), t;
+ return Fz(t, e), t;
}
- case Pz: {
+ case Mz: {
let t = {};
- return Lz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Fz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -47019,79 +47051,79 @@ function jfe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Mfe(e) {
- return jfe(e);
+function Ife(e) {
+ return Ffe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Nfe = /^(?:0|[1-9]\d*)$/;
-function Wz(e, t = 2 ** 53 - 1) {
+var Lfe = /^(?:0|[1-9]\d*)$/;
+function Hz(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return Nfe.test(e);
+ case "string": return Lfe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function Pfe(e) {
- return typeof e == "object" && !!e && Az(e) === "[object Arguments]";
+function Rfe(e) {
+ return typeof e == "object" && !!e && Oz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function Ffe(e, t) {
+function zfe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && KR(t) && !(t in Object(e)) ? XR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && WR(t) && !(t in Object(e)) ? JR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = qR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Pfe(r)) && Wz(t) && Number(t) < r.length)) return !1;
+ let t = GR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Rfe(r)) && Hz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Ife(e, t) {
+function Bfe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = qR(e);
+ case "number": e = GR(e);
}
- return t = Mfe(t), function(n) {
- let r = ZR(n, e);
- return r === void 0 ? Ffe(n, e) : t === void 0 ? r === void 0 : Uz(r, t);
+ return t = Ife(t), function(n) {
+ let r = YR(n, e);
+ return r === void 0 ? zfe(n, e) : t === void 0 ? r === void 0 : Vz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function Gz(e) {
- if (e == null) return Dz;
+function Uz(e) {
+ if (e == null) return Tz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Ife(e[0], e[1]) : Afe(e);
- default: return nfe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Bfe(e[0], e[1]) : Pfe(e);
+ default: return ofe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Lfe(e) {
+function Vfe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function Kz(e, t = Dz) {
- return Oz(e) ? $de(Array.from(e), efe(Gz(t), 1)).map(Lfe) : [];
+function Wz(e, t = Tz) {
+ return Ez(e) ? rfe(Array.from(e), ife(Uz(t), 1)).map(Vfe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function qz(e, t, n) {
- return t === !0 ? Kz(e, n) : typeof t == "function" ? Kz(e, t) : e;
+function Gz(e, t, n) {
+ return t === !0 ? Wz(e, n) : typeof t == "function" ? Wz(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Rfe = /* @__PURE__ */ M(((e) => {
+var Hfe = /* @__PURE__ */ M(((e) => {
var t = ne(), n = vh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -47136,60 +47168,60 @@ var Rfe = /* @__PURE__ */ M(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), zfe = /* @__PURE__ */ M(((e, t) => {
- t.exports = Rfe();
-})), Jz = /*#__PURE__*/ (0, I.createContext)(null), Bfe = zfe(), Vfe = (e) => e, Yz = () => {
- var e = (0, I.useContext)(Jz);
- return e ? e.store.dispatch : Vfe;
-}, Xz = () => {}, Hfe = () => Xz, Ufe = (e, t) => e === t;
+})), Ufe = /* @__PURE__ */ M(((e, t) => {
+ t.exports = Hfe();
+})), Kz = /*#__PURE__*/ (0, I.createContext)(null), Wfe = Ufe(), Gfe = (e) => e, qz = () => {
+ var e = (0, I.useContext)(Kz);
+ return e ? e.store.dispatch : Gfe;
+}, Jz = () => {}, Kfe = () => Jz, qfe = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(Jz), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(Kz), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Xz, [t, e]);
- return (0, Bfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Hfe, t ? t.store.getState : Xz, t ? t.store.getState : Xz, n, Ufe);
+ } : Jz, [t, e]);
+ return (0, Wfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Kfe, t ? t.store.getState : Jz, t ? t.store.getState : Jz, n, qfe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Wfe(e, t = `expected a function, instead received ${typeof e}`) {
+function Jfe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Gfe(e, t = `expected an object, instead received ${typeof e}`) {
+function Yfe(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function Kfe(e, t = "expected all items to be functions, instead received the following types: ") {
+function Xfe(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var Zz = (e) => Array.isArray(e) ? e : [e];
-function qfe(e) {
+var Yz = (e) => Array.isArray(e) ? e : [e];
+function Zfe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Kfe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Xfe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Jfe(e, t) {
+function Qfe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Yfe = class {
+var $fe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Xfe = typeof WeakRef < "u" ? WeakRef : Yfe, Zfe = 0, Qz = 1;
-function $z() {
+}, epe = typeof WeakRef < "u" ? WeakRef : $fe, tpe = 0, Xz = 1;
+function Zz() {
return {
- s: Zfe,
+ s: tpe,
v: void 0,
o: null,
p: null
};
}
-function eB(e, t = {}) {
- let n = $z(), { resultEqualityCheck: r } = t, i, a = 0;
+function Qz(e, t = {}) {
+ let n = Zz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -47198,43 +47230,43 @@ function eB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = $z(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Zz(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = $z(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Zz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Qz) c = t.v;
+ if (t.s === Xz) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Xfe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new epe(c) : c;
}
- return s.s = Qz, s.v = c, c;
+ return s.s = Xz, s.v = c, c;
}
return o.clearCache = () => {
- n = $z(), o.resetResultsCount();
+ n = Zz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function Qfe(e, ...t) {
+function npe(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()), Wfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = eB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), Jfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Qz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Zz(c), p = Zz(u), m = qfe(e), h = s(function() {
+ }, f = Yz(c), p = Yz(u), m = Zfe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Jfe(m, arguments);
+ let e = Qfe(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -47256,14 +47288,14 @@ function Qfe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ Qfe(eB), $fe = Object.assign((e, t = $) => {
- Gfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ npe(Qz), rpe = Object.assign((e, t = $) => {
+ Yfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => $fe });
+}, { withTypes: () => rpe });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function epe(e, t = 1) {
+function ipe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -47274,17 +47306,17 @@ function epe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function tB(e, t, n) {
- return zz(n) && (typeof t == "number" && Oz(n) && Wz(t) && t < n.length || typeof t == "string" && t in n) ? Rz(n[t], e) : !1;
+function $z(e, t, n) {
+ return Lz(n) && (typeof t == "number" && Ez(n) && Hz(t) && t < n.length || typeof t == "string" && t in n) ? Iz(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function nB(e) {
+function eB(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var tpe = (e, t, n) => {
+var ape = (e, t, n) => {
if (e !== t) {
- let r = nB(e), i = nB(t);
+ let r = eB(e), i = eB(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -47292,15 +47324,15 @@ var tpe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, npe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, rpe = /^\w*$/;
-function ipe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || JR(e) ? !0 : typeof e == "string" && (rpe.test(e) || !npe.test(e)) || t != null && Object.hasOwn(t, e);
+}, ope = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, spe = /^\w*$/;
+function cpe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || KR(e) ? !0 : typeof e == "string" && (spe.test(e) || !ope.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function ape(e, t, n, r) {
+function lpe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Oz(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 = Ez(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]];
@@ -47308,16 +47340,16 @@ function ape(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) || ipe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || cpe(e) ? e : {
key: e,
- path: XR(e)
+ path: JR(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 = tpe(e.criteria[r], t.criteria[r], n[r]);
+ let i = ape(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -47325,25 +47357,25 @@ function ape(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function rB(e, ...t) {
+function tB(e, ...t) {
let n = t.length;
- return n > 1 && tB(e, t[0], t[1]) ? t = [] : n > 2 && tB(t[0], t[1], t[2]) && (t = [t[0]]), ape(e, epe(t), ["asc"]);
+ return n > 1 && $z(e, t[0], t[1]) ? t = [] : n > 2 && $z(t[0], t[1], t[2]) && (t = [t[0]]), lpe(e, ipe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var iB = (e) => e.legend.settings, ope = (e) => e.legend.size, spe = $([(e) => e.legend.payload, iB], (e, t) => {
+var nB = (e) => e.legend.settings, upe = (e) => e.legend.size, dpe = $([(e) => e.legend.payload, nB], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? rB(r, n) : r;
+ return n ? tB(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function cpe() {
- return Q(spe);
+function fpe() {
+ return Q(dpe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var aB = 1;
-function oB() {
+var rB = 1;
+function iB() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -47358,7 +47390,7 @@ function oB() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > aB || Math.abs(i.left - t.left) > aB || Math.abs(i.top - t.top) > aB || Math.abs(i.width - t.width) > aB) && n({
+ (Math.abs(i.height - t.height) > rB || Math.abs(i.left - t.left) > rB || Math.abs(i.top - t.top) > rB || Math.abs(i.width - t.width) > rB) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -47375,26 +47407,26 @@ function oB() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function sB(e) {
+function aB(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 cB = typeof Symbol == "function" && Symbol.observable || "@@observable", lB = () => Math.random().toString(36).substring(7).split("").join("."), uB = {
- INIT: `@@redux/INIT${/* @__PURE__ */ lB()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ lB()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${lB()}`
+var oB = typeof Symbol == "function" && Symbol.observable || "@@observable", sB = () => Math.random().toString(36).substring(7).split("").join("."), cB = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ sB()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ sB()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${sB()}`
};
-function dB(e) {
+function lB(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function fB(e, t, n) {
- if (typeof e != "function") throw Error(sB(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(sB(0));
+function uB(e, t, n) {
+ if (typeof e != "function") throw Error(aB(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(aB(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(sB(1));
- return n(fB)(e, t);
+ if (typeof n != "function") throw Error(aB(1));
+ return n(uB)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -47403,27 +47435,27 @@ function fB(e, t, n) {
}));
}
function u() {
- if (c) throw Error(sB(3));
+ if (c) throw Error(aB(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(sB(4));
- if (c) throw Error(sB(5));
+ if (typeof e != "function") throw Error(aB(4));
+ if (c) throw Error(aB(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(sB(6));
+ if (c) throw Error(aB(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!dB(e)) throw Error(sB(7));
- if (e.type === void 0) throw Error(sB(8));
- if (typeof e.type != "string") throw Error(sB(17));
- if (c) throw Error(sB(9));
+ if (!lB(e)) throw Error(aB(7));
+ if (e.type === void 0) throw Error(aB(8));
+ if (typeof e.type != "string") throw Error(aB(17));
+ if (c) throw Error(aB(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -47434,41 +47466,41 @@ function fB(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(sB(10));
- r = e, f({ type: uB.REPLACE });
+ if (typeof e != "function") throw Error(aB(10));
+ r = e, f({ type: cB.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(sB(11));
+ if (typeof t != "object" || !t) throw Error(aB(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [cB]() {
+ [oB]() {
return this;
}
};
}
- return f({ type: uB.INIT }), {
+ return f({ type: cB.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [cB]: m
+ [oB]: m
};
}
-function lpe(e) {
+function ppe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: uB.INIT }) === void 0) throw Error(sB(12));
- if (n(void 0, { type: uB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(sB(13));
+ if (n(void 0, { type: cB.INIT }) === void 0) throw Error(aB(12));
+ if (n(void 0, { type: cB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(aB(13));
});
}
-function pB(e) {
+function dB(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -47476,7 +47508,7 @@ function pB(e) {
}
let r = Object.keys(n), i;
try {
- lpe(n);
+ ppe(n);
} catch (e) {
i = e;
}
@@ -47485,124 +47517,124 @@ function pB(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(sB(14));
+ if (u === void 0) throw t && t.type, Error(aB(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function mB(...e) {
+function fB(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function upe(...e) {
+function mpe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(sB(15));
+ throw Error(aB(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = mB(...e.map((e) => e(o)))(i.dispatch), {
+ return a = fB(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function hB(e) {
- return dB(e) && "type" in e && typeof e.type == "string";
+function pB(e) {
+ return lB(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var gB = Symbol.for("immer-nothing"), _B = Symbol.for("immer-draftable"), vB = Symbol.for("immer-state");
-function yB(e, ...t) {
+var mB = Symbol.for("immer-nothing"), hB = Symbol.for("immer-draftable"), gB = Symbol.for("immer-state");
+function _B(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var bB = Object, xB = bB.getPrototypeOf, SB = "constructor", CB = "prototype", wB = "configurable", TB = "enumerable", EB = "writable", DB = "value", OB = (e) => !!e && !!e[vB];
-function kB(e) {
- return e ? jB(e) || LB(e) || !!e[_B] || !!e[SB]?.[_B] || RB(e) || zB(e) : !1;
+var vB = Object, yB = vB.getPrototypeOf, bB = "constructor", xB = "prototype", SB = "configurable", CB = "enumerable", wB = "writable", TB = "value", EB = (e) => !!e && !!e[gB];
+function DB(e) {
+ return e ? kB(e) || FB(e) || !!e[hB] || !!e[bB]?.[hB] || IB(e) || LB(e) : !1;
}
-var dpe = bB[CB][SB].toString(), AB = /* @__PURE__ */ new WeakMap();
-function jB(e) {
- if (!e || !BB(e)) return !1;
- let t = xB(e);
- if (t === null || t === bB[CB]) return !0;
- let n = bB.hasOwnProperty.call(t, SB) && t[SB];
+var hpe = vB[xB][bB].toString(), OB = /* @__PURE__ */ new WeakMap();
+function kB(e) {
+ if (!e || !RB(e)) return !1;
+ let t = yB(e);
+ if (t === null || t === vB[xB]) return !0;
+ let n = vB.hasOwnProperty.call(t, bB) && t[bB];
if (n === Object) return !0;
- if (!VB(n)) return !1;
- let r = AB.get(n);
- return r === void 0 && (r = Function.toString.call(n), AB.set(n, r)), r === dpe;
+ if (!zB(n)) return !1;
+ let r = OB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), OB.set(n, r)), r === hpe;
}
-function MB(e, t, n = !0) {
- NB(e) === 0 ? (n ? Reflect.ownKeys(e) : bB.keys(e)).forEach((n) => {
+function AB(e, t, n = !0) {
+ jB(e) === 0 ? (n ? Reflect.ownKeys(e) : vB.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function NB(e) {
- let t = e[vB];
- return t ? t.type_ : LB(e) ? 1 : RB(e) ? 2 : zB(e) ? 3 : 0;
+function jB(e) {
+ let t = e[gB];
+ return t ? t.type_ : FB(e) ? 1 : IB(e) ? 2 : LB(e) ? 3 : 0;
}
-var PB = (e, t, n = NB(e)) => n === 2 ? e.has(t) : bB[CB].hasOwnProperty.call(e, t), FB = (e, t, n = NB(e)) => n === 2 ? e.get(t) : e[t], IB = (e, t, n, r = NB(e)) => {
+var MB = (e, t, n = jB(e)) => n === 2 ? e.has(t) : vB[xB].hasOwnProperty.call(e, t), NB = (e, t, n = jB(e)) => n === 2 ? e.get(t) : e[t], PB = (e, t, n, r = jB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function fpe(e, t) {
+function gpe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var LB = Array.isArray, RB = (e) => e instanceof Map, zB = (e) => e instanceof Set, BB = (e) => typeof e == "object", VB = (e) => typeof e == "function", HB = (e) => typeof e == "boolean";
-function ppe(e) {
+var FB = Array.isArray, IB = (e) => e instanceof Map, LB = (e) => e instanceof Set, RB = (e) => typeof e == "object", zB = (e) => typeof e == "function", BB = (e) => typeof e == "boolean";
+function _pe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var UB = (e) => e.copy_ || e.base_, WB = (e) => e.modified_ ? e.copy_ : e.base_;
-function GB(e, t) {
- if (RB(e)) return new Map(e);
- if (zB(e)) return new Set(e);
- if (LB(e)) return Array[CB].slice.call(e);
- let n = jB(e);
+var VB = (e) => e.copy_ || e.base_, HB = (e) => e.modified_ ? e.copy_ : e.base_;
+function UB(e, t) {
+ if (IB(e)) return new Map(e);
+ if (LB(e)) return new Set(e);
+ if (FB(e)) return Array[xB].slice.call(e);
+ let n = kB(e);
if (t === !0 || t === "class_only" && !n) {
- let t = bB.getOwnPropertyDescriptors(e);
- delete t[vB];
+ let t = vB.getOwnPropertyDescriptors(e);
+ delete t[gB];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[EB] === !1 && (a[EB] = !0, a[wB] = !0), (a.get || a.set) && (t[i] = {
+ a[wB] === !1 && (a[wB] = !0, a[SB] = !0), (a.get || a.set) && (t[i] = {
+ [SB]: !0,
[wB]: !0,
- [EB]: !0,
- [TB]: a[TB],
- [DB]: e[i]
+ [CB]: a[CB],
+ [TB]: e[i]
});
}
- return bB.create(xB(e), t);
+ return vB.create(yB(e), t);
}
{
- let t = xB(e);
+ let t = yB(e);
if (t !== null && n) return { ...e };
- let r = bB.create(t);
- return bB.assign(r, e);
- }
-}
-function KB(e, t = !1) {
- return JB(e) || OB(e) || !kB(e) ? e : (NB(e) > 1 && bB.defineProperties(e, {
- set: qB,
- add: qB,
- clear: qB,
- delete: qB
- }), bB.freeze(e), t && MB(e, (e, t) => {
- KB(t, !0);
+ let r = vB.create(t);
+ return vB.assign(r, e);
+ }
+}
+function WB(e, t = !1) {
+ return KB(e) || EB(e) || !DB(e) ? e : (jB(e) > 1 && vB.defineProperties(e, {
+ set: GB,
+ add: GB,
+ clear: GB,
+ delete: GB
+ }), vB.freeze(e), t && AB(e, (e, t) => {
+ WB(t, !0);
}, !1), e);
}
-function mpe() {
- yB(2);
+function vpe() {
+ _B(2);
}
-var qB = { [DB]: mpe };
-function JB(e) {
- return e === null || !BB(e) || bB.isFrozen(e);
+var GB = { [TB]: vpe };
+function KB(e) {
+ return e === null || !RB(e) || vB.isFrozen(e);
}
-var YB = "MapSet", XB = "Patches", ZB = "ArrayMethods", QB = {};
-function $B(e) {
- let t = QB[e];
- return t || yB(0, e), t;
+var qB = "MapSet", JB = "Patches", YB = "ArrayMethods", XB = {};
+function ZB(e) {
+ let t = XB[e];
+ return t || _B(0, e), t;
}
-var eV = (e) => !!QB[e], tV, nV = () => tV, hpe = (e, t) => ({
+var QB = (e) => !!XB[e], $B, eV = () => $B, ype = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -47610,114 +47642,114 @@ var eV = (e) => !!QB[e], tV, nV = () => tV, hpe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: eV(YB) ? $B(YB) : void 0,
- arrayMethodsPlugin_: eV(ZB) ? $B(ZB) : void 0
+ mapSetPlugin_: QB(qB) ? ZB(qB) : void 0,
+ arrayMethodsPlugin_: QB(YB) ? ZB(YB) : void 0
});
-function rV(e, t) {
- t && (e.patchPlugin_ = $B(XB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function tV(e, t) {
+ t && (e.patchPlugin_ = ZB(JB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function iV(e) {
- aV(e), e.drafts_.forEach(gpe), e.drafts_ = null;
+function nV(e) {
+ rV(e), e.drafts_.forEach(bpe), e.drafts_ = null;
}
-function aV(e) {
- e === tV && (tV = e.parent_);
+function rV(e) {
+ e === $B && ($B = e.parent_);
}
-var oV = (e) => tV = hpe(tV, e);
-function gpe(e) {
- let t = e[vB];
+var iV = (e) => $B = ype($B, e);
+function bpe(e) {
+ let t = e[gB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function sV(e, t) {
+function aV(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[vB].modified_ && (iV(t), yB(4)), kB(e) && (e = cV(t, e));
+ n[gB].modified_ && (nV(t), _B(4)), DB(e) && (e = oV(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[vB].base_, e, t);
- } else e = cV(t, n);
- return _pe(t, e, !0), iV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gB ? void 0 : e;
-}
-function cV(e, t) {
- if (JB(t)) return t;
- let n = t[vB];
- if (!n) return pV(t, e.handledSet_, e);
- if (!uV(n, e)) return t;
+ r && r.generateReplacementPatches_(n[gB].base_, e, t);
+ } else e = oV(t, n);
+ return xpe(t, e, !0), nV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === mB ? void 0 : e;
+}
+function oV(e, t) {
+ if (KB(t)) return t;
+ let n = t[gB];
+ if (!n) return dV(t, e.handledSet_, e);
+ if (!cV(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- fV(n, e);
+ uV(n, e);
}
return n.copy_;
}
-function _pe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && KB(t, n);
+function xpe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && WB(t, n);
}
-function lV(e) {
+function sV(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var uV = (e, t) => e.scope_ === t, vpe = [];
-function dV(e, t, n, r) {
- let i = UB(e), a = e.type_;
- if (r !== void 0 && FB(i, r, a) === t) {
- IB(i, r, n, a);
+var cV = (e, t) => e.scope_ === t, Spe = [];
+function lV(e, t, n, r) {
+ let i = VB(e), a = e.type_;
+ if (r !== void 0 && NB(i, r, a) === t) {
+ PB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- MB(i, (e, n) => {
- if (OB(n)) {
+ AB(i, (e, n) => {
+ if (EB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? vpe;
- for (let e of o) IB(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? Spe;
+ for (let e of o) PB(i, e, n, a);
}
-function ype(e, t, n) {
+function Cpe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !uV(i, r)) return;
+ if (!i || !cV(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = WB(i);
- dV(e, i.draft_ ?? i, a, n), fV(i, r);
+ let a = HB(i);
+ lV(e, i.draft_ ?? i, a, n), uV(i, r);
});
}
-function fV(e, t) {
+function uV(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);
}
- lV(e);
+ sV(e);
}
}
-function bpe(e, t, n) {
+function wpe(e, t, n) {
let { scope_: r } = e;
- if (OB(n)) {
- let i = n[vB];
- uV(i, r) && i.callbacks_.push(function() {
- yV(e), dV(e, n, WB(i), t);
+ if (EB(n)) {
+ let i = n[gB];
+ cV(i, r) && i.callbacks_.push(function() {
+ _V(e), lV(e, n, HB(i), t);
});
- } else kB(n) && e.callbacks_.push(function() {
- let i = UB(e);
- e.type_ === 3 ? i.has(n) && pV(n, r.handledSet_, r) : FB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pV(FB(e.copy_, t, e.type_), r.handledSet_, r);
+ } else DB(n) && e.callbacks_.push(function() {
+ let i = VB(e);
+ e.type_ === 3 ? i.has(n) && dV(n, r.handledSet_, r) : NB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && dV(NB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function pV(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || OB(e) || t.has(e) || !kB(e) || JB(e) ? e : (t.add(e), MB(e, (r, i) => {
- if (OB(i)) {
- let t = i[vB];
- uV(t, n) && (IB(e, r, WB(t), e.type_), lV(t));
- } else kB(i) && pV(i, t, n);
+function dV(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || EB(e) || t.has(e) || !DB(e) || KB(e) ? e : (t.add(e), AB(e, (r, i) => {
+ if (EB(i)) {
+ let t = i[gB];
+ cV(t, n) && (PB(e, r, HB(t), e.type_), sV(t));
+ } else DB(i) && dV(i, t, n);
}), e);
}
-function xpe(e, t) {
- let n = LB(e), r = {
+function Tpe(e, t) {
+ let n = FB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : nV(),
+ scope_: t ? t.scope_ : eV(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -47728,108 +47760,108 @@ function xpe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = mV;
- n && (i = [r], a = hV);
+ }, i = r, a = fV;
+ n && (i = [r], a = pV);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var mV = {
+var fV = {
get(e, t) {
- if (t === vB) return e;
+ if (t === gB) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = UB(e);
- if (!PB(i, t, e.type_)) return Cpe(e, i, t);
+ let i = VB(e);
+ if (!MB(i, t, e.type_)) return Dpe(e, i, t);
let a = i[t];
- if (e.finalized_ || !kB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ppe(t)) return a;
- if (a === gV(e.base_, t) || Spe(e, t, a)) {
- yV(e);
- let n = e.type_ === 1 ? +t : t, r = bV(e.scope_, a, e, n);
+ if (e.finalized_ || !DB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && _pe(t)) return a;
+ if (a === mV(e.base_, t) || Epe(e, t, a)) {
+ _V(e);
+ let n = e.type_ === 1 ? +t : t, r = vV(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in UB(e);
+ return t in VB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(UB(e));
+ return Reflect.ownKeys(VB(e));
},
set(e, t, n) {
- let r = _V(UB(e), t);
+ let r = hV(VB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = gV(UB(e), t), i = r?.[vB];
+ let r = mV(VB(e), t), i = r?.[gB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (fpe(n, r) && (n !== void 0 || PB(e.base_, t, e.type_))) return !0;
- yV(e), vV(e);
+ if (gpe(n, r) && (n !== void 0 || MB(e.base_, t, e.type_))) return !0;
+ _V(e), gV(e);
}
- return e.copy_[t] === n && (n !== void 0 || PB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), bpe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || MB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), wpe(e, t, n), !0);
},
deleteProperty(e, t) {
- return yV(e), gV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), vV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return _V(e), mV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), gV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = UB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = VB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [EB]: !0,
- [wB]: e.type_ !== 1 || t !== "length",
- [TB]: r[TB],
- [DB]: n[t]
+ [wB]: !0,
+ [SB]: e.type_ !== 1 || t !== "length",
+ [CB]: r[CB],
+ [TB]: n[t]
};
},
defineProperty() {
- yB(11);
+ _B(11);
},
getPrototypeOf(e) {
- return xB(e.base_);
+ return yB(e.base_);
},
setPrototypeOf() {
- yB(12);
+ _B(12);
}
-}, hV = {};
-for (let e in mV) {
- let t = mV[e];
- hV[e] = function() {
+}, pV = {};
+for (let e in fV) {
+ let t = fV[e];
+ pV[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-hV.deleteProperty = function(e, t) {
- return hV.set.call(this, e, t, void 0);
-}, hV.set = function(e, t, n) {
- return mV.set.call(this, e[0], t, n, e[0]);
+pV.deleteProperty = function(e, t) {
+ return pV.set.call(this, e, t, void 0);
+}, pV.set = function(e, t, n) {
+ return fV.set.call(this, e[0], t, n, e[0]);
};
-function gV(e, t) {
- let n = e[vB];
- return (n ? UB(n) : e)[t];
+function mV(e, t) {
+ let n = e[gB];
+ return (n ? VB(n) : e)[t];
}
-function Spe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !kB(n) || n[vB] ? !1 : e.baseRefs_.has(n);
+function Epe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !DB(n) || n[gB] ? !1 : e.baseRefs_.has(n);
}
-function Cpe(e, t, n) {
- let r = _V(t, n);
- return r ? DB in r ? r[DB] : r.get?.call(e.draft_) : void 0;
+function Dpe(e, t, n) {
+ let r = hV(t, n);
+ return r ? TB in r ? r[TB] : r.get?.call(e.draft_) : void 0;
}
-function _V(e, t) {
+function hV(e, t) {
if (!(t in e)) return;
- let n = xB(e);
+ let n = yB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = xB(n);
+ n = yB(n);
}
}
-function vV(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && vV(e.parent_));
+function gV(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && gV(e.parent_));
}
-function yV(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), GB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function _V(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), UB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var wpe = class {
+var Ope = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (VB(e) && !VB(t)) {
+ if (zB(e) && !zB(t)) {
let n = t;
t = e;
let r = this;
@@ -47837,30 +47869,30 @@ var wpe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- VB(t) || yB(6), n !== void 0 && !VB(n) && yB(7);
+ zB(t) || _B(6), n !== void 0 && !zB(n) && _B(7);
let r;
- if (kB(e)) {
- let i = oV(this), a = bV(i, e, void 0), o = !0;
+ if (DB(e)) {
+ let i = iV(this), a = vV(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? iV(i) : aV(i);
+ o ? nV(i) : rV(i);
}
- return rV(i, n), sV(r, i);
+ return tV(i, n), aV(r, i);
}
- if (!e || !BB(e)) {
- if (r = t(e), r === void 0 && (r = e), r === gB && (r = void 0), this.autoFreeze_ && KB(r, !0), n) {
+ if (!e || !RB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === mB && (r = void 0), this.autoFreeze_ && WB(r, !0), n) {
let t = [], i = [];
- $B(XB).generateReplacementPatches_(e, r, {
+ ZB(JB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- yB(1, e);
+ _B(1, e);
}, this.produceWithPatches = (e, t) => {
- if (VB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (zB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -47869,18 +47901,18 @@ var wpe = class {
n,
r
];
- }, HB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, BB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), BB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), BB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- kB(e) || yB(8), OB(e) && (e = xV(e));
- let t = oV(this), n = bV(t, e, void 0);
- return n[vB].isManual_ = !0, aV(t), n;
+ DB(e) || _B(8), EB(e) && (e = yV(e));
+ let t = iV(this), n = vV(t, e, void 0);
+ return n[gB].isManual_ = !0, rV(t), n;
}
finishDraft(e, t) {
- let n = e && e[vB];
- (!n || !n.isManual_) && yB(9);
+ let n = e && e[gB];
+ (!n || !n.isManual_) && _B(9);
let { scope_: r } = n;
- return rV(r, t), sV(void 0, r);
+ return tV(r, t), aV(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -47904,44 +47936,44 @@ var wpe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = $B(XB).applyPatches_;
- return OB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = ZB(JB).applyPatches_;
+ return EB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function bV(e, t, n, r) {
- let [i, a] = RB(t) ? $B(YB).proxyMap_(t, n) : zB(t) ? $B(YB).proxySet_(t, n) : xpe(t, n);
- return (n?.scope_ ?? nV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ype(n, a, r) : a.callbacks_.push(function(e) {
+function vV(e, t, n, r) {
+ let [i, a] = IB(t) ? ZB(qB).proxyMap_(t, n) : LB(t) ? ZB(qB).proxySet_(t, n) : Tpe(t, n);
+ return (n?.scope_ ?? eV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Cpe(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 xV(e) {
- return OB(e) || yB(10, e), SV(e);
+function yV(e) {
+ return EB(e) || _B(10, e), bV(e);
}
-function SV(e) {
- if (!kB(e) || JB(e)) return e;
- let t = e[vB], n, r = !0;
+function bV(e) {
+ if (!DB(e) || KB(e)) return e;
+ let t = e[gB], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = GB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = GB(e, !0);
- return MB(n, (e, t) => {
- IB(n, e, SV(t));
+ t.finalized_ = !0, n = UB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = UB(e, !0);
+ return AB(n, (e, t) => {
+ PB(n, e, bV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var CV = new wpe().produce;
+var xV = new Ope().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function wV(e) {
+function SV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Tpe = wV(), Epe = wV, Dpe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? mB : mB.apply(null, arguments);
+var kpe = SV(), Ape = SV, jpe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? fB : fB.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function TV(e, t) {
+function CV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
@@ -47958,9 +47990,9 @@ function TV(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => hB(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => pB(t) && t.type === e, n;
}
-var EV = class e extends Array {
+var wV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -47974,18 +48006,18 @@ var EV = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function DV(e) {
- return kB(e) ? CV(e, () => {}) : e;
+function TV(e) {
+ return DB(e) ? xV(e, () => {}) : e;
}
-function OV(e, t, n) {
+function EV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function Ope(e) {
+function DV(e) {
return typeof e == "boolean";
}
-var kpe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new EV();
- return t && (Ope(t) ? a.push(Tpe) : a.push(Epe(t.extraArgument))), a;
+var OV = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new wV();
+ return t && (DV(t) ? a.push(kpe) : a.push(Ape(t.extraArgument))), a;
}, kV = "RTK_autoBatch", AV = () => (e) => ({
payload: e,
meta: { [kV]: !0 }
@@ -48015,23 +48047,23 @@ var kpe = () => function(e) {
}
});
}, PV = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new EV(e);
+ let { autoBatch: n = !0 } = t ?? {}, r = new wV(e);
return n && r.push(NV(typeof n == "object" ? n : void 0)), r;
};
function FV(e) {
- let t = kpe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+ let t = OV(), { 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 (dB(n)) c = pB(n);
+ else if (lB(n)) c = dB(n);
else throw Error(MH(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = mB;
- i && (u = Dpe({
+ let u = fB;
+ i && (u = jpe({
trace: !1,
...typeof i == "object" && i
}));
- let d = PV(upe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return fB(c, o, p);
+ let d = PV(mpe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return uB(c, o, p);
}
function IV(e) {
let t = {}, n = [], r, i = {
@@ -48068,20 +48100,20 @@ function LV(e) {
}
function RV(e, t) {
let [n, r, i] = IV(t), a;
- if (LV(e)) a = () => DV(e());
+ if (LV(e)) a = () => TV(e());
else {
- let t = DV(e);
+ let t = TV(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (OB(e)) {
+ if (EB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (kB(e)) return CV(e, (e) => n(e, t));
+ if (DB(e)) return xV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -48164,12 +48196,12 @@ function UV({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = OV(d, r, m)), i;
+ return i === void 0 && n && (i = EV(d, r, m)), i;
}
function i(t = l) {
- return OV(OV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return EV(EV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = WV(a, t, () => OV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = WV(a, t, () => EV(d, t, m), n);
return r;
});
}
@@ -48241,7 +48273,7 @@ function qV({ type: e, reducerName: t, createNotation: n }, r, i) {
if (n && !YV(r)) throw Error(MH(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? TV(e, o) : TV(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? CV(e, o) : CV(e));
}
function JV(e) {
return e._reducerDefinitionType === "asyncThunk";
@@ -48353,7 +48385,7 @@ var pH = async (e, t) => {
return ((e, t) => lH(n(e, t)));
}, xH = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = TV(t).match;
+ if (t) i = CV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
else if (!i) throw Error(MH(21));
@@ -48392,7 +48424,7 @@ var pH = async (e, t) => {
throw e;
}, 0);
}
-}, DH = /* @__PURE__ */ gH(/* @__PURE__ */ TV(`${vH}/add`), { withTypes: () => DH }), OH = /* @__PURE__ */ TV(`${vH}/removeAll`), kH = /* @__PURE__ */ gH(/* @__PURE__ */ TV(`${vH}/remove`), { withTypes: () => kH }), AH = (...e) => {
+}, DH = /* @__PURE__ */ gH(/* @__PURE__ */ CV(`${vH}/add`), { withTypes: () => DH }), OH = /* @__PURE__ */ CV(`${vH}/removeAll`), kH = /* @__PURE__ */ gH(/* @__PURE__ */ CV(`${vH}/remove`), { withTypes: () => kH }), AH = (...e) => {
console.error(`${vH}/error`, ...e);
}, jH = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -48451,7 +48483,7 @@ var pH = async (e, t) => {
}, d = TH(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!hB(r)) return n(r);
+ if (!pB(r)) return n(r);
if (DH.match(r)) return c(r.payload);
if (OH.match(r)) {
d();
@@ -48578,7 +48610,7 @@ function KH(e, t) {
return (t === "string" ? String : Number)(e);
}
function qH(e, t, n) {
- return lz(e) || lz(t) ? n : rz(t) ? ZR(e, t, n) : typeof t == "function" ? t(e) : n;
+ return sz(e) || sz(t) ? n : tz(t) ? YR(e, t, n) : typeof t == "function" ? t(e) : n;
}
var JH = (e, t, n) => {
if (t && n) {
@@ -48596,7 +48628,7 @@ var JH = (e, t, n) => {
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
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 ? ez(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? QR(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 BH(i) ? {
coordinate: i + h,
@@ -48604,7 +48636,7 @@ var JH = (e, t, n) => {
offset: h,
index: t
} : null;
- }).filter(dz) : c && l ? l.map((e, t) => {
+ }).filter(lz) : c && l ? l.map((e, t) => {
var n = o.map(e);
return BH(n) ? {
coordinate: n + h,
@@ -48612,7 +48644,7 @@ var JH = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(dz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(lz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
return BH(n) ? {
coordinate: n + h,
@@ -48620,7 +48652,7 @@ var JH = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(dz) : o.domain().map((e, t) => {
+ }).filter(lz) : o.domain().map((e, t) => {
var n = o.map(e);
return BH(n) ? {
coordinate: n + h,
@@ -48628,7 +48660,7 @@ var JH = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(dz);
+ }).filter(lz);
}, QH = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
@@ -48641,16 +48673,16 @@ var JH = (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 = tz(c) ? l : c;
+ var c = s[1], l = s[0], u = $R(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: Sde,
- none: UR,
- silhouette: Cde,
- wiggle: wde,
+ expand: Ede,
+ none: VR,
+ silhouette: Dde,
+ wiggle: Ode,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -48658,14 +48690,14 @@ var JH = (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 = tz(o[1]) ? o[0] : o[1];
+ var s = $R(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
}, eU = (e, t, n) => {
- var r = $H[n] ?? UR, i = xde().keys(t).value((e, t) => Number(qH(e, t, 0))).order(WR).offset(r)(e);
+ var r = $H[n] ?? VR, i = Tde().keys(t).value((e, t) => Number(qH(e, t, 0))).order(HR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = qH(e[i], t[r], 0);
@@ -48679,20 +48711,20 @@ function tU(e) {
function nU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !lz(i[t.dataKey])) {
- var s = cz(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !sz(i[t.dataKey])) {
+ var s = oz(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 = qH(i, lz(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = qH(i, sz(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
var rU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
var s = qH(a, t.dataKey, t.scale.domain()[o]);
- if (lz(s)) return null;
+ if (sz(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
}, iU = (e) => {
@@ -48721,7 +48753,7 @@ var rU = (e) => {
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = rB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = tB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -48813,8 +48845,8 @@ var MU = $([
kU,
AU,
jU,
- iB,
- ope
+ nB,
+ upe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -48918,7 +48950,7 @@ var HU = function(e, t) {
height: -1
}
}, WU = (e, t, n) => {
- var { width: r = UU.width, height: i = UU.height, aspect: a, maxHeight: o } = n, s = nz(r) ? e : Number(r), c = nz(i) ? t : Number(i);
+ var { width: r = UU.width, height: i = UU.height, aspect: a, maxHeight: o } = n, s = ez(r) ? e : Number(r), c = ez(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
@@ -48934,7 +48966,7 @@ var HU = function(e, t) {
height: 0,
overflowY: "visible"
}, JU = {}, YU = (e) => {
- var { width: t, height: n } = e, r = nz(t), i = nz(n);
+ var { width: t, height: n } = e, r = ez(t), i = ez(n);
return r && i ? GU : r ? KU : i ? qU : JU;
};
function XU(e) {
@@ -49025,7 +49057,7 @@ var oW = () => (0, I.useContext)(rW), sW = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return fz;
+ if (h.current == null || typeof ResizeObserver > "u") return uz;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -49125,7 +49157,7 @@ var uW = () => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
}, bW = () => Q(yW), xW = () => _W() !== void 0, SW = (e) => {
- var t = Yz(), n = IU(), { width: r, height: i } = e, a = oW(), o = r, s = i;
+ var t = qz(), n = IU(), { width: r, height: i } = e, a = oW(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
!n && VH(o) && VH(s) && t(IH({
width: o,
@@ -49529,14 +49561,14 @@ var yG = GV({
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).payload.indexOf(vG(n));
+ var { prev: n, next: r } = t.payload, i = yV(e).payload.indexOf(vG(n));
i > -1 && (e.payload[i] = vG(r));
},
prepare: AV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = xV(e).payload.indexOf(vG(t.payload));
+ var n = yV(e).payload.indexOf(vG(t.payload));
n > -1 && e.payload.splice(n, 1);
},
prepare: AV()
@@ -49773,21 +49805,21 @@ function eK(e) {
return e.value;
}
function tK(e) {
- var { contextPayload: t } = e, n = QG(e, GG), r = qz(t, e.payloadUniqBy, eK), i = JG(JG({}, n), {}, { payload: r });
- return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(Qde, i);
+ var { contextPayload: t } = e, n = QG(e, GG), r = Gz(t, e.payloadUniqBy, eK), i = JG(JG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(nfe, i);
}
function nK(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, 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 }), JG(JG({}, l), u);
}
function rK(e) {
- var t = Yz();
+ var t = qz();
return (0, I.useEffect)(() => {
t(xG(e));
}, [t, e]), null;
}
function iK(e) {
- var t = Yz();
+ var t = qz();
return (0, I.useEffect)(() => (t(bG(e)), () => {
t(bG({
width: 0,
@@ -49807,7 +49839,7 @@ var oK = {
verticalAlign: "bottom"
};
function sK(e) {
- var t = Sz(e, oK), n = cpe(), r = Kue(), i = hW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = oB([n]), d = pW(), f = mW();
+ var t = bz(e, oK), n = fpe(), r = Xue(), i = hW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = iB([n]), d = pW(), f = mW();
if (d == null || f == null) return null;
var p = d - (i?.left || 0) - (i?.right || 0), m = aK(t.layout, o, a, p), h = c ? s : JG(JG({
position: "absolute",
@@ -49892,7 +49924,7 @@ function mK(e, t) {
return (t === "string" ? String : Number)(e);
}
function hK(e) {
- return Array.isArray(e) && rz(e[0]) && rz(e[1]) ? e.join(" ~ ") : e;
+ return Array.isArray(e) && tz(e[0]) && tz(e[1]) ? e.join(" ~ ") : e;
}
var gK = {
separator: " : ",
@@ -49913,7 +49945,7 @@ var gK = {
accessibilityLayer: !1
};
function _K(e, t) {
- return t == null ? e : rB(e, t);
+ return t == null ? e : tB(e, t);
}
var vK = (e) => {
var { separator: t = gK.separator, contentStyle: n, itemStyle: r, labelStyle: i = gK.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = gK.accessibilityLayer } = e, p = () => {
@@ -49935,7 +49967,7 @@ var vK = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, tz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, tz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -49943,7 +49975,7 @@ var vK = (e) => {
}, n);
}
return null;
- }, m = dK(dK({}, gK.contentStyle), n), h = dK({ margin: 0 }, i), g = !lz(u), _ = g ? u : "", v = Wm("recharts-default-tooltip", c), y = Wm("recharts-tooltip-label", l);
+ }, m = dK(dK({}, gK.contentStyle), n), h = dK({ margin: 0 }, i), g = !sz(u), _ = g ? u : "", v = Wm("recharts-default-tooltip", c), y = Wm("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
@@ -50191,27 +50223,27 @@ function VK(e, t) {
return (t === "string" ? String : Number)(e);
}
var HK = {
- curveBasisClosed: ude,
- curveBasisOpen: dde,
- curveBasis: lde,
- curveBumpX: Yue,
- curveBumpY: Xue,
- curveLinearClosed: fde,
- curveLinear: mR,
- curveMonotoneX: pde,
- curveMonotoneY: mde,
- curveNatural: hde,
- curveStep: gde,
- curveStepAfter: vde,
- curveStepBefore: _de
+ curveBasisClosed: mde,
+ curveBasisOpen: hde,
+ curveBasis: pde,
+ curveBumpX: $ue,
+ curveBumpY: ede,
+ curveLinearClosed: gde,
+ curveLinear: fR,
+ curveMonotoneX: _de,
+ curveMonotoneY: vde,
+ curveNatural: yde,
+ curveStep: bde,
+ curveStepAfter: Sde,
+ curveStepBefore: xde
}, UK = (e) => BH(e.x) && BH(e.y), WK = (e) => e.base != null && UK(e.base) && UK(e), GK = (e) => e.x, KK = (e) => e.y, qK = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${uz(e)}`;
+ var n = `curve${cz(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = HK[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return HK[n] || mR;
+ return HK[n] || fR;
}, JK = {
connectNulls: !1,
type: "linear"
@@ -50219,9 +50251,9 @@ var HK = {
var { type: t = JK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = JK.connectNulls } = e, o = qK(t, i), s = a ? n.filter(UK) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => RK(RK({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? vR().y(KK).x1(GK).x0((e) => e.base.x) : vR().x(GK).y1(KK).y0((e) => e.base.y), c.defined(WK).curve(o)(a ? l.filter(WK) : l);
+ return c = i === "vertical" ? gR().y(KK).x1(GK).x0((e) => e.base.x) : gR().x(GK).y1(KK).y0((e) => e.base.y), c.defined(WK).curve(o)(a ? l.filter(WK) : l);
}
- return (i === "vertical" && Z(r) ? vR().y(KK).x1(GK).x0(r) : Z(r) ? vR().x(GK).y1(KK).y0(r) : _R().x(GK).y(KK)).defined(UK).curve(o)(s);
+ return (i === "vertical" && Z(r) ? gR().y(KK).x1(GK).x0(r) : Z(r) ? gR().x(GK).y1(KK).y0(r) : hR().x(GK).y(KK)).defined(UK).curve(o)(s);
}, XK = (e) => {
var { className: t, points: n, path: r, pathRef: i } = e, a = _W();
if ((!n || !n.length) && !r) return null;
@@ -50232,7 +50264,7 @@ var HK = {
layout: e.layout || a,
connectNulls: e.connectNulls
}, s = n && n.length ? YK(o) : r;
- return /*#__PURE__*/ I.createElement("path", IK({}, KL(e), yz(e), {
+ return /*#__PURE__*/ I.createElement("path", IK({}, WL(e), _z(e), {
className: Wm("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
@@ -50325,7 +50357,7 @@ var oq = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, sq = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", QK({}, JL(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", QK({}, KL(l), {
className: Wm("recharts-cross", s),
d: oq(t, n, a, o, r, i)
}));
@@ -50650,11 +50682,11 @@ var Wq = {
onAnimationStart: () => {}
}, Gq = { t: 0 }, Kq = { t: 1 };
function qq(e) {
- var t = Sz(e, Wq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = EK(), d = n === "auto" ? !TK.isSsr && !u : n, f = Uq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Gq : Kq), h = (0, I.useRef)(null);
+ var t = bz(e, Wq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = EK(), d = n === "auto" ? !TK.isSsr && !u : n, f = Uq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Gq : Kq), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
d || m(Kq);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return fz;
+ if (!d || !r) return uz;
var e = Oq(Gq, Kq, Rq(a), i, m, f.getTimeoutController());
return f.start([
c,
@@ -50681,8 +50713,8 @@ function qq(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function Jq(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(iz(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = iz(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(nz(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = nz(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
@@ -50761,7 +50793,7 @@ function hJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var gJ = (e, t, n, r, i) => {
- var a = QR(n), o = QR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = XR(n), o = XR(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,
@@ -50772,44 +50804,44 @@ var gJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = $R(Zq ||= hJ([
+ d = ZR(Zq ||= hJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += $R(Qq ||= hJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += ZR(Qq ||= hJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += $R($q ||= hJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += ZR($q ||= hJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += $R(eJ ||= hJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += ZR(eJ ||= hJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += $R(tJ ||= hJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += ZR(tJ ||= hJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += $R(nJ ||= hJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += ZR(nJ ||= hJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += $R(rJ ||= hJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += ZR(rJ ||= hJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += $R(iJ ||= hJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += ZR(iJ ||= hJ([
"A ",
",",
",0,0,",
@@ -50819,8 +50851,8 @@ var gJ = (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 = $R(aJ ||= hJ(/* @__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 = $R(oJ ||= hJ([
+ d = ZR(aJ ||= hJ(/* @__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 = ZR(oJ ||= hJ([
"M ",
",",
" h ",
@@ -50841,7 +50873,7 @@ var gJ = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, vJ = (e) => {
- var t = Sz(e, _J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+ var t = bz(e, _J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
(0, I.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -50864,12 +50896,12 @@ var gJ = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Wm("recharts-rectangle", u);
if (!h) {
- var S = JL(t), { radius: C } = S, w = pJ(S, Yq);
+ var S = KL(t), { radius: C } = S, w = pJ(S, Yq);
return /*#__PURE__*/ I.createElement("path", fJ({}, w, {
- x: QR(a),
- y: QR(o),
- width: QR(s),
- height: QR(c),
+ x: XR(a),
+ y: XR(o),
+ width: XR(s),
+ height: XR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: gJ(a, o, s, c, l)
@@ -50885,12 +50917,12 @@ var gJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = sz(T, s, e), i = sz(E, c, e), u = sz(D, a, e), d = sz(O, o, e);
+ var r = az(T, s, e), i = az(E, c, e), u = az(D, a, e), d = az(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = JL(t), { radius: h } = p, b = pJ(p, Xq);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = KL(t), { radius: h } = p, b = pJ(p, Xq);
return /*#__PURE__*/ I.createElement("path", fJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -51038,7 +51070,7 @@ function HJ() {
function UJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
+var WJ = (e, t) => QR(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / wJ, d = c ? i : i + a * u, f = DJ(t, n, l, d), p = DJ(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -51047,7 +51079,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
theta: u
};
}, KJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = WJ(a, o), c = a + s, l = DJ(t, n, i, a), u = DJ(t, n, i, c), d = $R(FJ ||= UJ([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = WJ(a, o), c = a + s, l = DJ(t, n, i, a), u = DJ(t, n, i, c), d = ZR(FJ ||= UJ([
"M ",
",",
"\n A ",
@@ -51060,7 +51092,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = DJ(t, n, r, a), p = DJ(t, n, r, c);
- d += $R(IJ ||= UJ([
+ d += ZR(IJ ||= UJ([
"L ",
",",
"\n A ",
@@ -51071,14 +51103,14 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += $R(LJ ||= UJ([
+ } else d += ZR(LJ ||= UJ([
"L ",
",",
" Z"
]), t, n);
return d;
}, qJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = ez(l - c), { circleTangency: d, lineTangency: f, theta: p } = GJ({
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = QR(l - c), { circleTangency: d, lineTangency: f, theta: p } = GJ({
cx: t,
cy: n,
radius: i,
@@ -51095,7 +51127,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? $R(RJ ||= UJ([
+ if (_ < 0) return o ? ZR(RJ ||= UJ([
"M ",
",",
"\n a",
@@ -51113,7 +51145,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
startAngle: c,
endAngle: l
});
- var v = $R(zJ ||= UJ([
+ var v = ZR(zJ ||= UJ([
"M ",
",",
"\n A",
@@ -51155,7 +51187,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += $R(BJ ||= UJ([
+ v += ZR(BJ ||= UJ([
"L",
",",
"\n A",
@@ -51176,7 +51208,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += $R(VJ ||= UJ([
+ } else v += ZR(VJ ||= UJ([
"L",
",",
"Z"
@@ -51193,9 +51225,9 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
forceCornerRadius: !1,
cornerIsExternal: !1
}, YJ = (e) => {
- var t = Sz(e, JJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = bz(e, JJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Wm("recharts-sector", d), p = a - i, m = az(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? qJ({
+ var f = Wm("recharts-sector", d), p = a - i, m = rz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? qJ({
cx: n,
cy: r,
innerRadius: i,
@@ -51213,7 +51245,7 @@ var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", HJ({}, JL(t), {
+ return /*#__PURE__*/ I.createElement("path", HJ({}, KL(t), {
className: f,
d: h
}));
@@ -51235,7 +51267,7 @@ function XJ(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (vz(t)) {
+ if (gz(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = DJ(r, i, a, s), l = DJ(r, i, o, s);
return [{
@@ -51252,7 +51284,7 @@ function XJ(e, t, n) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function ZJ(e) {
- return JR(e) ? NaN : Number(e);
+ return KR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
@@ -51262,7 +51294,7 @@ function QJ(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function $J(e, t, n) {
- n && typeof n != "number" && tB(e, t, n) && (t = n = void 0), e = QJ(e), t === void 0 ? (t = e, e = 0) : t = QJ(t), n = n === void 0 ? e < t ? 1 : -1 : QJ(n);
+ n && typeof n != "number" && $z(e, t, n) && (t = n = void 0), e = QJ(e), t === void 0 ? (t = e, e = 0) : t = QJ(t), n = n === void 0 ? e < t ? 1 : -1 : QJ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
@@ -51944,9 +51976,9 @@ var zY = {
gU,
MU
], OJ), GY = $([UY, WY], (e, t) => {
- if (e != null) return az(e.innerRadius, t, 0);
+ if (e != null) return rz(e.innerRadius, t, 0);
}), KY = $([UY, WY], (e, t) => {
- if (e != null) return az(e.outerRadius, t, t * .8);
+ if (e != null) return rz(e.outerRadius, t, t * .8);
}), qY = $([UY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
@@ -51968,8 +52000,8 @@ var zY = {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: az(o, i, i / 2),
- cy: az(s, a, a / 2),
+ cx: rz(o, i, i / 2),
+ cy: rz(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -52242,7 +52274,7 @@ function jX(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function Ape(e, t, n) {
+function Mpe(e, t, n) {
if (e = Float64Array.from(mX(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return kX(e);
if (t >= 1) return OX(e);
@@ -52250,7 +52282,7 @@ function Ape(e, t, n) {
return o + (kX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function jpe(e, t, n = pX) {
+function Npe(e, t, n = pX) {
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);
@@ -52260,7 +52292,7 @@ function jpe(e, t, n = pX) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function Mpe(e, t, n) {
+function Ppe(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;
@@ -52332,7 +52364,7 @@ function LX() {
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 = Mpe(e).map(function(e) {
+ var m = Ppe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -52367,7 +52399,7 @@ function RX(e) {
return RX(t());
}, e;
}
-function Npe() {
+function Fpe() {
return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -52383,7 +52415,7 @@ function BX(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function VX() {}
-var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ppe = /^#([0-9a-f]{3,8})$/, Fpe = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Ipe = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Lpe = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), Rpe = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), zpe = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Bpe = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
+var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ipe = /^#([0-9a-f]{3,8})$/, Lpe = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Rpe = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), zpe = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), Bpe = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Vpe = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Hpe = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -52542,18 +52574,18 @@ zX(VX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: Vpe,
- formatHsl: Hpe,
+ formatHex8: Upe,
+ formatHsl: Wpe,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function Vpe() {
+function Upe() {
return this.rgb().formatHex8();
}
-function Hpe() {
+function Wpe() {
return sZ(this).formatHsl();
}
function YX() {
@@ -52561,7 +52593,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = Ppe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(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 = Fpe.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Ipe.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Lpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = Rpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = zpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Bpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = Ipe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(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 = Lpe.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Rpe.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = zpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = Bpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Vpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Hpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
}
function ZX(e) {
return new eZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -52569,11 +52601,11 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function Upe(e) {
+function Gpe(e) {
return e instanceof VX || (e = XX(e)), e ? (e = e.rgb(), new eZ(e.r, e.g, e.b, e.opacity)) : new eZ();
}
function $X(e, t, n, r) {
- return arguments.length === 1 ? Upe(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? Gpe(e) : new eZ(e, t, n, r ?? 1);
}
function eZ(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -52596,14 +52628,14 @@ zX(eZ, $X, BX(VX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: Wpe,
+ formatHex8: Kpe,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function Wpe() {
+function Kpe() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -52630,13 +52662,13 @@ function sZ(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 cZ(o, s, c, e.opacity);
}
-function Gpe(e, t, n, r) {
+function qpe(e, t, n, r) {
return arguments.length === 1 ? sZ(e) : new cZ(e, t, n, r ?? 1);
}
function cZ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-zX(cZ, Gpe, BX(VX, {
+zX(cZ, qpe, BX(VX, {
brighter(e) {
return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
@@ -52672,29 +52704,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function Kpe(e, t) {
+function Jpe(e, t) {
return function(n) {
return e + n * t;
};
}
-function qpe(e, t, n) {
+function Ype(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function Jpe(e) {
+function Xpe(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? qpe(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? Ype(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? Kpe(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? Jpe(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = Jpe(t);
+ var n = Xpe(t);
function r(e, t) {
var r = n((e = $X(e)).r, (t = $X(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = pZ(e.opacity, t.opacity);
return function(t) {
@@ -52705,7 +52737,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function Ype(e, t) {
+function Zpe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -52713,12 +52745,12 @@ function Ype(e, t) {
return r;
};
}
-function Xpe(e) {
+function Qpe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function Zpe(e, t) {
+function $pe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = vZ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -52729,7 +52761,7 @@ function Zpe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function Qpe(e, t) {
+function eme(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -52744,7 +52776,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function $pe(e, t) {
+function tme(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] = vZ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -52755,23 +52787,23 @@ function $pe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var gZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, _Z = new RegExp(gZ.source, "g");
-function eme(e) {
+function nme(e) {
return function() {
return e;
};
}
-function tme(e) {
+function rme(e) {
return function(t) {
return e(t) + "";
};
}
-function nme(e, t) {
+function ime(e, t) {
var n = gZ.lastIndex = _Z.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = gZ.exec(e)) && (i = _Z.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: hZ(r, i)
})), n = _Z.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? tme(c[0].x) : eme(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] ? rme(c[0].x) : nme(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("");
});
@@ -52780,7 +52812,7 @@ function nme(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function vZ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : nme : t instanceof XX ? mZ : t instanceof Date ? Qpe : Xpe(t) ? Ype : Array.isArray(t) ? Zpe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? $pe : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : ime : t instanceof XX ? mZ : t instanceof Date ? eme : Qpe(t) ? Zpe : Array.isArray(t) ? $pe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? tme : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -52791,7 +52823,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function rme(e, t) {
+function ame(e, t) {
t === void 0 && (t = e, e = vZ);
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) {
@@ -52801,7 +52833,7 @@ function rme(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function ime(e) {
+function ome(e) {
return function() {
return e;
};
@@ -52820,21 +52852,21 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : ime(isNaN(t) ? NaN : .5);
+ } : ome(isNaN(t) ? NaN : .5);
}
-function ame(e, t) {
+function sme(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function ome(e, t, n) {
+function cme(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = CZ(i, r), a = n(o, a)) : (r = CZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function sme(e, t, n) {
+function lme(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] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -52849,7 +52881,7 @@ function TZ() {
var e = xZ, t = xZ, n = vZ, r, i, a, o = SZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== SZ && (o = ame(e[0], e[n - 1])), s = n > 2 ? sme : ome, c = l = null, d;
+ return o !== SZ && (o = sme(e[0], e[n - 1])), s = n > 2 ? lme : cme, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -52877,7 +52909,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function cme(e) {
+function ume(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -52892,7 +52924,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function lme(e, t) {
+function dme(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);
@@ -52900,7 +52932,7 @@ function lme(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function ume(e) {
+function fme(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -52909,9 +52941,9 @@ function ume(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var dme = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var pme = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = dme.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = pme.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -52935,7 +52967,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function fme(e) {
+function mme(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -52952,7 +52984,7 @@ function fme(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function pme(e, t) {
+function hme(e, t) {
var n = DZ(e, t);
if (!n) return jZ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (jZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -52972,14 +53004,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: cme,
+ d: ume,
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) => MZ(e * 100, t),
r: MZ,
- s: pme,
+ s: hme,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -53009,8 +53041,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function mme(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : lme(FZ.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 ? PZ : ume(FZ.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 gme(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : dme(FZ.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 ? PZ : fme(FZ.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 = kZ(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;
@@ -53023,7 +53055,7 @@ function mme(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = fme(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = mme(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 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;
@@ -53064,27 +53096,27 @@ function mme(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-hme({
+_me({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function hme(e) {
- return LZ = mme(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function _me(e) {
+ return LZ = gme(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function gme(e) {
+function vme(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function _me(e, t) {
+function yme(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(OZ(t) / 3))) * 3 - OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function vme(e, t) {
+function bme(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
@@ -53094,16 +53126,16 @@ function BZ(e, t, n, r) {
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = _me(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = yme(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = vme(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = bme(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = gme(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = vme(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -53166,19 +53198,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function yme(e) {
+function xme(e) {
return -Math.log(-e);
}
-function bme(e) {
+function Sme(e) {
return -Math.exp(-e);
}
-function xme(e) {
+function Cme(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function Sme(e) {
- return e === 10 ? xme : e === Math.E ? Math.exp : (t) => e ** +t;
+function wme(e) {
+ return e === 10 ? Cme : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function Cme(e) {
+function Tme(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 qZ(e) {
@@ -53187,7 +53219,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = Cme(r), a = Sme(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(yme, bme)) : e(GZ, KZ), t;
+ return i = Tme(r), a = wme(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(xme, Sme)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -53257,16 +53289,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function wme(e) {
+function Eme(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Tme(e) {
+function Dme(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
var t = e(SZ, SZ), n = 1;
function r() {
- return n === 1 ? e(SZ, SZ) : n === .5 ? e(wme, Tme) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(Eme, Dme) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -53278,7 +53310,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, NX.apply(e, arguments), e;
}
-function Eme() {
+function Ome() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -53286,13 +53318,13 @@ function Eme() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function Dme(e) {
+function kme(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
var e = EZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = Dme(e(t));
+ var i = kme(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -53319,7 +53351,7 @@ function aQ() {
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] = jpe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = Npe(e, r / i);
return a;
}
function a(e) {
@@ -53488,8 +53520,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), Ome = DQ(2), kme = DQ(3), AQ = DQ(4), Ame = DQ(5), jme = DQ(6);
-OQ.range, kQ.range, Ome.range, kme.range, AQ.range, Ame.range, jme.range;
+var OQ = DQ(0), kQ = DQ(1), Ame = DQ(2), jme = DQ(3), AQ = DQ(4), Mme = DQ(5), Nme = DQ(6);
+OQ.range, kQ.range, Ame.range, jme.range, AQ.range, Mme.range, Nme.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -53497,8 +53529,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), Mme = jQ(2), Nme = jQ(3), PQ = jQ(4), Pme = jQ(5), Fme = jQ(6);
-MQ.range, NQ.range, Mme.range, Nme.range, PQ.range, Pme.range, Fme.range;
+var MQ = jQ(0), NQ = jQ(1), Pme = jQ(2), Fme = jQ(3), PQ = jQ(4), Ime = jQ(5), Lme = jQ(6);
+MQ.range, NQ.range, Pme.range, Fme.range, PQ.range, Ime.range, Lme.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -53645,7 +53677,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Ime, Lme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Rme, zme] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Rme, zme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Bme, Vme] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -53673,7 +53705,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function Bme(e) {
+function Hme(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 = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
A: ee,
@@ -53682,30 +53714,30 @@ function Bme(e) {
c: null,
d: QQ,
e: QQ,
- f: lhe,
- g: yhe,
- G: xhe,
- H: ohe,
- I: she,
- j: che,
+ f: dhe,
+ g: xhe,
+ G: Che,
+ H: che,
+ I: lhe,
+ j: uhe,
L: $Q,
- m: uhe,
- M: dhe,
+ m: fhe,
+ M: phe,
p: F,
q: ne,
Q: a$,
s: o$,
- S: fhe,
- u: phe,
- U: mhe,
- V: hhe,
- w: ghe,
- W: _he,
+ S: mhe,
+ u: hhe,
+ U: ghe,
+ V: _he,
+ w: vhe,
+ W: yhe,
x: null,
X: null,
- y: vhe,
- Y: bhe,
- Z: She,
+ y: bhe,
+ Y: She,
+ Z: whe,
"%": i$
}, b = {
a: re,
@@ -53715,30 +53747,30 @@ function Bme(e) {
c: null,
d: t$,
e: t$,
- f: Ehe,
- g: Ihe,
- G: Rhe,
- H: Che,
- I: whe,
- j: The,
+ f: Ohe,
+ g: Rhe,
+ G: Bhe,
+ H: The,
+ I: Ehe,
+ j: Dhe,
L: n$,
- m: Dhe,
- M: Ohe,
+ m: khe,
+ M: Ahe,
p: ae,
q: oe,
Q: a$,
s: o$,
- S: khe,
- u: Ahe,
- U: jhe,
- V: Mhe,
- w: Nhe,
- W: Phe,
+ S: jhe,
+ u: Mhe,
+ U: Nhe,
+ V: Phe,
+ w: Fhe,
+ W: Ihe,
x: null,
X: null,
- y: Fhe,
- Y: Lhe,
- Z: zhe,
+ y: Lhe,
+ Y: zhe,
+ Z: Vhe,
"%": i$
}, x = {
a: E,
@@ -53748,31 +53780,31 @@ function Bme(e) {
c: A,
d: XQ,
e: XQ,
- f: nhe,
+ f: ihe,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: Qme,
- L: the,
- m: Zme,
- M: $me,
+ j: ehe,
+ L: rhe,
+ m: $me,
+ M: the,
p: T,
- q: Xme,
- Q: ihe,
- s: ahe,
- S: ehe,
- u: Gme,
- U: Kme,
- V: qme,
- w: Wme,
- W: Jme,
+ q: Qme,
+ Q: ohe,
+ s: she,
+ S: nhe,
+ u: qme,
+ U: Jme,
+ V: Yme,
+ w: Kme,
+ W: Xme,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: Yme,
- "%": rhe
+ Z: Zme,
+ "%": ahe
};
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) {
@@ -53900,37 +53932,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, Vme = /^%/, Hme = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, Ume = /^%/, Wme = /[\\^$*+?|[\]().{}]/g;
function GQ(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 Ume(e) {
- return e.replace(Hme, "\\$&");
+function Gme(e) {
+ return e.replace(Wme, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(Ume).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(Gme).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function Wme(e, t, n) {
+function Kme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function Gme(e, t, n) {
+function qme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Kme(e, t, n) {
+function Jme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function qme(e, t, n) {
+function Yme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Jme(e, t, n) {
+function Xme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -53942,15 +53974,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function Yme(e, t, n) {
+function Zme(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 Xme(e, t, n) {
+function Qme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Zme(e, t, n) {
+function $me(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -53958,7 +53990,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function Qme(e, t, n) {
+function ehe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -53966,159 +53998,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function $me(e, t, n) {
+function the(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function ehe(e, t, n) {
+function nhe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function the(e, t, n) {
+function rhe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function nhe(e, t, n) {
+function ihe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function rhe(e, t, n) {
- var r = Vme.exec(t.slice(n, n + 1));
+function ahe(e, t, n) {
+ var r = Ume.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function ihe(e, t, n) {
+function ohe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function ahe(e, t, n) {
+function she(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function ohe(e, t) {
+function che(e, t) {
return GQ(e.getHours(), t, 2);
}
-function she(e, t) {
+function lhe(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function che(e, t) {
+function uhe(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function lhe(e, t) {
+function dhe(e, t) {
return $Q(e, t) + "000";
}
-function uhe(e, t) {
+function fhe(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function dhe(e, t) {
+function phe(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function fhe(e, t) {
+function mhe(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function phe(e) {
+function hhe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function mhe(e, t) {
+function ghe(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function hhe(e, t) {
+function _he(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function ghe(e) {
+function vhe(e) {
return e.getDay();
}
-function _he(e, t) {
+function yhe(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function vhe(e, t) {
+function bhe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function yhe(e, t) {
+function xhe(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function bhe(e, t) {
+function She(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function xhe(e, t) {
+function Che(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function She(e) {
+function whe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function Che(e, t) {
+function The(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function whe(e, t) {
+function Ehe(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function The(e, t) {
+function Dhe(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function Ehe(e, t) {
+function Ohe(e, t) {
return n$(e, t) + "000";
}
-function Dhe(e, t) {
+function khe(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function Ohe(e, t) {
+function Ahe(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function khe(e, t) {
+function jhe(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function Ahe(e) {
+function Mhe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function jhe(e, t) {
+function Nhe(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function Mhe(e, t) {
+function Phe(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function Nhe(e) {
+function Fhe(e) {
return e.getUTCDay();
}
-function Phe(e, t) {
+function Ihe(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function Fhe(e, t) {
+function Lhe(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Ihe(e, t) {
+function Rhe(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Lhe(e, t) {
+function zhe(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Rhe(e, t) {
+function Bhe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function zhe() {
+function Vhe() {
return "+0000";
}
function i$() {
@@ -54133,7 +54165,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Bhe({
+Hhe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -54185,15 +54217,15 @@ Bhe({
"Dec"
]
});
-function Bhe(e) {
- return s$ = Bme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Hhe(e) {
+ return s$ = Hme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function Vhe(e) {
+function Uhe(e) {
return new Date(e);
}
-function Hhe(e) {
+function Whe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -54204,7 +54236,7 @@ function u$(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, Hhe)) : f().map(Vhe);
+ return arguments.length ? f(Array.from(e, Whe)) : f().map(Uhe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -54217,13 +54249,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return wZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function Uhe() {
- return NX.apply(u$(Rme, zme, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Ghe() {
+ return NX.apply(u$(Bme, Vme, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Whe() {
- return NX.apply(u$(Ime, Lme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Khe() {
+ return NX.apply(u$(Rme, zme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -54278,7 +54310,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function Ghe() {
+function qhe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -54298,7 +54330,7 @@ function _$() {
}, 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) => Ape(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => Mpe(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
}, PX.apply(n, arguments);
@@ -54324,7 +54356,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = rme(e, [
+ return arguments.length ? ([n, r, i] = t, l = ame(e, [
n,
r,
i
@@ -54369,7 +54401,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function Khe() {
+function Jhe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -54379,14 +54411,14 @@ var C$ = /* @__PURE__ */ N({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => Khe,
+ scaleDivergingSqrt: () => Jhe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
scaleOrdinal: () => IX,
- scalePoint: () => Npe,
+ scalePoint: () => Fpe,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -54395,26 +54427,26 @@ var C$ = /* @__PURE__ */ N({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => Ghe,
+ scaleSequentialSqrt: () => qhe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => Eme,
+ scaleSqrt: () => Ome,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => Uhe,
- scaleUtc: () => Whe,
+ scaleTime: () => Ghe,
+ scaleUtc: () => Khe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function qhe(e) {
+function Yhe(e) {
if (e in C$) return C$[e]();
- var t = `scale${uz(e)}`;
+ var t = `scale${cz(e)}`;
if (t in C$) return C$[t]();
}
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = qhe(e);
+ var r = Yhe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -54423,22 +54455,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Jhe(e) {
- return `scale${uz(e)}`;
+function Xhe(e) {
+ return `scale${cz(e)}`;
}
-function Yhe(e) {
- return Jhe(e) in C$;
+function Zhe(e) {
+ return Xhe(e) in C$;
}
var E$ = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
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 Yhe(r) ? r : "point";
+ if (typeof r == "string") return Zhe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Xhe(e, t) {
+function Qhe(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;
@@ -54449,7 +54481,7 @@ function D$(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 = Xhe(r, e);
+ var t = Qhe(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;
@@ -54459,7 +54491,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Zhe(e) {
+function $he(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -54478,26 +54510,26 @@ function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O$(Object(n), !0).forEach(function(t) {
- Qhe(e, t, n[t]);
+ ege(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qhe(e, t, n) {
- return (t = $he(t)) in e ? Object.defineProperty(e, t, {
+function ege(e, t, n) {
+ return (t = tge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $he(e) {
- var t = ege(e, "string");
+function tge(e) {
+ var t = nge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ege(e, t) {
+function nge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54565,7 +54597,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, tge = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, rge = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -54578,7 +54610,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? tge, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? rge, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -54587,7 +54619,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return HY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, nge = (e, t, n) => {
+}, ige = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -54614,20 +54646,20 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, rge = $([QY, $Y], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, age = $([QY, $Y], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- rge
-], U$, { memoizeOptions: { resultEqualityCheck: iX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(nX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), ige = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), age = $([W$], q$, { memoizeOptions: { resultEqualityCheck: iX } }), J$ = (e, t) => {
+ age
+], U$, { memoizeOptions: { resultEqualityCheck: iX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(nX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), oge = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), sge = $([W$], q$, { memoizeOptions: { resultEqualityCheck: iX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([age, nY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: qH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: qH(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([sge, nY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: qH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: qH(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (rz(e) || e instanceof Date) {
+ if (tz(e) || e instanceof Date) {
var t = Number(e);
if (BH(t)) return t;
}
@@ -54641,13 +54673,13 @@ function $$(e) {
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(dz);
+ return e.map(Q$).filter(lz);
}
-function oge(e, t) {
+function cge(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var sge = $([Z$], (e) => e?.map((e) => e.value).sort(oge));
+var lge = $([Z$], (e) => e?.map((e) => e.value).sort(cge));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -54655,13 +54687,13 @@ function t1(e, t) {
default: return !1;
}
}
-function cge(e, t, n) {
- return !n || typeof t != "number" || tz(t) || !n.length ? [] : e1(n.flatMap((n) => {
+function uge(e, t, n) {
+ return !n || typeof t != "number" || $R(t) || !n.length ? [] : e1(n.flatMap((n) => {
var r = qH(e, n.dataKey), i, a;
if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!BH(i) || !BH(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
+var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), dge = $([
G$,
nY,
n1
@@ -54679,7 +54711,7 @@ var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
}];
}));
}, a1 = $([
- lge,
+ dge,
G$,
SY,
CY
@@ -54689,7 +54721,7 @@ var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
var o = sU(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, uge = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, fge = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -54700,12 +54732,12 @@ var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, uge], oY), dge = $([
+}, c1 = $([R$], s1), l1 = $([c1, fge], oY), pge = $([
a1,
eY,
QY,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: rX } }), u1 = (e) => e.errorBars, fge = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: rX } }), u1 = (e) => e.errorBars, mge = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -54715,7 +54747,7 @@ var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = qH(e, t.dataKey ?? n.dataKey), l = cge(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = qH(e, t.dataKey ?? n.dataKey), l = uge(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
@@ -54727,29 +54759,29 @@ var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
var n = $$(qH(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
}), BH(a) && BH(o)) return [a, o];
-}, pge = $([
+}, hge = $([
Y$,
R$,
- ige,
+ oge,
u1,
QY
], f1, { memoizeOptions: { resultEqualityCheck: rX } });
-function mge(e) {
+function gge(e) {
var { value: t } = e;
- if (rz(t) || t instanceof Date) return t;
+ if (tz(t) || t instanceof Date) return t;
}
-var hge = (e, t, n) => {
- var r = e.map(mge).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && oz(r)) ? $J(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), gge = $([
+var _ge = (e, t, n) => {
+ var r = e.map(gge).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && iz(r)) ? $J(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), vge = $([
p1,
QY,
$Y
-], m1), h1 = (e) => e.referenceElements.areas, _ge = $([
+], m1), h1 = (e) => e.referenceElements.areas, yge = $([
h1,
QY,
$Y
-], m1), g1 = (e) => e.referenceElements.lines, vge = $([
+], m1), g1 = (e) => e.referenceElements.lines, bge = $([
g1,
QY,
$Y
@@ -54758,40 +54790,40 @@ var hge = (e, t, n) => {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, yge = $(gge, QY, _1), v1 = (e, t) => {
+}, xge = $(vge, QY, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(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)];
}
-}, bge = $([_ge, QY], v1);
-function xge(e) {
+}, Sge = $([yge, QY], v1);
+function Cge(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function Sge(e) {
+function wge(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? xge(e) : Sge(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Cge(e) : wge(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Cge = $(yge, $([vge, QY], y1), bge, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? sY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), wge = $([
+}, Tge = $(xge, $([bge, QY], y1), Sge, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? sY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Ege = $([
R$,
c1,
l1,
- dge,
pge,
- Cge,
+ hge,
+ Tge,
gW,
QY
-], b1, { memoizeOptions: { resultEqualityCheck: rX } }), Tge = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: rX } }), Dge = [0, 1], x1 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
var { dataKey: s, type: c } = e, l = YH(t, a);
- return l && s == null ? $J(0, n?.length ?? 0) : c === "category" ? hge(r, e, l) : i === "expand" ? Tge : o;
+ return l && s == null ? $J(0, n?.length ?? 0) : c === "category" ? _ge(r, e, l) : i === "expand" ? Dge : o;
}
}, S1 = $([
R$,
@@ -54800,7 +54832,7 @@ var y1 = (e, t) => {
Z$,
SY,
QY,
- wge
+ Ege
], x1), C1 = $([
R$,
B$,
@@ -54828,7 +54860,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Ege = $([
+}, Oge = $([
R$,
S1,
T1,
@@ -54853,17 +54885,17 @@ var y1 = (e, t) => {
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = az(n, e * a), s = e * a / 2;
+ var o = rz(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), Dge = (e, t, n) => {
+}), kge = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, Oge = (e, t, n) => {
+}, Age = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, kge = $(N$, Dge, (e, t) => {
+}, jge = $(N$, kge, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -54876,7 +54908,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), Age = $(I$, Oge, (e, t) => {
+}), Mge = $(I$, Age, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -54889,19 +54921,19 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), jge = $([
+}), Nge = $([
MU,
- kge,
+ jge,
RU,
LU,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), Mge = $([
+}), Pge = $([
MU,
gW,
- Age,
+ Mge,
RU,
LU,
(e, t, n) => n
@@ -54910,8 +54942,8 @@ var y1 = (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];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return jge(e, n, r);
- case "yAxis": return Mge(e, n, r);
+ case "xAxis": return Nge(e, n, r);
+ case "yAxis": return Pge(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return qY(e);
case "radiusAxis": return YY(e, n);
@@ -54920,7 +54952,7 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], MY), A1 = $([
R$,
C1,
- $([C1, Ege], lX),
+ $([C1, Oge], lX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
@@ -54933,54 +54965,54 @@ var y1 = (e, t) => {
z$,
QY
], j1), N1 = $([A1], cX);
-$([A1], Zhe), $([A1, sge], D$), $([
+$([A1], $he), $([A1, lge], D$), $([
W$,
u1,
QY
-], fge);
+], mge);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Pge = $(bU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Fge = $(yU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Ige = $(bU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), Fge = (e, t) => ({
+}), Lge = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(MU, N$, L1), Ige = (e, t, n) => {
+}), R1 = $(MU, N$, L1), Rge = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Lge = (e, t, n) => {
+}, zge = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Rge = $(gU, MU, Nge, F1, I1, (e, t, n, r, i) => {
+}, Bge = $(gU, MU, Fge, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Ige(t, r, e);
+ o ??= Rge(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;
-}), zge = $(hU, MU, Pge, F1, I1, (e, t, n, r, i) => {
+}), Vge = $(hU, MU, Ige, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Fge(t, n);
- o ??= Lge(t, r, e);
+ var s = Lge(t, n);
+ o ??= zge(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;
-}), Bge = $([
+}), Hge = $([
MU,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return Rge(e, n.orientation, n.mirror);
+ if (n != null) return Bge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -54994,12 +55026,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), Vge = $([
+}), Uge = $([
MU,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return zge(e, n.orientation, n.mirror);
+ if (n != null) return Vge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -55025,7 +55057,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
}, V1 = (e, t, n, r) => {
if (n != null) {
var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = YH(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && oz(c)) return c;
+ if (o && s && a === "category" && i && iz(c)) return c;
}
}, H1 = $([
gW,
@@ -55034,7 +55066,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
QY
], V1), U1 = $([
gW,
- nge,
+ ige,
C1,
N1,
H1,
@@ -55069,7 +55101,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = YH(e, c), { type: u, ticks: d, tickCount: f } = t, 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 ? ez(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? QR(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);
@@ -55079,7 +55111,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
value: e,
offset: m
} : null;
- }).filter(dz) : l && s ? s.map((e, t) => {
+ }).filter(lz) : l && s ? s.map((e, t) => {
var n = r.map(e);
return BH(n) ? {
coordinate: n + m,
@@ -55087,7 +55119,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(dz) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(lz) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
return BH(n) ? {
coordinate: n + m,
@@ -55095,7 +55127,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(dz) : r.domain().map((e, t) => {
+ }).filter(lz) : r.domain().map((e, t) => {
var n = r.map(e);
return BH(n) ? {
coordinate: n + m,
@@ -55103,7 +55135,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(dz);
+ }).filter(lz);
}
}, G1 = $([
gW,
@@ -55118,7 +55150,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = YH(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? ez(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? QR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
return BH(r) ? {
coordinate: r + l,
@@ -55126,7 +55158,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(dz) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(lz) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
return BH(r) ? {
coordinate: r + l,
@@ -55134,7 +55166,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(dz) : n.domain().map((e, t) => {
+ }).filter(lz) : n.domain().map((e, t) => {
var r = n.map(e);
return BH(r) ? {
coordinate: r + l,
@@ -55142,7 +55174,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(dz);
+ }).filter(lz);
}
}, q1 = $([
gW,
@@ -55163,7 +55195,7 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], cX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var Hge = $([
+var Wge = $([
gW,
yU,
bU
@@ -55204,8 +55236,8 @@ function $1(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var e0 = (e, t) => {
var n, r = Number(t);
- if (!(tz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Uge = (e) => e.tooltip.settings, t0 = {
+ if (!($R(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Gge = (e) => e.tooltip.settings, t0 = {
active: !1,
index: null,
dataKey: void 0,
@@ -55250,14 +55282,14 @@ var e0 = (e, t) => {
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).tooltipItemPayloads.indexOf(vG(n));
+ var { prev: n, next: r } = t.payload, i = yV(e).tooltipItemPayloads.indexOf(vG(n));
i > -1 && (e.tooltipItemPayloads[i] = vG(r));
},
prepare: AV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = xV(e).tooltipItemPayloads.indexOf(vG(t.payload));
+ var n = yV(e).tooltipItemPayloads.indexOf(vG(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
prepare: AV()
@@ -55290,7 +55322,7 @@ var e0 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: Wge, replaceTooltipEntrySettings: Gge, removeTooltipEntrySettings: Kge, setTooltipSettingsState: qge, setActiveMouseOverItemIndex: r0, mouseLeaveItem: Jge, mouseLeaveChart: i0, setActiveClickItemIndex: Yge, setMouseOverAxisIndex: a0, setMouseClickAxisIndex: Xge, setSyncInteraction: o0, setKeyboardInteraction: s0 } = n0.actions, Zge = n0.reducer;
+}), { addTooltipEntrySettings: Kge, replaceTooltipEntrySettings: qge, removeTooltipEntrySettings: Jge, setTooltipSettingsState: Yge, setActiveMouseOverItemIndex: r0, mouseLeaveItem: Xge, mouseLeaveChart: i0, setActiveClickItemIndex: Zge, setMouseOverAxisIndex: a0, setMouseClickAxisIndex: Qge, setSyncInteraction: o0, setKeyboardInteraction: s0 } = n0.actions, $ge = n0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function c0(e, t) {
@@ -55307,26 +55339,26 @@ function l0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c0(Object(n), !0).forEach(function(t) {
- Qge(e, t, n[t]);
+ e_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qge(e, t, n) {
- return (t = $ge(t)) in e ? Object.defineProperty(e, t, {
+function e_e(e, t, n) {
+ return (t = t_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $ge(e) {
- var t = e_e(e, "string");
+function t_e(e) {
+ var t = n_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function e_e(e, t) {
+function n_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55336,21 +55368,21 @@ function e_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function t_e(e, t, n) {
+function r_e(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function n_e(e) {
+function i_e(e) {
return e.index != null;
}
var u0 = (e, t, n, r) => {
if (t == null) return t0;
- var i = t_e(e, t, n);
+ var i = r_e(e, t, n);
if (i == null) return t0;
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 (n_e(i)) {
+ if (i_e(i)) {
if (a) return l0(l0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -55363,7 +55395,7 @@ var u0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function r_e(e) {
+function a_e(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -55372,14 +55404,14 @@ function r_e(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function i_e(e, t) {
- var n = r_e(e), r = t[0], i = t[1];
+function o_e(e, t) {
+ var n = a_e(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function a_e(e, t, n) {
+function s_e(e, t, n) {
if (n == null || t == null) return !0;
var r = qH(e, t);
- return r == null || !iY(n) || i_e(r, n);
+ return r == null || !iY(n) || o_e(r, n);
}
var d0 = (e, t, n, r) => {
var i = e?.index;
@@ -55389,7 +55421,7 @@ var d0 = (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 || a_e(l, n, r) ? String(c) : null;
+ return l == null || s_e(l, n, r) ? String(c) : null;
}, f0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -55433,26 +55465,26 @@ function _0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? g0(Object(n), !0).forEach(function(t) {
- o_e(e, t, n[t]);
+ c_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function o_e(e, t, n) {
- return (t = s_e(t)) in e ? Object.defineProperty(e, t, {
+function c_e(e, t, n) {
+ return (t = l_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function s_e(e) {
- var t = c_e(e, "string");
+function l_e(e) {
+ var t = u_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function c_e(e, t) {
+function u_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55462,39 +55494,39 @@ function c_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function l_e(e) {
+function d_e(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function u_e(e) {
+function f_e(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function d_e(e) {
+function p_e(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function v0(e) {
if (typeof e == "string") return e;
}
-function f_e(e) {
+function m_e(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? l_e(e.name) : void 0,
- unit: "unit" in e ? u_e(e.unit) : void 0,
- dataKey: "dataKey" in e ? d_e(e.dataKey) : void 0,
+ name: "name" in e ? d_e(e.name) : void 0,
+ unit: "unit" in e ? f_e(e.unit) : void 0,
+ dataKey: "dataKey" in e ? p_e(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? v0(e.color) : void 0,
fill: "fill" in e ? v0(e.fill) : void 0
};
}
-function p_e(e, t) {
+function h_e(e, t) {
return e ?? t;
}
var y0 = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = p_e(d, s), m = Array.isArray(p) ? zH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? cz(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = h_e(d, s), m = Array.isArray(p) ? zH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? oz(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = f_e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = _0(_0({}, f), {}, {
+ var n = m_e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = _0(_0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -55524,17 +55556,17 @@ var y0 = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([oX, sX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: iX } }), m_e = $([x0], (e) => e.filter(nX)), S0 = $([$([x0], q$, { memoizeOptions: { resultEqualityCheck: iX } }), eY], J$), h_e = $([
- m_e,
+], U$, { memoizeOptions: { resultEqualityCheck: iX } }), g_e = $([x0], (e) => e.filter(nX)), S0 = $([$([x0], q$, { memoizeOptions: { resultEqualityCheck: iX } }), eY], J$), __e = $([
+ g_e,
eY,
n1
], tX), C0 = $([
S0,
n1,
x0
-], X$), w0 = $([n1], s1), T0 = $([w0, $([n1], (e) => e.allowDataOverflow)], oY), g_e = $([
+], X$), w0 = $([n1], s1), T0 = $([w0, $([n1], (e) => e.allowDataOverflow)], oY), v_e = $([
$([
- h_e,
+ __e,
$([x0], (e) => e.filter(nX)),
SY,
CY
@@ -55542,17 +55574,17 @@ var y0 = (e, t, n, r, i, a, o) => {
eY,
oX,
T0
-], o1), __e = $([
+], o1), y_e = $([
S0,
n1,
$([x0], K$),
u1,
oX
-], f1, { memoizeOptions: { resultEqualityCheck: rX } }), v_e = $([$([
+], f1, { memoizeOptions: { resultEqualityCheck: rX } }), b_e = $([$([
p1,
oX,
sX
-], m1), oX], _1), y_e = $([$([
+], m1), oX], _1), x_e = $([$([
h1,
oX,
sX
@@ -55567,21 +55599,21 @@ var y0 = (e, t, n, r, i, a, o) => {
n1,
w0,
T0,
- g_e,
- __e,
+ v_e,
+ y_e,
$([
- v_e,
+ b_e,
$([$([
g1,
oX,
sX
], m1), oX], y1),
- y_e
+ x_e
], d1),
gW,
oX
], b1)
-], x1), b_e = $([
+], x1), S_e = $([
n1,
E0,
$([
@@ -55593,7 +55625,7 @@ var y0 = (e, t, n, r, i, a, o) => {
], E1), D0 = (e) => O1(e, oX(e), sX(e), !1), O0 = $([n1, D0], MY), k0 = $([$([
n1,
b0,
- b_e,
+ S_e,
O0
], T$)], cX), A0 = $([
gW,
@@ -55619,7 +55651,7 @@ var y0 = (e, t, n, r, i, a, o) => {
var { type: c } = t, l = YH(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 ? ez(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? QR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
return BH(n) ? {
coordinate: n + d,
@@ -55627,7 +55659,7 @@ var y0 = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(dz) : r.domain().map((e, t) => {
+ }).filter(lz) : r.domain().map((e, t) => {
var n = r.map(e);
return BH(n) ? {
coordinate: n + d,
@@ -55635,13 +55667,13 @@ var y0 = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(dz);
+ }).filter(lz);
}
}
}), j0 = $([
Y1,
X1,
- Uge
+ Gge
], (e, t, n) => Z1(n.shared, e, t)), M0 = (e) => e.tooltip.settings.trigger, N0 = (e) => e.tooltip.settings.defaultIndex, P0 = $([
h0,
j0,
@@ -55654,14 +55686,14 @@ var y0 = (e, t, n, r, i, a, o) => {
E0
], d0), I0 = $([A0, F0], e0), L0 = $([P0], (e) => {
if (e) return e.dataKey;
-}), x_e = $([P0], (e) => {
+}), C_e = $([P0], (e) => {
if (e) return e.graphicalItemId;
}), R0 = $([
h0,
j0,
M0,
N0
-], p0), S_e = $([P0, $([
+], p0), w_e = $([P0, $([
hU,
gU,
gW,
@@ -55669,7 +55701,7 @@ var y0 = (e, t, n, r, i, a, o) => {
A0,
N0,
R0
-], f0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), C_e = $([P0], (e) => e?.active ?? !1), w_e = $([$([
+], f0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), T_e = $([P0], (e) => e?.active ?? !1), E_e = $([$([
R0,
F0,
eY,
@@ -55699,26 +55731,26 @@ function B0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z0(Object(n), !0).forEach(function(t) {
- T_e(e, t, n[t]);
+ D_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function T_e(e, t, n) {
- return (t = E_e(t)) in e ? Object.defineProperty(e, t, {
+function D_e(e, t, n) {
+ return (t = O_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function E_e(e) {
- var t = D_e(e, "string");
+function O_e(e) {
+ var t = k_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function D_e(e, t) {
+function k_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55728,8 +55760,8 @@ function D_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O_e = () => Q(n1), k_e = () => {
- var e = O_e(), t = Q(A0), n = Q(k0);
+var A_e = () => Q(n1), j_e = () => {
+ var e = A_e(), t = Q(A0), n = Q(k0);
return uU(!e || !n ? void 0 : B0(B0({}, e), {}, { scale: n }), t);
};
//#endregion
@@ -55748,26 +55780,26 @@ function H0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V0(Object(n), !0).forEach(function(t) {
- A_e(e, t, n[t]);
+ M_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A_e(e, t, n) {
- return (t = j_e(t)) in e ? Object.defineProperty(e, t, {
+function M_e(e, t, n) {
+ return (t = N_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j_e(e) {
- var t = M_e(e, "string");
+function N_e(e) {
+ var t = P_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M_e(e, t) {
+function P_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55777,7 +55809,7 @@ function M_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var N_e = (e, t, n, r) => {
+var F_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -55793,7 +55825,7 @@ var N_e = (e, t, n, r) => {
x: 0,
y: 0
};
-}, P_e = (e, t, n, r) => {
+}, I_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -55823,7 +55855,7 @@ var N_e = (e, t, n, r) => {
y: 0
};
};
-function F_e(e, t) {
+function L_e(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -55833,9 +55865,9 @@ var U0 = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (ez(c - s) !== ez(l - c)) {
+ if (QR(c - s) !== QR(l - c)) {
var d = [];
- if (ez(l - c) === ez(i[1] - i[0])) {
+ if (QR(l - c) === QR(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -55860,7 +55892,7 @@ var U0 = (e, t, n, r, i) => {
}
}
return -1;
-}, W0 = () => Q(wY), G0 = (e, t) => t, K0 = (e, t, n) => n, q0 = (e, t, n, r) => r, I_e = $(A0, (e) => rB(e, (e) => e.coordinate)), J0 = $([
+}, W0 = () => Q(wY), G0 = (e, t) => t, K0 = (e, t, n) => n, q0 = (e, t, n, r) => r, R_e = $(A0, (e) => tB(e, (e) => e.coordinate)), J0 = $([
h0,
G0,
K0,
@@ -55870,7 +55902,7 @@ var U0 = (e, t, n, r, i) => {
S0,
r1,
E0
-], d0), L_e = (e, t, n) => {
+], d0), z_e = (e, t, n) => {
if (t != null) {
var r = h0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -55888,7 +55920,7 @@ var U0 = (e, t, n, r, i) => {
A0,
q0,
X0
-], f0), R_e = $([J0, Z0], (e, t) => e.coordinate ?? t), Q0 = $([A0, Y0], e0), z_e = $([
+], f0), B_e = $([J0, Z0], (e, t) => e.coordinate ?? t), Q0 = $([A0, Y0], e0), V_e = $([
X0,
Y0,
eY,
@@ -55896,36 +55928,36 @@ var U0 = (e, t, n, r, i) => {
Q0,
m0,
G0
-], y0), B_e = $([J0, Y0], (e, t) => ({
+], y0), H_e = $([J0, Y0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), V_e = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && F_e(e, o)) {
- var s = U0(pU(e, t), a, i, n, r), c = N_e(t, i, s, e);
+})), U_e = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && L_e(e, o)) {
+ var s = U0(pU(e, t), a, i, n, r), c = F_e(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, H_e = (e, t, n, r, i, a, o) => {
+}, W_e = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
var s = NJ(e, n);
if (s) {
- var c = U0(mU(s, t), o, a, r, i), l = P_e(t, a, c, s);
+ var c = U0(mU(s, t), o, a, r, i), l = I_e(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, U_e = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? V_e(e, t, r, i, a, o, s) : H_e(e, t, n, r, i, a, o);
-}, W_e = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, G_e = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? U_e(e, t, r, i, a, o, s) : W_e(e, t, n, r, i, a, o);
+}, K_e = $((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;
}
-}), G_e = $((e) => e.zIndex.zIndexMap, (e) => {
+}), q_e = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(kY));
return Array.from(new Set(t)).sort((e, t) => e - t);
}, { memoizeOptions: { resultEqualityCheck: aX } });
@@ -55945,26 +55977,26 @@ function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $0(Object(n), !0).forEach(function(t) {
- K_e(e, t, n[t]);
+ J_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function K_e(e, t, n) {
- return (t = q_e(t)) in e ? Object.defineProperty(e, t, {
+function J_e(e, t, n) {
+ return (t = Y_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function q_e(e) {
- var t = J_e(e, "string");
+function Y_e(e) {
+ var t = X_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function J_e(e, t) {
+function X_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55974,17 +56006,17 @@ function J_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Y_e = { zIndexMap: Object.values(kY).reduce((e, t) => e2(e2({}, e), {}, { [t]: {
+var Z_e = { zIndexMap: Object.values(kY).reduce((e, t) => e2(e2({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, X_e = new Set(Object.values(kY));
-function Z_e(e) {
- return X_e.has(e);
+} }), {}) }, Q_e = new Set(Object.values(kY));
+function $_e(e) {
+ return Q_e.has(e);
}
var t2 = GV({
name: "zIndex",
- initialState: Y_e,
+ initialState: Z_e,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -56000,7 +56032,7 @@ var t2 = GV({
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Z_e(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !$_e(n) && delete e.zIndexMap[n]);
},
prepare: AV()
},
@@ -56023,19 +56055,19 @@ var t2 = GV({
prepare: AV()
}
}
-}), { registerZIndexPortal: Q_e, unregisterZIndexPortal: $_e, registerZIndexPortalElement: eve, unregisterZIndexPortalElement: tve } = t2.actions, nve = t2.reducer;
+}), { registerZIndexPortal: eve, unregisterZIndexPortal: tve, registerZIndexPortalElement: nve, unregisterZIndexPortalElement: rve } = t2.actions, ive = t2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function n2(e) {
- var { zIndex: t, children: n } = e, r = xW() && t !== void 0 && t !== 0, i = IU(), a = Yz();
- (0, I.useLayoutEffect)(() => r ? (a(Q_e({ zIndex: t })), () => {
- a($_e({ zIndex: t }));
- }) : fz, [
+ var { zIndex: t, children: n } = e, r = xW() && t !== void 0 && t !== 0, i = IU(), a = qz();
+ (0, I.useLayoutEffect)(() => r ? (a(eve({ zIndex: t })), () => {
+ a(tve({ zIndex: t }));
+ }) : uz, [
a,
t,
r
]);
- var o = Q((e) => W_e(e, t, i));
+ var o = Q((e) => K_e(e, t, i));
return r ? o ? /*#__PURE__*/ (0, yh.createPortal)(n, o) : null : n;
}
//#endregion
@@ -56063,26 +56095,26 @@ function a2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? i2(Object(n), !0).forEach(function(t) {
- rve(e, t, n[t]);
+ ave(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rve(e, t, n) {
- return (t = ive(t)) in e ? Object.defineProperty(e, t, {
+function ave(e, t, n) {
+ return (t = ove(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ive(e) {
- var t = ave(e, "string");
+function ove(e) {
+ var t = sve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ave(e, t) {
+function sve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56092,17 +56124,17 @@ function ave(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ove(e) {
+function cve(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, I.isValidElement)(t) ? /*#__PURE__*/ (0, I.cloneElement)(t, r) : /*#__PURE__*/ (0, I.createElement)(n, r);
}
-function sve(e) {
+function lve(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, 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 = sq, h = kY.cursorLine;
else if (l === "BarChart") p = cq(o, u, i, a), m = vJ, h = kY.cursorRectangle;
- else if (o === "radial" && vz(u)) {
+ else if (o === "radial" && gz(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = PJ(u);
p = {
cx: g,
@@ -56116,20 +56148,20 @@ function sve(e) {
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = a2(a2(a2(a2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), qL(s)), {}, {
+ }, i), p), GL(s)), {}, {
payload: d,
payloadIndex: f,
className: Wm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(ove, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(cve, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function cve(e) {
- var t = k_e(), n = fW(), r = _W(), i = W0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(sve, r2({}, e, {
+function uve(e) {
+ var t = j_e(), n = fW(), r = _W(), i = W0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(lve, r2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -56138,7 +56170,7 @@ function cve(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var o2 = /*#__PURE__*/ (0, I.createContext)(null), lve = () => (0, I.useContext)(o2), uve = (/* @__PURE__ */ te((/* @__PURE__ */ M(((e, t) => {
+var o2 = /*#__PURE__*/ (0, I.createContext)(null), dve = () => (0, I.useContext)(o2), fve = (/* @__PURE__ */ te((/* @__PURE__ */ M(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -56225,10 +56257,10 @@ var o2 = /*#__PURE__*/ (0, I.createContext)(null), lve = () => (0, I.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, s2 = new uve(), c2 = "recharts.syncEvent.tooltip", l2 = "recharts.syncEvent.brush", u2 = (e, t) => {
+})))(), 1)).default, s2 = new fve(), c2 = "recharts.syncEvent.tooltip", l2 = "recharts.syncEvent.brush", u2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!tz(n)) return e[n];
+ if (!$R(n)) return e[n];
}
}, d2 = GV({
name: "options",
@@ -56241,10 +56273,10 @@ var o2 = /*#__PURE__*/ (0, I.createContext)(null), lve = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), dve = d2.reducer, { createEventEmitter: fve } = d2.actions;
+}), pve = d2.reducer, { createEventEmitter: mve } = d2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function pve(e) {
+function hve(e) {
return e.tooltip.syncInteraction;
}
var f2 = GV({
@@ -56271,7 +56303,7 @@ var f2 = GV({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: p2, setDataStartEndIndexes: mve, setComputedData: hve } = f2.actions, gve = f2.reducer, _ve = ["x", "y"];
+}), { setChartData: p2, setDataStartEndIndexes: gve, setComputedData: _ve } = f2.actions, vve = f2.reducer, yve = ["x", "y"];
function m2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -56286,26 +56318,26 @@ function h2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m2(Object(n), !0).forEach(function(t) {
- vve(e, t, n[t]);
+ bve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vve(e, t, n) {
- return (t = yve(t)) in e ? Object.defineProperty(e, t, {
+function bve(e, t, n) {
+ return (t = xve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yve(e) {
- var t = bve(e, "string");
+function xve(e) {
+ var t = Sve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bve(e, t) {
+function Sve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56315,16 +56347,16 @@ function bve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function xve(e, t) {
+function Cve(e, t) {
if (e == null) return {};
- var n, r, i = Sve(e, t);
+ var n, r, i = wve(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 Sve(e, t) {
+function wve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56333,16 +56365,16 @@ function Sve(e, t) {
}
return n;
}
-function Cve() {
- var e = Q(TY), t = Q(DY), n = Yz(), r = Q(EY), i = Q(A0), a = _W(), o = uW(), s = Q((e) => e.rootProps.className);
+function Tve() {
+ var e = Q(TY), t = Q(DY), n = qz(), r = Q(EY), i = Q(A0), a = _W(), o = uW(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return fz;
+ if (e == null) return uz;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = xve(d, _ve), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = h2(h2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = Cve(d, yve), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = h2(h2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -56403,12 +56435,12 @@ function Cve() {
o
]);
}
-function wve() {
- var e = Q(TY), t = Q(DY), n = Yz();
+function Eve() {
+ var e = Q(TY), t = Q(DY), n = qz();
(0, I.useEffect)(() => {
- if (e == null) return fz;
+ if (e == null) return uz;
var r = (r, i, a) => {
- t !== a && e === r && n(mve(i));
+ t !== a && e === r && n(gve(i));
};
return s2.on(l2, r), () => {
s2.off(l2, r);
@@ -56419,14 +56451,14 @@ function wve() {
e
]);
}
-function Tve() {
- var e = Yz();
+function Dve() {
+ var e = qz();
(0, I.useEffect)(() => {
- e(fve());
- }, [e]), Cve(), wve();
+ e(mve());
+ }, [e]), Tve(), Eve();
}
-function Eve(e, t, n, r, i, a) {
- var o = Q((n) => L_e(n, e, t)), s = Q(x_e), c = Q(DY), l = Q(TY), u = Q(EY), d = Q(pve)?.active, f = uW();
+function Ove(e, t, n, r, i, a) {
+ var o = Q((n) => z_e(n, e, t)), s = Q(C_e), c = Q(DY), l = Q(TY), u = Q(EY), d = Q(hve)?.active, f = uW();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
var e = o0({
@@ -56470,26 +56502,26 @@ function _2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? g2(Object(n), !0).forEach(function(t) {
- Dve(e, t, n[t]);
+ kve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Dve(e, t, n) {
- return (t = Ove(t)) in e ? Object.defineProperty(e, t, {
+function kve(e, t, n) {
+ return (t = Ave(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ove(e) {
- var t = kve(e, "string");
+function Ave(e) {
+ var t = jve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kve(e, t) {
+function jve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56499,13 +56531,13 @@ function kve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ave(e) {
+function Mve(e) {
return e.dataKey;
}
-function jve(e, t) {
+function Nve(e, t) {
return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(vK, t);
}
-var v2 = [], Mve = {
+var v2 = [], Pve = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -56531,10 +56563,10 @@ var v2 = [], Mve = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function Nve(e) {
- var t = Sz(e, Mve), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = Yz(), S = typeof v == "number" ? String(v) : v;
+function Fve(e) {
+ var t = bz(e, Pve), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = qz(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(qge({
+ x(Yge({
shared: g,
trigger: _,
axisId: b,
@@ -56549,12 +56581,12 @@ function Nve(e) {
n,
S
]);
- var C = uW(), w = FK(), T = $1(g), { activeIndex: E, isActive: D } = Q((e) => B_e(e, T, _, S)) ?? {}, O = Q((e) => z_e(e, T, _, S)), k = Q((e) => Q0(e, T, _, S)), A = Q((e) => R_e(e, T, _, S)), j = O, M = lve(), N = n ?? D ?? !1, [ee, te] = oB([j, N]), P = T === "axis" ? k : void 0;
- Eve(T, _, A, P, E, N);
+ var C = uW(), w = FK(), T = $1(g), { activeIndex: E, isActive: D } = Q((e) => H_e(e, T, _, S)) ?? {}, O = Q((e) => V_e(e, T, _, S)), k = Q((e) => Q0(e, T, _, S)), A = Q((e) => B_e(e, T, _, S)), j = O, M = dve(), N = n ?? D ?? !1, [ee, te] = iB([j, N]), P = T === "axis" ? k : void 0;
+ Ove(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
var ne = j ?? v2;
- N || (ne = v2), s && ne.length && (ne = qz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Ave));
+ N || (ne = v2), s && ne.length && (ne = Gz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Mve));
var re = ne.length > 0, ie = _2(_2({}, t), {}, {
payload: ne,
label: P,
@@ -56579,8 +56611,8 @@ function Nve(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, jve(o, ie));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, yh.createPortal)(L, F), N && /*#__PURE__*/ I.createElement(cve, {
+ }, Nve(o, ie));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, yh.createPortal)(L, F), N && /*#__PURE__*/ I.createElement(uve, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -56594,19 +56626,19 @@ var y2 = (e) => null;
y2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Pve(e, t, n) {
- return (t = Fve(t)) in e ? Object.defineProperty(e, t, {
+function Ive(e, t, n) {
+ return (t = Lve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fve(e) {
- var t = Ive(e, "string");
+function Lve(e) {
+ var t = Rve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ive(e, t) {
+function Rve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56616,9 +56648,9 @@ function Ive(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Lve = class {
+var zve = class {
constructor(e) {
- Pve(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ Ive(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -56651,30 +56683,30 @@ function b2(e, t) {
}
return n;
}
-function Rve(e) {
+function Bve(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? b2(Object(n), !0).forEach(function(t) {
- zve(e, t, n[t]);
+ Vve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zve(e, t, n) {
- return (t = Bve(t)) in e ? Object.defineProperty(e, t, {
+function Vve(e, t, n) {
+ return (t = Hve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bve(e) {
- var t = Vve(e, "string");
+function Hve(e) {
+ var t = Uve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vve(e, t) {
+function Uve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56684,10 +56716,10 @@ function Vve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var x2 = Rve({}, {
+var x2 = Bve({}, {
cacheSize: 2e3,
enableCache: !0
-}), S2 = new Lve(x2.cacheSize), Hve = {
+}), S2 = new zve(x2.cacheSize), Wve = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -56696,13 +56728,13 @@ var x2 = Rve({}, {
border: "none",
whiteSpace: "pre"
}, C2 = "recharts_measurement_span";
-function Uve(e, t) {
+function Gve(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var w2 = (e, t) => {
try {
var n = document.getElementById(C2);
- n || (n = document.createElement("span"), n.setAttribute("id", C2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Hve, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", C2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Wve, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -56721,24 +56753,24 @@ var w2 = (e, t) => {
height: 0
};
if (!x2.enableCache) return w2(e, t);
- var n = Uve(e, t), r = S2.get(n);
+ var n = Gve(e, t), r = S2.get(n);
if (r) return r;
var i = w2(e, t);
return S2.set(n, i), i;
}, E2;
-function Wve(e, t, n) {
- return (t = Gve(t)) in e ? Object.defineProperty(e, t, {
+function Kve(e, t, n) {
+ return (t = qve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Gve(e) {
- var t = Kve(e, "string");
+function qve(e) {
+ var t = Jve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Kve(e, t) {
+function Jve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56748,7 +56780,7 @@ function Kve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, qve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Jve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Yve = {
+var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Yve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Xve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Zve = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -56756,7 +56788,7 @@ var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Xve = [
+}, Qve = [
"cm",
"mm",
"pt",
@@ -56765,20 +56797,20 @@ var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(
"Q",
"px"
];
-function Zve(e) {
- return Xve.includes(e);
+function $ve(e) {
+ return Qve.includes(e);
}
var k2 = "NaN";
-function Qve(e, t) {
- return e * Yve[t];
+function eye(e, t) {
+ return e * Zve[t];
}
var A2 = class e {
static parse(t) {
- var [, n, r] = Jve.exec(t) ?? [];
+ var [, n, r] = Xve.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, tz(e) && (this.unit = ""), t !== "" && !qve.test(t) && (this.num = NaN, this.unit = ""), Zve(t) && (this.num = Qve(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, $R(e) && (this.unit = ""), t !== "" && !Yve.test(t) && (this.num = NaN, this.unit = ""), $ve(t) && (this.num = eye(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -56796,10 +56828,10 @@ var A2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return tz(this.num);
+ return $R(this.num);
}
};
-E2 = A2, Wve(A2, "NaN", new E2(NaN, ""));
+E2 = A2, Kve(A2, "NaN", new E2(NaN, ""));
function j2(e) {
if (e == null || e.includes(k2)) return k2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -56815,31 +56847,31 @@ function j2(e) {
return t;
}
var M2 = /\(([^()]*)\)/;
-function $ve(e) {
+function tye(e) {
for (var t = e, n; (n = M2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(M2, j2(r));
}
return t;
}
-function eye(e) {
+function nye(e) {
var t = e.replace(/\s+/g, "");
- return t = $ve(t), t = j2(t), t;
+ return t = tye(t), t = j2(t), t;
}
-function tye(e) {
+function rye(e) {
try {
- return eye(e);
+ return nye(e);
} catch {
return k2;
}
}
function N2(e) {
- var t = tye(e.slice(5, -1));
+ var t = rye(e.slice(5, -1));
return t === k2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var nye = [
+var iye = [
"x",
"y",
"lineHeight",
@@ -56848,7 +56880,7 @@ var nye = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], rye = [
+], aye = [
"dx",
"dy",
"angle",
@@ -56866,14 +56898,14 @@ function P2() {
}
function F2(e, t) {
if (e == null) return {};
- var n, r, i = iye(e, t);
+ var n, r, i = oye(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 iye(e, t) {
+function oye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56886,7 +56918,7 @@ var I2 = /[ \f\n\r\t\v\u2028\u2029]+/, L2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return lz(t) || (i = n ? t.toString().split("") : t.toString().split(I2)), {
+ return sz(t) || (i = n ? t.toString().split("") : t.toString().split(I2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: T2(e, r).width
@@ -56900,8 +56932,8 @@ var I2 = /[ \f\n\r\t\v\u2028\u2029]+/, L2 = (e) => {
function R2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function aye(e) {
- return lz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function sye(e) {
+ return sz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var z2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -56914,16 +56946,16 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), B2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), oye = "…", V2 = (e, t, n, r, i, a, o, s) => {
+}, []), B2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), cye = "…", V2 = (e, t, n, r, i, a, o, s) => {
var c = L2({
breakAll: n,
style: r,
- children: e.slice(0, t) + oye
+ children: e.slice(0, t) + cye
});
if (!c) return [!1, []];
var l = z2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || B2(l).width > Number(a), l];
-}, sye = (e, t, n, r, i) => {
+}, lye = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = z2(t, r, n, i);
if (!l || i || !(d.length > a || B2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -56936,9 +56968,9 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, H2 = (e) => [{
- words: lz(e) ? [] : e.toString().split(I2),
+ words: sz(e) ? [] : e.toString().split(I2),
width: void 0
-}], cye = (e) => {
+}], uye = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !TK.isSsr) {
var s, c, l = L2({
@@ -56950,7 +56982,7 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return H2(r);
- return sye({
+ return lye({
breakAll: a,
children: r,
maxLines: o,
@@ -56958,7 +56990,7 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return H2(r);
-}, U2 = "#808080", lye = {
+}, U2 = "#808080", dye = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -56970,7 +57002,7 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, W2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, lye), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = F2(n, nye), f = (0, I.useMemo)(() => cye({
+ var n = bz(e, dye), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = F2(n, iye), f = (0, I.useMemo)(() => uye({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -56984,8 +57016,8 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = F2(d, rye);
- if (!rz(r) || !rz(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = F2(d, aye);
+ if (!tz(r) || !tz(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
if (!BH(y) || !BH(b)) return null;
var x;
@@ -57003,7 +57035,7 @@ var z2 = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", P2({}, JL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", P2({}, KL(v), {
ref: t,
x: y,
y: b,
@@ -57036,26 +57068,26 @@ function K2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G2(Object(n), !0).forEach(function(t) {
- uye(e, t, n[t]);
+ fye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uye(e, t, n) {
- return (t = dye(t)) in e ? Object.defineProperty(e, t, {
+function fye(e, t, n) {
+ return (t = pye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dye(e) {
- var t = fye(e, "string");
+function pye(e) {
+ var t = mye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fye(e, t) {
+function mye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57065,7 +57097,7 @@ function fye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var pye = (e) => {
+var hye = (e) => {
var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = lW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
@@ -57147,9 +57179,9 @@ var pye = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || nz(n.x)) && (Z(n.y) || nz(n.y)) ? K2({
- x: o + az(n.x, m),
- y: s + az(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || ez(n.x)) && (Z(n.y) || ez(n.y)) ? K2({
+ x: o + rz(n.x, m),
+ y: s + rz(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : K2({
@@ -57158,17 +57190,17 @@ var pye = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, mye = ["labelRef"], hye = ["content"];
+}, gye = ["labelRef"], _ye = ["content"];
function q2(e, t) {
if (e == null) return {};
- var n, r, i = gye(e, t);
+ var n, r, i = vye(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 gye(e, t) {
+function vye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57191,26 +57223,26 @@ function Y2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? J2(Object(n), !0).forEach(function(t) {
- _ye(e, t, n[t]);
+ yye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _ye(e, t, n) {
- return (t = vye(t)) in e ? Object.defineProperty(e, t, {
+function yye(e, t, n) {
+ return (t = bye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vye(e) {
- var t = yye(e, "string");
+function bye(e) {
+ var t = xye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yye(e, t) {
+function xye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57249,7 +57281,7 @@ var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
}, $2 = () => {
var e = (0, I.useContext)(Z2), t = uW();
return e || (t ? lW(t) : void 0);
-}, e4 = /*#__PURE__*/ (0, I.createContext)(null), bye = (e) => {
+}, e4 = /*#__PURE__*/ (0, I.createContext)(null), Sye = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, I.useMemo)(() => ({
cx: t,
cy: n,
@@ -57271,11 +57303,11 @@ var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
}, t4 = () => {
var e = (0, I.useContext)(e4), t = Q(ZY);
return e || t;
-}, xye = (e) => {
- var { value: t, formatter: n } = e, r = lz(e.children) ? t : e.children;
+}, Cye = (e) => {
+ var { value: t, formatter: n } = e, r = sz(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, n4 = (e) => e != null && typeof e == "function", Sye = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 360), Cye = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = Sye(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, n4 = (e) => e != null && typeof e == "function", wye = (e, t) => QR(t - e) * Math.min(Math.abs(t - e), 360), Tye = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = wye(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -57291,7 +57323,7 @@ var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
v = h <= 0 ? v : !v;
var y = DJ(s, c, m, _), b = DJ(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = lz(e.id) ? iz("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = sz(e.id) ? nz("recharts-radial-line-") : e.id;
return /*#__PURE__*/ I.createElement("text", X2({}, r, {
dominantBaseline: "central",
className: Wm("recharts-radial-bar-label", o)
@@ -57299,7 +57331,7 @@ var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, wye = (e, t, n) => {
+}, Eye = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
var { x: u, y: d } = DJ(r, i, o + t, l);
@@ -57335,14 +57367,14 @@ var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, r4 = (e) => e != null && "cx" in e && Z(e.cx), Tye = {
+}, r4 = (e) => e != null && "cx" in e && Z(e.cx), Dye = {
angle: 0,
offset: 5,
zIndex: kY.label,
position: "middle",
textBreakAll: !1
};
-function Eye(e) {
+function Oye(e) {
if (!r4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -57355,24 +57387,24 @@ function Eye(e) {
};
}
function i4(e) {
- var t = Sz(e, Tye), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = t4(), f = $2(), p = n == null ? i === "center" ? f : d ?? f : r4(n) ? n : lW(n), m, h, g = Eye(p);
- if (!p || lz(a) && lz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var t = bz(e, Dye), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = t4(), f = $2(), p = n == null ? i === "center" ? f : d ?? f : r4(n) ? n : lW(n), m, h, g = Oye(p);
+ if (!p || sz(a) && sz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
var _ = Y2(Y2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = q2(_, mye);
+ var { labelRef: v } = _, y = q2(_, gye);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = q2(_, hye);
+ var { content: b } = _, x = q2(_, _ye);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = xye(t);
- var S = JL(t);
+ } else m = Cye(t);
+ var S = KL(t);
if (r4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return Cye(t, i, m, S, p);
- h = wye(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return Tye(t, i, m, S, p);
+ h = Eye(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = pye({
+ var C = hye({
viewBox: g,
position: i,
offset: t.offset,
@@ -57401,7 +57433,7 @@ var a4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(i4, X2({ key: "label-implicit" }, r)) : rz(e) ? /*#__PURE__*/ I.createElement(i4, X2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(i4, X2({ key: "label-implicit" }, r)) : tz(e) ? /*#__PURE__*/ I.createElement(i4, X2({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === i4 ? /*#__PURE__*/ (0, I.cloneElement)(e, Y2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(i4, X2({
@@ -57416,13 +57448,13 @@ function o4(e) {
var { label: t, labelRef: n } = e;
return a4(t, $2(), n) || null;
}
-function Dye(e) {
+function kye(e) {
var { label: t } = e;
return a4(t, t4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var Oye = ["valueAccessor"], kye = [
+var Aye = ["valueAccessor"], jye = [
"dataKey",
"clockWise",
"id",
@@ -57440,14 +57472,14 @@ function s4() {
}
function c4(e, t) {
if (e == null) return {};
- var n, r, i = Aye(e, t);
+ var n, r, i = Mye(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 Aye(e, t) {
+function Mye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57456,21 +57488,21 @@ function Aye(e, t) {
}
return n;
}
-var jye = (e) => {
+var Nye = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (aye(t)) return t;
-}, l4 = /*#__PURE__*/ (0, I.createContext)(void 0), u4 = l4.Provider, d4 = /*#__PURE__*/ (0, I.createContext)(void 0), Mye = d4.Provider;
-function Nye() {
+ if (sye(t)) return t;
+}, l4 = /*#__PURE__*/ (0, I.createContext)(void 0), u4 = l4.Provider, d4 = /*#__PURE__*/ (0, I.createContext)(void 0), Pye = d4.Provider;
+function Fye() {
return (0, I.useContext)(l4);
}
-function Pye() {
+function Iye() {
return (0, I.useContext)(d4);
}
function f4(e) {
- var { valueAccessor: t = jye } = e, n = c4(e, Oye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = c4(n, kye), l = Nye(), u = Pye(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: s ?? kY.label }, /*#__PURE__*/ I.createElement(QL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = lz(r) ? t(e, i) : qH(e.payload, r), l = lz(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(i4, s4({ key: `label-${i}` }, JL(e), c, l, {
+ var { valueAccessor: t = Nye } = e, n = c4(e, Aye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = c4(n, jye), l = Fye(), u = Iye(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: s ?? kY.label }, /*#__PURE__*/ I.createElement(XL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = sz(r) ? t(e, i) : qH(e.payload, r), l = sz(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(i4, s4({ key: `label-${i}` }, KL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -57491,12 +57523,12 @@ function p4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var Fye = [
+var Lye = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Iye;
+], Rye;
function m4() {
return m4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57506,16 +57538,16 @@ function m4() {
return e;
}, m4.apply(null, arguments);
}
-function Lye(e, t) {
+function zye(e, t) {
if (e == null) return {};
- var n, r, i = Rye(e, t);
+ var n, r, i = Bye(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 Rye(e, t) {
+function Bye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57524,10 +57556,10 @@ function Rye(e, t) {
}
return n;
}
-function zye(e, t) {
+function Vye(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Bye = function() {
+var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Hye = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -57538,9 +57570,9 @@ var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Bye = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, g4 = (e, t) => {
- var n = Bye(e);
+ var n = Hye(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => $R(Iye ||= zye([
+ var r = n.map((e) => e.reduce((e, t, n) => ZR(Rye ||= Vye([
"",
"",
"",
@@ -57548,29 +57580,29 @@ var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Bye = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, Vye = (e, t, n) => {
+}, Uye = (e, t, n) => {
var r = g4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${g4(Array.from(t).reverse(), n).slice(1)}`;
}, _4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Lye(e, Fye);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = zye(e, Lye);
if (!t || !t.length) return null;
var o = Wm("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = Vye(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
+ var s = a.stroke && a.stroke !== "none", c = Uye(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", m4({}, KL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", m4({}, KL(a), {
fill: "none",
d: g4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", m4({}, KL(a), {
fill: "none",
d: g4(r, i)
})) : null);
}
var l = g4(t, i);
- return /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
+ return /*#__PURE__*/ I.createElement("path", m4({}, KL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -57589,7 +57621,7 @@ function v4() {
}
var y4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Wm("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", v4({}, KL(e), yz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", v4({}, WL(e), _z(e), {
className: a,
cx: t,
cy: n,
@@ -57645,7 +57677,7 @@ var w4 = () => void 0, T4 = $([
T4,
z$,
C1
-], w1), Hye = $([C1, $([
+], w1), Wye = $([C1, $([
R$,
T4,
E4,
@@ -57665,7 +57697,7 @@ var w4 = () => void 0, T4 = $([
}, k4 = $([$([
D4,
C1,
- Hye,
+ Wye,
O4
], T$)], cX), A4 = $([
gW,
@@ -57682,7 +57714,7 @@ var w4 = () => void 0, T4 = $([
H1,
A4,
QY
-], W1), Uye = $([j4], (e) => {
+], W1), Gye = $([j4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -57690,7 +57722,7 @@ var w4 = () => void 0, T4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), Wye = $([
+}), Kye = $([
gW,
D4,
k4,
@@ -57698,11 +57730,11 @@ var w4 = () => void 0, T4 = $([
H1,
A4,
QY
-], K1), Gye = $([(e, t) => j4(e, "angleAxis", t, !1)], (e) => {
+], K1), qye = $([(e, t) => j4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Kye = $([(e, t) => j4(e, "radiusAxis", t, !1)], (e) => {
+}), Jye = $([(e, t) => j4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), qye = [
+}), Yye = [
"gridType",
"radialLines",
"angleAxisId",
@@ -57715,16 +57747,16 @@ var w4 = () => void 0, T4 = $([
"polarRadius",
"zIndex"
];
-function Jye(e, t) {
+function Xye(e, t) {
if (e == null) return {};
- var n, r, i = Yye(e, t);
+ var n, r, i = Zye(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 Yye(e, t) {
+function Zye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57756,26 +57788,26 @@ function P4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N4(Object(n), !0).forEach(function(t) {
- Xye(e, t, n[t]);
+ Qye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xye(e, t, n) {
- return (t = Zye(t)) in e ? Object.defineProperty(e, t, {
+function Qye(e, t, n) {
+ return (t = $ye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zye(e) {
- var t = Qye(e, "string");
+function $ye(e) {
+ var t = ebe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qye(e, t) {
+function ebe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57785,16 +57817,16 @@ function Qye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $ye = (e, t, n, r) => {
+var tbe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = DJ(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, ebe = (e) => {
+}, nbe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = P4({ stroke: "#ccc" }, KL(e));
+ var s = P4({ stroke: "#ccc" }, WL(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = DJ(t, n, r, e), o = DJ(t, n, i, e);
return /*#__PURE__*/ I.createElement("line", M4({ key: `line-${e}` }, s, {
@@ -57808,7 +57840,7 @@ var $ye = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = P4({
stroke: "#ccc",
fill: "none"
- }, KL(e));
+ }, WL(e));
return /*#__PURE__*/ I.createElement("circle", M4({}, i, {
className: Wm("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -57819,12 +57851,12 @@ var $ye = (e, t, n, r) => {
var { radius: t } = e, n = P4({
stroke: "#ccc",
fill: "none"
- }, KL(e));
+ }, WL(e));
return /*#__PURE__*/ I.createElement("path", M4({}, n, {
className: Wm("recharts-polar-grid-concentric-polygon", e.className),
- d: $ye(t, e.cx, e.cy, e.polarAngles)
+ d: tbe(t, e.cx, e.cy, e.polarAngles)
}));
-}, tbe = (e) => {
+}, rbe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -57838,14 +57870,14 @@ var $ye = (e, t, n, r) => {
radius: t
}));
}));
-}, nbe = {
+}, ibe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: kY.grid
}, L4 = (e) => {
- var t = Sz(e, nbe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Jye(t, qye), m = Q(ZY), h = Q((e) => Gye(e, i)), g = Q((e) => Kye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = bz(e, ibe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Xye(t, Yye), m = Q(ZY), h = Q((e) => qye(e, i)), g = Q((e) => Jye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = P4({
cx: m?.cx ?? o ?? 0,
@@ -57856,13 +57888,13 @@ var $ye = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(tbe, M4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(rbe, M4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(ebe, M4({
+ })), /*#__PURE__*/ I.createElement(nbe, M4({
gridType: n,
radialLines: r
}, y, {
@@ -57878,11 +57910,11 @@ function R4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function rbe(e, t = Dz) {
+function abe(e, t = Tz) {
if (e == null) return;
let n = R4(e);
if (n.length === 0) return;
- let r = Gz(t), i, a;
+ let r = Uz(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);
@@ -57891,11 +57923,11 @@ function rbe(e, t = Dz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function ibe(e, t = Dz) {
+function obe(e, t = Tz) {
if (e == null) return;
let n = R4(e);
if (n.length === 0) return;
- let r = Gz(t), i, a;
+ let r = Uz(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);
@@ -57924,7 +57956,7 @@ var z4 = GV({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: abe, removeRadiusAxis: obe, addAngleAxis: sbe, removeAngleAxis: cbe } = z4.actions, lbe = z4.reducer;
+}), { addRadiusAxis: sbe, removeRadiusAxis: cbe, addAngleAxis: lbe, removeAngleAxis: ube } = z4.actions, dbe = z4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function B4(e) {
@@ -57932,12 +57964,12 @@ function B4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var ube = ["type"], dbe = [
+var fbe = ["type"], pbe = [
"cx",
"cy",
"angle",
"axisLine"
-], fbe = [
+], mbe = [
"angle",
"tickFormatter",
"stroke",
@@ -57966,26 +57998,26 @@ function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H4(Object(n), !0).forEach(function(t) {
- pbe(e, t, n[t]);
+ hbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pbe(e, t, n) {
- return (t = mbe(t)) in e ? Object.defineProperty(e, t, {
+function hbe(e, t, n) {
+ return (t = gbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mbe(e) {
- var t = hbe(e, "string");
+function gbe(e) {
+ var t = _be(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hbe(e, t) {
+function _be(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57997,14 +58029,14 @@ function hbe(e, t) {
}
function W4(e, t) {
if (e == null) return {};
- var n, r, i = gbe(e, t);
+ var n, r, i = vbe(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 gbe(e, t) {
+function vbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58013,20 +58045,20 @@ function gbe(e, t) {
}
return n;
}
-var _be = "radiusAxis";
-function vbe(e) {
- var t = Yz(), n = bW(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = W4(e, ube), i = NY(n, "radiusAxis", t);
+var ybe = "radiusAxis";
+function bbe(e) {
+ var t = qz(), n = bW(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = W4(e, fbe), i = NY(n, "radiusAxis", t);
if (i != null) return U4(U4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? fz : (t(abe(r)), () => {
- t(obe(r));
+ return (0, I.useEffect)(() => r == null ? uz : (t(sbe(r)), () => {
+ t(cbe(r));
}), [t, r]), null;
}
-var ybe = (e, t, n, r) => {
+var xbe = (e, t, n, r) => {
var { coordinate: i } = e;
return DJ(n, r, i, t);
-}, bbe = (e) => {
+}, Sbe = (e) => {
var t;
switch (e) {
case "left":
@@ -58038,49 +58070,49 @@ var ybe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, xbe = (e, t, n, r) => {
- var i = rbe(r, (e) => e.coordinate || 0);
+}, Cbe = (e, t, n, r) => {
+ var i = abe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: ibe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: obe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, Sbe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, dbe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = DJ(n, r, s[0], i), l = DJ(n, r, s[1], i), u = U4(U4(U4({}, KL(o)), {}, { fill: "none" }, KL(a)), {}, {
+}, wbe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, pbe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = DJ(n, r, s[0], i), l = DJ(n, r, s[1], i), u = U4(U4(U4({}, WL(o)), {}, { fill: "none" }, WL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", V4({ className: "recharts-polar-radius-axis-line" }, u));
-}, Cbe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(W2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), wbe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, fbe), s = bbe(e.orientation), c = KL(o), l = qL(a), u = t.map((t, o) => {
- var u = ybe(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
+}, Tbe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(W2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Ebe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, mbe), s = Sbe(e.orientation), c = WL(o), l = GL(a), u = t.map((t, o) => {
+ var u = xbe(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ I.createElement(QL, V4({
+ return /*#__PURE__*/ I.createElement(XL, V4({
className: Wm("recharts-polar-radius-axis-tick", B4(a)),
key: `tick-${t.coordinate}`
- }, bz(e, t, o)), Cbe(a, d, r ? r(t.value, o) : t.value));
+ }, vz(e, t, o)), Tbe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, Tbe = (e) => {
+ return /*#__PURE__*/ I.createElement(XL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, Dbe = (e) => {
var { radiusAxisId: t } = e, n = Q(ZY), r = Q((e) => k4(e, "radiusAxis", t)), i = Q((e) => j4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = U4(U4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(n2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-polar-radius-axis", _be, a.className) }, s && Sbe(a, i), o && wbe(a, i), /*#__PURE__*/ I.createElement(bye, xbe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(Dye, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: Wm("recharts-polar-radius-axis", ybe, a.className) }, s && wbe(a, i), o && Ebe(a, i), /*#__PURE__*/ I.createElement(Sye, Cbe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(kye, { label: a.label }), a.children)));
};
function G4(e) {
- var t = Sz(e, jY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(vbe, {
+ var t = bz(e, jY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bbe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -58097,12 +58129,12 @@ function G4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(Tbe, t));
+ }), /*#__PURE__*/ I.createElement(Dbe, t));
}
G4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var Ebe = ["children", "type"], Dbe = ["ref"];
+var Obe = ["children", "type"], kbe = ["ref"];
function K4() {
return K4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -58126,26 +58158,26 @@ function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q4(Object(n), !0).forEach(function(t) {
- Obe(e, t, n[t]);
+ Abe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Obe(e, t, n) {
- return (t = kbe(t)) in e ? Object.defineProperty(e, t, {
+function Abe(e, t, n) {
+ return (t = jbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kbe(e) {
- var t = Abe(e, "string");
+function jbe(e) {
+ var t = Mbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Abe(e, t) {
+function Mbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58157,14 +58189,14 @@ function Abe(e, t) {
}
function Y4(e, t) {
if (e == null) return {};
- var n, r, i = jbe(e, t);
+ var n, r, i = Nbe(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 jbe(e, t) {
+function Nbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58173,17 +58205,17 @@ function jbe(e, t) {
}
return n;
}
-var X4 = 1e-5, Mbe = Math.cos(TJ(45)), Nbe = "angleAxis";
-function Pbe(e) {
- var t = Yz(), n = bW(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = Y4(e, Ebe), a = NY(n, "angleAxis", r);
+var X4 = 1e-5, Pbe = Math.cos(TJ(45)), Fbe = "angleAxis";
+function Ibe(e) {
+ var t = qz(), n = bW(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = Y4(e, Obe), a = NY(n, "angleAxis", r);
if (a != null) return J4(J4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => VY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? fz : (t(sbe(r)), () => {
- t(cbe(r));
+ return (0, I.useEffect)(() => r == null ? uz : (t(lbe(r)), () => {
+ t(ube(r));
}), [t, r]), i ? e.children : null;
}
-var Fbe = (e, t) => {
+var Lbe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = DJ(n, r, i, e.coordinate), l = DJ(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -58191,16 +58223,16 @@ var Fbe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, Ibe = (e, t) => {
+}, Rbe = (e, t) => {
var n = Math.cos(TJ(-e.coordinate));
return n > X4 ? t === "outer" ? "start" : "end" : n < -X4 ? t === "outer" ? "end" : "start" : "middle";
-}, Lbe = (e) => {
+}, zbe = (e) => {
var t = Math.cos(TJ(-e.coordinate)), n = Math.sin(TJ(-e.coordinate));
- return Math.abs(t) <= Mbe ? n > 0 ? "start" : "end" : "middle";
-}, Rbe = (e) => {
+ return Math.abs(t) <= Pbe ? n > 0 ? "start" : "end" : "middle";
+}, Bbe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = J4(J4({}, KL(e)), {}, { fill: "none" }, KL(a));
+ var s = J4(J4({}, WL(e)), {}, { fill: "none" }, WL(a));
if (i === "circle") return /*#__PURE__*/ I.createElement(y4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -58208,12 +58240,12 @@ var Fbe = (e, t) => {
}));
var c = o.map((e) => DJ(t, n, r, e.coordinate));
return /*#__PURE__*/ I.createElement(_4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, zbe = (e) => {
+}, Vbe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(W2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, Bbe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = KL(e), { ref: s } = o, c = Y4(o, Dbe), l = qL(t), u = J4(J4({}, c), {}, { fill: "none" }, KL(n)), d = a.map((a, o) => {
- var s = Fbe(a, e), d = Ibe(a, e.orientation), f = Lbe(a), p = J4(J4(J4({}, c), {}, {
+}, Hbe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = WL(e), { ref: s } = o, c = Y4(o, kbe), l = GL(t), u = J4(J4({}, c), {}, { fill: "none" }, WL(n)), d = a.map((a, o) => {
+ var s = Lbe(a, e), d = Rbe(a, e.orientation), f = zbe(a), p = J4(J4(J4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -58224,28 +58256,28 @@ var Fbe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement(QL, K4({
+ return /*#__PURE__*/ I.createElement(XL, K4({
className: Wm("recharts-polar-angle-axis-tick", B4(t)),
key: `tick-${a.coordinate}`
- }, bz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(zbe, {
+ }, vz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Vbe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, Vbe = (e) => {
- var { angleAxisId: t } = e, n = Q(ZY), r = Q((e) => k4(e, "angleAxis", t)), i = IU(), a = Q((e) => Uye(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(XL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, Ube = (e) => {
+ var { angleAxisId: t } = e, n = Q(ZY), r = Q((e) => k4(e, "angleAxis", t)), i = IU(), a = Q((e) => Gye(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__*/ I.createElement(n2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-polar-angle-axis", Nbe, o.className) }, /*#__PURE__*/ I.createElement(Rbe, o), /*#__PURE__*/ I.createElement(Bbe, o)));
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: Wm("recharts-polar-angle-axis", Fbe, o.className) }, /*#__PURE__*/ I.createElement(Bbe, o), /*#__PURE__*/ I.createElement(Hbe, o)));
};
function Z4(e) {
- var t = Sz(e, AY);
- return /*#__PURE__*/ I.createElement(Pbe, {
+ var t = bz(e, AY);
+ return /*#__PURE__*/ I.createElement(Ibe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -58262,12 +58294,12 @@ function Z4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(Vbe, t));
+ }, /*#__PURE__*/ I.createElement(Ube, t));
}
Z4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Hbe = /* @__PURE__ */ M(((e) => {
+var Wbe = /* @__PURE__ */ M(((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) {
@@ -58296,26 +58328,26 @@ var Hbe = /* @__PURE__ */ M(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), Ube = (/* @__PURE__ */ M(((e, t) => {
- t.exports = Hbe();
+})), Gbe = (/* @__PURE__ */ M(((e, t) => {
+ t.exports = Wbe();
})))(), Q4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", $4 = null, e3 = null, t3 = (e) => {
if (e === $4 && Array.isArray(e3)) return e3;
var t = [];
return I.Children.forEach(e, (e) => {
- lz(e) || ((0, Ube.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
+ sz(e) || ((0, Gbe.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
}), e3 = t, $4 = e, t;
};
function n3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Q4(e)) : [Q4(t)], t3(e).forEach((e) => {
- var t = ZR(e, "type.displayName") || ZR(e, "type.name");
+ var t = YR(e, "type.displayName") || YR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function Wbe(e) {
+function Kbe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -58328,7 +58360,7 @@ function Wbe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var Gbe, Kbe, qbe, Jbe, Ybe;
+var qbe, Jbe, Ybe, Xbe, Zbe;
function i3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58343,26 +58375,26 @@ function a3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? i3(Object(n), !0).forEach(function(t) {
- Xbe(e, t, n[t]);
+ Qbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xbe(e, t, n) {
- return (t = Zbe(t)) in e ? Object.defineProperty(e, t, {
+function Qbe(e, t, n) {
+ return (t = $be(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zbe(e) {
- var t = Qbe(e, "string");
+function $be(e) {
+ var t = exe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qbe(e, t) {
+function exe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58385,29 +58417,29 @@ function s3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var c3 = (e, t, n, r, i) => {
- var a = n - r, o = $R(Gbe ||= s3([
+ var a = n - r, o = ZR(qbe ||= s3([
"M ",
",",
""
]), e, t);
- return o += $R(Kbe ||= s3([
+ return o += ZR(Jbe ||= s3([
"L ",
",",
""
- ]), e + n, t), o += $R(qbe ||= s3([
+ ]), e + n, t), o += ZR(Ybe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += $R(Jbe ||= s3([
+ ]), e + n - a / 2, t + i), o += ZR(Xbe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += $R(Ybe ||= s3([
+ ]), e + n - a / 2 - r, t + i), o += ZR(Zbe ||= s3([
"L ",
",",
" Z"
]), e, t), o;
-}, $be = {
+}, txe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -58417,8 +58449,8 @@ var c3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, exe = (e) => {
- var t = Sz(e, $be), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = Jq(e, "trapezoid-");
+}, nxe = (e) => {
+ var t = bz(e, txe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = Jq(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -58426,7 +58458,7 @@ var c3 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Wm("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, KL(t), {
className: x,
d: c3(n, r, i, a, o)
})));
@@ -58440,35 +58472,35 @@ var c3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = sz(S, i, e), c = sz(C, a, e), l = sz(w, o, e), u = sz(T, n, e), d = sz(E, r, e);
+ var s = az(S, i, e), c = az(C, a, e), l = az(w, o, e), u = az(T, n, e), d = az(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
+ return /*#__PURE__*/ I.createElement("path", o3({}, KL(t), {
className: x,
d: c3(u, d, s, c, l),
ref: f,
style: a3(a3({}, p), t.style)
}));
});
-}, txe = [
+}, rxe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function nxe(e, t) {
+function ixe(e, t) {
if (e == null) return {};
- var n, r, i = rxe(e, t);
+ var n, r, i = axe(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 rxe(e, t) {
+function axe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58491,26 +58523,26 @@ function u3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l3(Object(n), !0).forEach(function(t) {
- ixe(e, t, n[t]);
+ oxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ixe(e, t, n) {
- return (t = axe(t)) in e ? Object.defineProperty(e, t, {
+function oxe(e, t, n) {
+ return (t = sxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function axe(e) {
- var t = oxe(e, "string");
+function sxe(e) {
+ var t = cxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oxe(e, t) {
+function cxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58520,34 +58552,34 @@ function oxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sxe(e, t) {
+function lxe(e, t) {
return u3(u3({}, t), e);
}
-function cxe(e, t) {
+function uxe(e, t) {
return e === "symbols";
}
function d3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ I.createElement(vJ, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(exe, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(nxe, n);
case "sector": return /*#__PURE__*/ I.createElement(YJ, n);
case "symbols":
- if (cxe(t, n)) return /*#__PURE__*/ I.createElement(_z, n);
+ if (uxe(t, n)) return /*#__PURE__*/ I.createElement(hz, n);
break;
case "curve": return /*#__PURE__*/ I.createElement(XK, n);
default: return null;
}
}
-function lxe(e) {
+function dxe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function f3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = nxe(e, txe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), lxe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = ixe(e, rxe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), dxe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (Wbe(t) && typeof t != "boolean") {
- var s = sxe(t, a);
+ else if (Kbe(t) && typeof t != "boolean") {
+ var s = lxe(t, a);
o = /*#__PURE__*/ I.createElement(d3, {
shapeType: n,
elementProps: s
@@ -58559,12 +58591,12 @@ function f3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement(QL, { className: r }, o) : /*#__PURE__*/ I.createElement(QL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(XL, { className: r }, o) : /*#__PURE__*/ I.createElement(XL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var p3 = (e, t, n) => {
- var r = Yz();
+ var r = qz();
return (i, a) => (o) => {
e?.(i, a, o), r(r0({
activeIndex: String(a),
@@ -58574,14 +58606,14 @@ var p3 = (e, t, n) => {
}));
};
}, m3 = (e) => {
- var t = Yz();
+ var t = qz();
return (n, r) => (i) => {
- e?.(n, r, i), t(Jge());
+ e?.(n, r, i), t(Xge());
};
}, h3 = (e, t, n) => {
- var r = Yz();
+ var r = qz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Yge({
+ e?.(i, a, o), r(Zge({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -58592,9 +58624,9 @@ var p3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function g3(e) {
- var { tooltipEntrySettings: t } = e, n = Yz(), r = IU(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = qz(), r = IU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(Wge(t)) : i.current !== t && n(Gge({
+ r || (i.current === null ? n(Kge(t)) : i.current !== t && n(qge({
prev: i.current,
next: t
})), i.current = t);
@@ -58603,13 +58635,13 @@ function g3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(Kge(i.current)), null);
+ i.current &&= (n(Jge(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function _3(e) {
- var { legendPayload: t } = e, n = Yz(), r = IU(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = qz(), r = IU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
r || (i.current === null ? n(SG(t)) : i.current !== t && n(CG({
prev: i.current,
@@ -58624,7 +58656,7 @@ function _3(e) {
}, [n]), null;
}
function v3(e) {
- var { legendPayload: t } = e, n = Yz(), r = Q(gW), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = qz(), r = Q(gW), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(SG(t)) : i.current !== t && n(CG({
prev: i.current,
@@ -58640,21 +58672,21 @@ function v3(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var uxe = I.useId ?? (() => {
- var [e] = I.useState(() => iz("uid-"));
+var fxe = I.useId ?? (() => {
+ var [e] = I.useState(() => nz("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function dxe(e, t) {
- var n = uxe();
+function pxe(e, t) {
+ var n = fxe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var fxe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
- var { id: t, type: n, children: r } = e, i = dxe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(fxe.Provider, { value: i }, r(i));
+var mxe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = pxe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(mxe.Provider, { value: i }, r(i));
}, b3 = GV({
name: "graphicalItems",
initialState: {
@@ -58670,14 +58702,14 @@ var fxe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).cartesianItems.indexOf(vG(n));
+ var { prev: n, next: r } = t.payload, i = yV(e).cartesianItems.indexOf(vG(n));
i > -1 && (e.cartesianItems[i] = vG(r));
},
prepare: AV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = xV(e).cartesianItems.indexOf(vG(t.payload));
+ var n = yV(e).cartesianItems.indexOf(vG(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
prepare: AV()
@@ -58690,53 +58722,53 @@ var fxe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = xV(e).polarItems.indexOf(vG(t.payload));
+ var n = yV(e).polarItems.indexOf(vG(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
prepare: AV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).polarItems.indexOf(vG(n));
+ var { prev: n, next: r } = t.payload, i = yV(e).polarItems.indexOf(vG(n));
i > -1 && (e.polarItems[i] = vG(r));
},
prepare: AV()
}
}
-}), { addCartesianGraphicalItem: pxe, replaceCartesianGraphicalItem: mxe, removeCartesianGraphicalItem: hxe, addPolarGraphicalItem: gxe, removePolarGraphicalItem: _xe, replacePolarGraphicalItem: vxe } = b3.actions, yxe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: hxe, replaceCartesianGraphicalItem: gxe, removeCartesianGraphicalItem: _xe, addPolarGraphicalItem: vxe, removePolarGraphicalItem: yxe, replacePolarGraphicalItem: bxe } = b3.actions, xxe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = qz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(pxe(e)) : n.current !== e && t(mxe({
+ n.current === null ? t(hxe(e)) : n.current !== e && t(gxe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(hxe(n.current)), null);
+ n.current &&= (t(_xe(n.current)), null);
}, [t]), null;
}), S3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz(), n = (0, I.useRef)(null);
+ var t = qz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(gxe(e)) : n.current !== e && t(vxe({
+ n.current === null ? t(vxe(e)) : n.current !== e && t(bxe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(_xe(n.current)), null);
+ n.current &&= (t(yxe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function bxe(e) {
+function Sxe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function xxe(e) {
- if (!(!Oz(e) || e.length === 0)) return bxe(R4(e));
+function Cxe(e) {
+ if (!(!Ez(e) || e.length === 0)) return Sxe(R4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var Sxe = ["points"];
+var wxe = ["points"];
function C3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58751,26 +58783,26 @@ function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C3(Object(n), !0).forEach(function(t) {
- Cxe(e, t, n[t]);
+ Txe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cxe(e, t, n) {
- return (t = wxe(t)) in e ? Object.defineProperty(e, t, {
+function Txe(e, t, n) {
+ return (t = Exe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wxe(e) {
- var t = Txe(e, "string");
+function Exe(e) {
+ var t = Dxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Txe(e, t) {
+function Dxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58789,16 +58821,16 @@ function T3() {
return e;
}, T3.apply(null, arguments);
}
-function Exe(e, t) {
+function Oxe(e, t) {
if (e == null) return {};
- var n, r, i = Dxe(e, t);
+ var n, r, i = kxe(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 Dxe(e, t) {
+function kxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58807,20 +58839,20 @@ function Dxe(e, t) {
}
return n;
}
-function Oxe(e) {
+function Axe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, I.isValidElement)(t)) return /*#__PURE__*/ (0, I.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Wm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Exe(a, Sxe);
+ var i = Wm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Oxe(a, wxe);
return /*#__PURE__*/ I.createElement(y4, T3({}, s, { className: i }));
}
-function kxe(e, t) {
+function jxe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function E3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = kY.scatter } = e;
- if (!kxe(t, n)) return null;
- var u = r3(n), d = zue(n), f = t.map((e, r) => {
+ if (!jxe(t, n)) return null;
+ var u = r3(n), d = Uue(n), f = t.map((e, r) => {
var s = w3(w3(w3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -58830,14 +58862,14 @@ function E3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement(Oxe, {
+ return /*#__PURE__*/ I.createElement(Axe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(n2, { zIndex: l }, /*#__PURE__*/ I.createElement(QL, T3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(n2, { zIndex: l }, /*#__PURE__*/ I.createElement(XL, T3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -58855,26 +58887,26 @@ function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? D3(Object(n), !0).forEach(function(t) {
- Axe(e, t, n[t]);
+ Mxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Axe(e, t, n) {
- return (t = jxe(t)) in e ? Object.defineProperty(e, t, {
+function Mxe(e, t, n) {
+ return (t = Nxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jxe(e) {
- var t = Mxe(e, "string");
+function Nxe(e) {
+ var t = Pxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Mxe(e, t) {
+function Pxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58962,7 +58994,7 @@ var k3 = GV({
}
}
}
-}), { addXAxis: Nxe, replaceXAxis: Pxe, removeXAxis: Fxe, addYAxis: Ixe, replaceYAxis: Lxe, removeYAxis: Rxe, addZAxis: zxe, replaceZAxis: Bxe, removeZAxis: Vxe, updateYAxisWidth: Hxe } = k3.actions, Uxe = k3.reducer, Wxe = $([
+}), { addXAxis: Fxe, replaceXAxis: Ixe, removeXAxis: Lxe, addYAxis: Rxe, replaceYAxis: zxe, removeYAxis: Bxe, addZAxis: Vxe, replaceZAxis: Hxe, removeZAxis: Uxe, updateYAxisWidth: Wxe } = k3.actions, Gxe = k3.reducer, Kxe = $([
$([MU], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -58978,7 +59010,7 @@ var k3 = GV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), A3 = () => Q(Wxe), Gxe = () => Q(w_e);
+}), A3 = () => Q(Kxe), qxe = () => Q(E_e);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function j3(e, t) {
@@ -58995,26 +59027,26 @@ function M3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j3(Object(n), !0).forEach(function(t) {
- Kxe(e, t, n[t]);
+ Jxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kxe(e, t, n) {
- return (t = qxe(t)) in e ? Object.defineProperty(e, t, {
+function Jxe(e, t, n) {
+ return (t = Yxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qxe(e) {
- var t = Jxe(e, "string");
+function Yxe(e) {
+ var t = Xxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jxe(e, t) {
+function Xxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59024,7 +59056,7 @@ function Jxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Yxe = (e) => {
+var Zxe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = M3(M3(M3({}, {
@@ -59038,17 +59070,17 @@ var Yxe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), qL(i)), yz(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(y4, s);
- return /*#__PURE__*/ I.createElement(QL, {
+ }), GL(i)), _z(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(y4, s);
+ return /*#__PURE__*/ I.createElement(XL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function N3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = kY.activeDot } = e, s = Q(F0), c = Gxe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = kY.activeDot } = e, s = Q(F0), c = qxe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return lz(l) ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: o }, /*#__PURE__*/ I.createElement(Yxe, {
+ return sz(l) ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: o }, /*#__PURE__*/ I.createElement(Zxe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -59073,26 +59105,26 @@ function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? P3(Object(n), !0).forEach(function(t) {
- Xxe(e, t, n[t]);
+ Qxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xxe(e, t, n) {
- return (t = Zxe(t)) in e ? Object.defineProperty(e, t, {
+function Qxe(e, t, n) {
+ return (t = $xe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zxe(e) {
- var t = Qxe(e, "string");
+function $xe(e) {
+ var t = eSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qxe(e, t) {
+function eSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59102,13 +59134,13 @@ function Qxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var I3 = (e, t) => k4(e, "radiusAxis", t), $xe = $([I3], (e) => {
+var I3 = (e, t) => k4(e, "radiusAxis", t), tSe = $([I3], (e) => {
if (e != null) return { scale: e };
-}), eSe = $([HY, I3], (e, t) => {
+}), nSe = $([HY, I3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), tSe = (e, t, n, r) => j4(e, "radiusAxis", t, r), L3 = (e, t, n) => VY(e, n), R3 = (e, t, n) => k4(e, "angleAxis", n), nSe = $([L3, R3], (e, t) => {
+}), rSe = (e, t, n, r) => j4(e, "radiusAxis", t, r), L3 = (e, t, n) => VY(e, n), R3 = (e, t, n) => k4(e, "angleAxis", n), iSe = $([L3, R3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), rSe = (e, t, n, r) => j4(e, "angleAxis", n, r), iSe = $([
+}), aSe = (e, t, n, r) => j4(e, "angleAxis", n, r), oSe = $([
L3,
R3,
ZY
@@ -59120,30 +59152,30 @@ var I3 = (e, t) => k4(e, "radiusAxis", t), $xe = $([I3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), aSe = (e, t, n, r, i) => i, oSe = $([
+}), sSe = (e, t, n, r, i) => i, cSe = $([
gW,
- eSe,
- tSe,
nSe,
- rSe
-], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), sSe = $([
- $xe,
+ rSe,
iSe,
+ aSe
+], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), lSe = $([
+ tSe,
+ oSe,
tY,
- $([b4, aSe], (e, t) => {
+ $([b4, sSe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- oSe
+ cSe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return _Se({
+ if (e != null && t != null && a != null && i != null && r != null) return ySe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), cSe = ["id"];
+}), uSe = ["id"];
function z3() {
return z3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -59167,26 +59199,26 @@ function V3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B3(Object(n), !0).forEach(function(t) {
- lSe(e, t, n[t]);
+ dSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lSe(e, t, n) {
- return (t = uSe(t)) in e ? Object.defineProperty(e, t, {
+function dSe(e, t, n) {
+ return (t = fSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uSe(e) {
- var t = dSe(e, "string");
+function fSe(e) {
+ var t = pSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dSe(e, t) {
+function pSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59196,16 +59228,16 @@ function dSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fSe(e, t) {
+function mSe(e, t) {
if (e == null) return {};
- var n, r, i = pSe(e, t);
+ var n, r, i = hSe(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 pSe(e, t) {
+function hSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59217,7 +59249,7 @@ function pSe(e, t) {
function H3(e, t) {
return e && e !== "none" ? e : t;
}
-var mSe = (e) => {
+var gSe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -59227,10 +59259,10 @@ var mSe = (e) => {
value: fU(n, t),
payload: e
}];
-}, hSe = /*#__PURE__*/ I.memo((e) => {
+}, _Se = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: fz,
+ getPosition: uz,
settings: {
stroke: n,
strokeWidth: r,
@@ -59247,8 +59279,8 @@ var mSe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: l });
});
-function gSe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = KL(fSe(n, cSe));
+function vSe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = WL(mSe(n, uSe));
return /*#__PURE__*/ I.createElement(E3, {
points: t,
dot: r,
@@ -59258,10 +59290,10 @@ function gSe(e) {
baseProps: o
});
}
-function _Se(e) {
+function ySe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = qH(e, n.dataKey, r), d = qH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? xxe(d) : d, m = lz(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = qH(e, n.dataKey, r), d = qH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Cxe(d) : d, m = sz(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, DJ(o, s, m, f)), {}, {
name: a,
value: d,
@@ -59275,7 +59307,7 @@ function _Se(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = lz(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = sz(n) ? 0 : t.scale.map(n) ?? 0;
d.push(V3(V3({}, e), {}, { radius: r }, DJ(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -59284,7 +59316,7 @@ function _Se(e) {
baseLinePoints: d
};
}
-function vSe(e) {
+function bSe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -59304,10 +59336,10 @@ function vSe(e) {
});
return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, r);
}
-function ySe(e) {
+function xSe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(_4, z3({}, JL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(_4, z3({}, KL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -59320,7 +59352,7 @@ function ySe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(gSe, {
+ return /*#__PURE__*/ I.createElement(XL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(vSe, {
props: r,
points: t
}));
@@ -59328,20 +59360,20 @@ function ySe(e) {
var U3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? V3(V3({}, r), {}, {
- x: sz(a.x, r.x, n),
- y: sz(a.y, r.y, n)
+ x: az(a.x, r.x, n),
+ y: az(a.y, r.y, n)
}) : V3(V3({}, r), {}, {
- x: sz(r.cx, r.x, n),
- y: sz(r.cy, r.y, n)
+ x: az(r.cx, r.x, n),
+ y: az(r.cy, r.y, n)
});
};
-function bSe(e) {
+function SSe(e) {
var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = Jq(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, I.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ I.createElement(vSe, {
+ return /*#__PURE__*/ I.createElement(bSe, {
showLabels: y,
points: i
}, /*#__PURE__*/ I.createElement(qq, {
@@ -59355,22 +59387,22 @@ function bSe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(U3(f, m, e)), s = e === 1 ? a : a?.map(U3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(ySe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(xSe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ I.createElement(p4, { label: t.label }), t.children);
}
-function xSe(e) {
+function CSe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(bSe, {
+ return /*#__PURE__*/ I.createElement(SSe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var SSe = {
+var wSe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -59384,27 +59416,27 @@ var SSe = {
radiusAxisId: 0,
zIndex: kY.area
};
-function CSe(e) {
+function TSe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Wm("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, /*#__PURE__*/ I.createElement(xSe, e)), /*#__PURE__*/ I.createElement(N3, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: i }, /*#__PURE__*/ I.createElement(CSe, e)), /*#__PURE__*/ I.createElement(N3, {
points: r,
mainColor: H3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function wSe(e) {
- var t = IU(), n = Q((n) => sSe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(CSe, z3({}, e, {
+function ESe(e) {
+ var t = IU(), n = Q((n) => lSe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(TSe, z3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function W3(e) {
- var t = Sz(e, SSe);
+ var t = bz(e, wSe);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radar"
@@ -59416,7 +59448,7 @@ function W3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(v3, { legendPayload: mSe(t) }), /*#__PURE__*/ I.createElement(hSe, {
+ }), /*#__PURE__*/ I.createElement(v3, { legendPayload: gSe(t) }), /*#__PURE__*/ I.createElement(_Se, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -59425,7 +59457,7 @@ function W3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(wSe, z3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(ESe, z3({}, t, { id: e }))));
}
W3.displayName = "Radar";
//#endregion
@@ -59449,7 +59481,7 @@ function q3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var J3 = (e, t, n) => {
var r = n ?? e;
- if (!lz(r)) return az(r, t, 0);
+ if (!sz(r)) return rz(r, t, 0);
}, Y3 = (e, t, n) => {
var r = {}, i = e.filter(nX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -59484,26 +59516,26 @@ function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X3(Object(n), !0).forEach(function(t) {
- TSe(e, t, n[t]);
+ DSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TSe(e, t, n) {
- return (t = ESe(t)) in e ? Object.defineProperty(e, t, {
+function DSe(e, t, n) {
+ return (t = OSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ESe(e) {
- var t = DSe(e, "string");
+function OSe(e) {
+ var t = kSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DSe(e, t) {
+function kSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59513,10 +59545,10 @@ function DSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OSe(e, t, n, r, i) {
+function ASe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = az(e, n, 0, !0), s, c = [];
+ var o = rz(e, n, 0, !0), s, c = [];
if (BH(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);
@@ -59536,7 +59568,7 @@ function OSe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = az(t, n, 0, !0);
+ var p = rz(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 >>= 0);
@@ -59554,7 +59586,7 @@ function OSe(e, t, n, r, i) {
}
}
var Q3 = (e, t, n, r, i, a, o) => {
- var s = lz(o) ? t : o, c = OSe(n, r, i === a ? a : i, e, s);
+ var s = sz(o) ? t : o, c = ASe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => Z3(Z3({}, e), {}, { position: Z3(Z3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, $3 = (e, t) => {
var n = eX(t);
@@ -59590,26 +59622,26 @@ function n6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? t6(Object(n), !0).forEach(function(t) {
- kSe(e, t, n[t]);
+ jSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kSe(e, t, n) {
- return (t = ASe(t)) in e ? Object.defineProperty(e, t, {
+function jSe(e, t, n) {
+ return (t = MSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ASe(e) {
- var t = jSe(e, "string");
+function MSe(e) {
+ var t = NSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jSe(e, t) {
+function NSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59621,7 +59653,7 @@ function jSe(e, t) {
}
var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
-}), i6 = (e, t) => Wye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => VY(e, n), (e, t, n) => k4(e, "angleAxis", n)], (e, t) => {
+}), i6 = (e, t) => Kye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => VY(e, n), (e, t, n) => k4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
}), o6 = (e, t, n) => j4(e, "angleAxis", n, !1), s6 = $([b4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
@@ -59631,20 +59663,20 @@ var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
i6,
a6,
o6
-], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), MSe = $([
+], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), PSe = $([
a6,
r6,
gW
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return iU({ numericAxis: r });
-}), NSe = (e, t, n, r, i) => i, PSe = (e, t, n, r, i) => n, FSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", ISe = $([$([
+}), FSe = (e, t, n, r, i) => i, ISe = (e, t, n, r, i) => n, LSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", RSe = $([$([
$([
$([
gW,
b4,
- PSe,
- FSe
+ ISe,
+ LSe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(u6)),
xY,
() => void 0
@@ -59661,7 +59693,7 @@ var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
i6,
l6
], (e, t, n, r, i, a, o) => {
- var s = lz(o) ? t : o;
+ var s = sz(o) ? t : o;
return e === "centric" ? uU(n, r, !0) ?? s ?? 0 : uU(i, a, !0) ?? s ?? 0;
}),
c6,
@@ -59675,7 +59707,7 @@ var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
d6,
SY,
CY
-], i1), LSe = $([
+], i1), zSe = $([
a6,
o6,
r6,
@@ -59684,16 +59716,16 @@ var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
s6,
c6,
gW,
- MSe,
+ PSe,
ZY,
- NSe,
- ISe,
+ FSe,
+ RSe,
$([(e, t, n) => gW(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return eCe({
+ return nCe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -59714,7 +59746,7 @@ var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), RSe = $([tY, (e, t) => t], (e, t) => {
+}), BSe = $([tY, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -59732,16 +59764,16 @@ function p6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var zSe = [
+var VSe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], BSe = [
+], HSe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], VSe = ["value", "background"];
+], USe = ["value", "background"];
function m6() {
return m6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -59765,26 +59797,26 @@ function g6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h6(Object(n), !0).forEach(function(t) {
- HSe(e, t, n[t]);
+ WSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HSe(e, t, n) {
- return (t = USe(t)) in e ? Object.defineProperty(e, t, {
+function WSe(e, t, n) {
+ return (t = GSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function USe(e) {
- var t = WSe(e, "string");
+function GSe(e) {
+ var t = KSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WSe(e, t) {
+function KSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59796,14 +59828,14 @@ function WSe(e, t) {
}
function _6(e, t) {
if (e == null) return {};
- var n, r, i = GSe(e, t);
+ var n, r, i = qSe(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 GSe(e, t) {
+function qSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59813,7 +59845,7 @@ function GSe(e, t) {
return n;
}
var v6 = [];
-function KSe(e) {
+function JSe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -59830,15 +59862,15 @@ function KSe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(Mye, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(Pye, { value: t ? i : void 0 }, r);
}
-function qSe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, zSe), l = KL(c), u = Q(F0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, BSe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(KSe, {
+function YSe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, VSe), l = WL(c), u = Q(F0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, HSe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(JSe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), bz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), vz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -59855,7 +59887,7 @@ function qSe(e) {
}, /*#__PURE__*/ I.createElement(q3, f)) : /*#__PURE__*/ I.createElement(q3, m6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ I.createElement(p4, { label: n.label }), n.children);
}
-function JSe(e) {
+function XSe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = Jq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, I.useCallback)(() => {
@@ -59874,34 +59906,34 @@ function JSe(e) {
var i = e === 1 ? r : (r ?? v6).map((t, n) => {
var r = d && d[n];
if (r) return g6(g6({}, t), {}, {
- startAngle: sz(r.startAngle, t.startAngle, e),
- endAngle: sz(r.endAngle, t.endAngle, e)
+ startAngle: az(r.startAngle, t.startAngle, e),
+ endAngle: az(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return g6(g6({}, t), {}, { endAngle: sz(a, i, e) });
+ return g6(g6({}, t), {}, { endAngle: az(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(qSe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(YSe, {
sectors: i ?? v6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function YSe(e) {
+function ZSe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(JSe, {
+ return /*#__PURE__*/ I.createElement(XSe, {
props: e,
previousSectorsRef: t
});
}
-function XSe(e) {
- var t = Q((t) => RSe(t, e.legendType));
+function QSe(e) {
+ var t = Q((t) => BSe(t, e.legendType));
return /*#__PURE__*/ I.createElement(v3, { legendPayload: t ?? [] });
}
-var ZSe = /*#__PURE__*/ I.memo((e) => {
+var $Se = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: fz,
+ getPosition: uz,
settings: {
graphicalItemId: l,
stroke: r,
@@ -59917,14 +59949,14 @@ var ZSe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
-}), QSe = class extends I.PureComponent {
+}), eCe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = qL(this.props.background);
+ var { cornerRadius: t } = this.props, n = GL(this.props.background);
return /*#__PURE__*/ I.createElement(n2, { zIndex: p6(this.props.background, kY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = _6(e, VSe);
+ var { value: i, background: a } = e, o = _6(e, USe);
if (!a) return null;
- var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), bz(this.props, e, r)), {}, {
+ var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), vz(this.props, e, r)), {}, {
index: r,
className: Wm("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -59937,10 +59969,10 @@ var ZSe = /*#__PURE__*/ I.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Wm("recharts-area", n);
- return /*#__PURE__*/ I.createElement(n2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, r && /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(YSe, this.props))));
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: i }, r && /*#__PURE__*/ I.createElement(XL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(XL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(ZSe, this.props))));
}
};
-function $Se(e) {
+function tCe(e) {
var t = I.useMemo(() => n3(e.children, y2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
@@ -59962,8 +59994,8 @@ function $Se(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => LSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ZSe, {
+ ]), r = Q((r) => zSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement($Se, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -59973,7 +60005,7 @@ function $Se(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(QSe, m6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(eCe, m6({}, e, { sectors: r })));
}
var y6 = {
angleAxisId: 0,
@@ -59992,7 +60024,7 @@ var y6 = {
radiusAxisId: 0,
zIndex: kY.bar
};
-function eCe(e) {
+function nCe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? v6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
@@ -60008,7 +60040,7 @@ function eCe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = ez(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = QR(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -60031,7 +60063,7 @@ function eCe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = ez(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = QR(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -60048,7 +60080,7 @@ function eCe(e) {
});
}
function b6(e) {
- var t = Sz(e, y6);
+ var t = bz(e, y6);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radialBar"
@@ -60064,13 +60096,13 @@ function b6(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(XSe, t), /*#__PURE__*/ I.createElement($Se, m6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(QSe, t), /*#__PURE__*/ I.createElement(tCe, m6({}, t, { id: e }))));
}
b6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var x6 = (e) => {
- var { chartData: t } = e, n = Yz(), r = IU();
+ var { chartData: t } = e, n = qz(), r = IU();
return (0, I.useEffect)(() => r ? () => {} : (n(p2(t)), () => {
n(p2(void 0));
}), [
@@ -60095,7 +60127,7 @@ var x6 = (e) => {
reducers: { setBrushSettings(e, t) {
return t.payload == null ? S6 : t.payload;
} }
-}), { setBrushSettings: tCe } = C6.actions, nCe = C6.reducer, rCe = (e, t) => {
+}), { setBrushSettings: rCe } = C6.actions, iCe = C6.reducer, aCe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -60103,9 +60135,9 @@ var x6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, iCe = (e) => {
+}, oCe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return rCe({
+ return aCe({
x: t,
y: n
}, {
@@ -60113,11 +60145,11 @@ var x6 = (e) => {
y: i
});
};
-function aCe(e) {
+function sCe(e) {
return (e % 180 + 180) % 180;
}
-var oCe = function(e) {
- var { width: t, height: n } = e, r = aCe(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 cCe = function(e) {
+ var { width: t, height: n } = e, r = sCe(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);
}, w6 = GV({
name: "referenceElements",
@@ -60131,26 +60163,26 @@ var oCe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = xV(e).dots.findIndex((e) => e === t.payload);
+ var n = yV(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = xV(e).areas.findIndex((e) => e === t.payload);
+ var n = yV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
e.lines.push(vG(t.payload));
},
removeLine: (e, t) => {
- var n = xV(e).lines.findIndex((e) => e === t.payload);
+ var n = yV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: sCe, removeDot: cCe, addArea: lCe, removeArea: uCe, addLine: dCe, removeLine: fCe } = w6.actions, pCe = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), mCe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${iz("recharts")}-clip`), r = A3();
+}), { addDot: lCe, removeDot: uCe, addArea: dCe, removeArea: fCe, addLine: pCe, removeLine: mCe } = w6.actions, hCe = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), gCe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${nz("recharts")}-clip`), r = A3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(T6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -60159,7 +60191,7 @@ var oCe = function(e) {
height: s,
width: o
}))), t);
-}, hCe = () => (0, I.useContext)(T6), gCe = class {
+}, _Ce = () => (0, I.useContext)(T6), vCe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -60199,26 +60231,26 @@ function D6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E6(Object(n), !0).forEach(function(t) {
- _Ce(e, t, n[t]);
+ yCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Ce(e, t, n) {
- return (t = vCe(t)) in e ? Object.defineProperty(e, t, {
+function yCe(e, t, n) {
+ return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vCe(e) {
- var t = yCe(e, "string");
+function bCe(e) {
+ var t = xCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yCe(e, t) {
+function xCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60237,7 +60269,7 @@ function O6() {
return e;
}, O6.apply(null, arguments);
}
-var bCe = (e, t) => {
+var SCe = (e, t) => {
var n;
if (/*#__PURE__*/ I.isValidElement(e)) n = /*#__PURE__*/ I.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -60246,7 +60278,7 @@ var bCe = (e, t) => {
n = /*#__PURE__*/ I.createElement("line", O6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, xCe = (e, t, n, r, i, a) => {
+}, CCe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
if (!BH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -60257,7 +60289,7 @@ var bCe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, SCe = (e, t, n, r, i, a) => {
+}, wCe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
if (!BH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -60268,7 +60300,7 @@ var bCe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, CCe = (e, t, n, r) => {
+}, TCe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -60277,43 +60309,43 @@ var bCe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, wCe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = rz(s);
- return rz(c) ? xCe(c, u, r, a, t, n) : d ? SCe(s, u, r, i, e, n) : l != null && l.length === 2 ? CCe(l, u, r, new gCe({
+}, ECe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = tz(s);
+ return tz(c) ? CCe(c, u, r, a, t, n) : d ? wCe(s, u, r, i, e, n) : l != null && l.length === 2 ? TCe(l, u, r, new vCe({
x: e,
y: t
})) : null;
};
-function TCe(e) {
- var t = Yz();
- return (0, I.useEffect)(() => (t(dCe(e)), () => {
- t(fCe(e));
+function DCe(e) {
+ var t = qz();
+ return (0, I.useEffect)(() => (t(pCe(e)), () => {
+ t(mCe(e));
})), null;
}
-function ECe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = IU(), s = hCe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = uW();
+function OCe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = IU(), s = _Ce(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = uW();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = wCe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = ECe(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 { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, JL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, KL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = iCe({
+ }), x = oCe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-reference-line", i) }, bCe(r, b), /*#__PURE__*/ I.createElement(Q2, O6({}, x, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: Wm("recharts-reference-line", i) }, SCe(r, b), /*#__PURE__*/ I.createElement(Q2, O6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ I.createElement(o4, { label: e.label }), e.children)));
}
-var DCe = {
+var kCe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -60326,15 +60358,15 @@ var DCe = {
zIndex: kY.line
};
function k6(e) {
- var t = Sz(e, DCe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(TCe, {
+ var t = bz(e, kCe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(DCe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(ECe, t));
+ }), /*#__PURE__*/ I.createElement(OCe, t));
}
k6.displayName = "ReferenceLine";
//#endregion
@@ -60350,13 +60382,13 @@ function A6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function OCe(e, t, n) {
- return oCe({
+function ACe(e, t, n) {
+ return cCe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function kCe(e, t, n) {
+function jCe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -60371,12 +60403,12 @@ function j6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function ACe(e, t) {
+function MCe(e, t) {
return A6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function jCe(e, t, n, r, i) {
+function NCe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: A6(r, l) };
@@ -60385,7 +60417,7 @@ function jCe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function MCe(e, t, n, r, i) {
+function PCe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -60422,26 +60454,26 @@ function N6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M6(Object(n), !0).forEach(function(t) {
- NCe(e, t, n[t]);
+ FCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NCe(e, t, n) {
- return (t = PCe(t)) in e ? Object.defineProperty(e, t, {
+function FCe(e, t, n) {
+ return (t = ICe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PCe(e) {
- var t = FCe(e, "string");
+function ICe(e) {
+ var t = LCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FCe(e, t) {
+function LCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60451,7 +60483,7 @@ function FCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ICe(e, t, n, r, i) {
+function RCe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -60464,7 +60496,7 @@ function ICe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function LCe(e, t, n, r, i, a) {
+function zCe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -60488,7 +60520,7 @@ function LCe(e, t, n, r, i, a) {
function P6(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || TK.isSsr) return ACe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || TK.isSsr) return MCe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? T2(u, {
fontSize: t,
letterSpacing: n
@@ -60497,19 +60529,19 @@ function P6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? OCe(T2(i, {
+ return p === "width" ? ACe(T2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : T2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? ez(_.coordinate - g.coordinate) : 1, y = kCe(a, v, p);
- return c === "equidistantPreserveStart" ? jCe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? MCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? LCe(v, y, h, i, o, c === "preserveStartEnd") : ICe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? QR(_.coordinate - g.coordinate) : 1, y = jCe(a, v, p);
+ return c === "equidistantPreserveStart" ? NCe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? PCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? zCe(v, y, h, i, o, c === "preserveStartEnd") : RCe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var RCe = (e) => {
+var BCe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -60538,7 +60570,7 @@ var RCe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: zCe, removeRenderedTicks: BCe } = F6.actions, VCe = F6.reducer, HCe = [
+}), { setRenderedTicks: VCe, removeRenderedTicks: HCe } = F6.actions, UCe = F6.reducer, WCe = [
"axisLine",
"width",
"height",
@@ -60548,16 +60580,16 @@ var RCe = (e) => {
"axisType",
"axisId"
];
-function UCe(e, t) {
+function GCe(e, t) {
if (e == null) return {};
- var n, r, i = WCe(e, t);
+ var n, r, i = KCe(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 WCe(e, t) {
+function KCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60589,26 +60621,26 @@ function R6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L6(Object(n), !0).forEach(function(t) {
- GCe(e, t, n[t]);
+ qCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GCe(e, t, n) {
- return (t = KCe(t)) in e ? Object.defineProperty(e, t, {
+function qCe(e, t, n) {
+ return (t = JCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KCe(e) {
- var t = qCe(e, "string");
+function JCe(e) {
+ var t = YCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qCe(e, t) {
+function YCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60642,10 +60674,10 @@ var z6 = {
interval: "preserveEnd",
zIndex: kY.axis
};
-function JCe(e) {
+function XCe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = R6(R6(R6({}, c), KL(s)), {}, { fill: "none" });
+ var l = R6(R6(R6({}, c), WL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = R6(R6({}, l), {}, {
@@ -60663,9 +60695,9 @@ function JCe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Wm("recharts-cartesian-axis-line", ZR(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Wm("recharts-cartesian-axis-line", YR(s, "className")) }));
}
-function YCe(e, t, n, r, i, a, o, s, c) {
+function ZCe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -60692,14 +60724,14 @@ function YCe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function XCe(e, t) {
+function QCe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function ZCe(e, t) {
+function $Ce(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -60707,7 +60739,7 @@ function ZCe(e, t) {
default: return t ? "end" : "start";
}
}
-function QCe(e) {
+function ewe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Wm(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, R6(R6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(R6(R6({}, n), {}, { className: a }));
@@ -60717,9 +60749,9 @@ function QCe(e) {
}
return i;
}
-function $Ce(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = Yz();
- return (0, I.useEffect)(() => r == null || n == null ? fz : (i(zCe({
+function twe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = qz();
+ return (0, I.useEffect)(() => r == null || n == null ? uz : (i(VCe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -60729,7 +60761,7 @@ function $Ce(e) {
axisId: r,
axisType: n
})), () => {
- i(BCe({
+ i(HCe({
axisId: r,
axisType: n
}));
@@ -60740,15 +60772,15 @@ function $Ce(e) {
n
]), null;
}
-var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = KL(b), E = qL(r), D = R2(T.textAnchor) ? T.textAnchor : XCe(u, d), O = ZCe(u, d), k = {};
+var nwe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = WL(b), E = GL(r), D = R2(T.textAnchor) ? T.textAnchor : QCe(u, d), O = $Ce(u, d), k = {};
typeof i == "object" && (k = i);
- var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, YCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, ZCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement(QL, {
+ return /*#__PURE__*/ I.createElement(XL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Wm("recharts-cartesian-axis-tick-line", ZR(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Wm("recharts-cartesian-axis-tick-line", YR(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = R6(R6({}, R6(R6(R6(R6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -60761,16 +60793,16 @@ var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement(QL, I6({
+ return /*#__PURE__*/ I.createElement(XL, I6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, bz(x, n, t)), r && /*#__PURE__*/ I.createElement(QCe, {
+ }, vz(x, n, t)), r && /*#__PURE__*/ I.createElement(ewe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement($Ce, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(twe, {
ticks: w,
axisId: C,
axisType: S
@@ -60778,9 +60810,9 @@ var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), twe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = UCe(e, HCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => RCe({
+}), rwe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = GCe(e, WCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => BCe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -60798,7 +60830,7 @@ var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(JCe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(XL, { className: Wm("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(XCe, {
x: e.x,
y: e.y,
width: r,
@@ -60806,8 +60838,8 @@ var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: KL(e)
- }), /*#__PURE__*/ I.createElement(ewe, {
+ otherSvgProps: WL(e)
+ }), /*#__PURE__*/ I.createElement(nwe, {
ref: g,
axisType: c,
events: u,
@@ -60843,19 +60875,19 @@ var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), B6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = Sz(e, z6);
- return /*#__PURE__*/ I.createElement(twe, I6({}, n, { ref: t }));
+ var n = bz(e, z6);
+ return /*#__PURE__*/ I.createElement(rwe, I6({}, n, { ref: t }));
});
B6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var nwe = [
+var iwe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], rwe = ["offset"], iwe = ["xAxisId", "yAxisId"], awe = ["xAxisId", "yAxisId"];
+], awe = ["offset"], owe = ["xAxisId", "yAxisId"], swe = ["xAxisId", "yAxisId"];
function V6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60870,26 +60902,26 @@ function H6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V6(Object(n), !0).forEach(function(t) {
- owe(e, t, n[t]);
+ cwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function owe(e, t, n) {
- return (t = swe(t)) in e ? Object.defineProperty(e, t, {
+function cwe(e, t, n) {
+ return (t = lwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function swe(e) {
- var t = cwe(e, "string");
+function lwe(e) {
+ var t = uwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cwe(e, t) {
+function uwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60910,14 +60942,14 @@ function U6() {
}
function W6(e, t) {
if (e == null) return {};
- var n, r, i = lwe(e, t);
+ var n, r, i = dwe(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 lwe(e, t) {
+function dwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60926,7 +60958,7 @@ function lwe(e, t) {
}
return n;
}
-var uwe = (e) => {
+var fwe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -60947,7 +60979,7 @@ function G6(e) {
if (/*#__PURE__*/ I.isValidElement(t)) r = /*#__PURE__*/ I.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = KL(W6(n, nwe)) ?? {}, { offset: u } = l, d = W6(l, rwe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = WL(W6(n, iwe)) ?? {}, { offset: u } = l, d = W6(l, awe);
r = /*#__PURE__*/ I.createElement("line", U6({}, d, {
x1: i,
y1: a,
@@ -60959,10 +60991,10 @@ function G6(e) {
}
return r;
}
-function dwe(e) {
+function pwe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, iwe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, owe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: t,
y1: e,
@@ -60979,10 +61011,10 @@ function dwe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function fwe(e) {
+function mwe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, awe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, swe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: e,
y1: t,
@@ -60999,7 +61031,7 @@ function fwe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function pwe(e) {
+function hwe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -61022,7 +61054,7 @@ function pwe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function mwe(e) {
+function gwe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -61045,7 +61077,7 @@ function mwe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var hwe = (e, t) => {
+var _we = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
return XH(P6(H6(H6(H6({}, z6), n), {}, {
ticks: ZH(n, !0),
@@ -61056,7 +61088,7 @@ var hwe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, gwe = (e, t) => {
+}, vwe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
return XH(P6(H6(H6(H6({}, z6), n), {}, {
ticks: ZH(n, !0),
@@ -61067,7 +61099,7 @@ var hwe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, _we = {
+}, ywe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -61082,14 +61114,14 @@ var hwe = (e, t) => {
zIndex: kY.grid
};
function K6(e) {
- var t = pW(), n = mW(), r = fW(), i = H6(H6({}, Sz(e, _we)), {}, {
+ var t = pW(), n = mW(), r = fW(), i = H6(H6({}, bz(e, ywe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
}), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = IU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
if (!VH(l) || !VH(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || hwe, v = i.horizontalCoordinatesGenerator || gwe, { horizontalPoints: y, verticalPoints: b } = i;
+ var _ = i.verticalCoordinatesGenerator || _we, v = i.horizontalCoordinatesGenerator || vwe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? H6(H6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -61108,7 +61140,7 @@ function K6(e) {
}, C ? !0 : d);
HU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ I.createElement(n2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(uwe, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(fwe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -61116,12 +61148,12 @@ function K6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement(pwe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(mwe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(dwe, U6({}, i, {
+ }), /*#__PURE__*/ I.createElement(hwe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(gwe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(pwe, U6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(fwe, U6({}, i, {
+ })), /*#__PURE__*/ I.createElement(mwe, U6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -61148,17 +61180,17 @@ var q6 = GV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: vwe, replaceErrorBar: ywe, removeErrorBar: bwe } = q6.actions, xwe = q6.reducer, Swe = ["children"];
-function Cwe(e, t) {
+}), { addErrorBar: bwe, replaceErrorBar: xwe, removeErrorBar: Swe } = q6.actions, Cwe = q6.reducer, wwe = ["children"];
+function Twe(e, t) {
if (e == null) return {};
- var n, r, i = wwe(e, t);
+ var n, r, i = Ewe(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 wwe(e, t) {
+function Ewe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61167,7 +61199,7 @@ function wwe(e, t) {
}
return n;
}
-var Twe = /*#__PURE__*/ (0, I.createContext)({
+var Dwe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -61179,8 +61211,8 @@ var Twe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function J6(e) {
- var { children: t } = e, n = Cwe(e, Swe);
- return /*#__PURE__*/ I.createElement(Twe.Provider, { value: n }, t);
+ var { children: t } = e, n = Twe(e, wwe);
+ return /*#__PURE__*/ I.createElement(Dwe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -61205,30 +61237,30 @@ function X6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), Ewe = $([
+var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), Owe = $([
gW,
Z6,
$6,
Q6,
e8
-], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), Dwe = (e, t, n, r, i) => i;
-function Owe(e) {
+], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), kwe = (e, t, n, r, i) => i;
+function Awe(e) {
return e.type === "line";
}
-var kwe = $([
+var jwe = $([
gW,
Z6,
$6,
Q6,
e8,
- $([H$, Dwe], (e, t) => e.filter(Owe).find((e) => e.id === t)),
- Ewe,
+ $([H$, kwe], (e, t) => e.filter(Awe).find((e) => e.id === t)),
+ Owe,
nY
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return Ywe({
+ if (p != null) return Zwe({
layout: e,
xAxis: t,
yAxis: n,
@@ -61243,7 +61275,7 @@ var kwe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function t8(e) {
- var t = qL(e), n = 3, r = 2;
+ var t = GL(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -61258,13 +61290,13 @@ function t8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var Awe = ["id"], jwe = [
+var Mwe = ["id"], Nwe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], Mwe = [
+], Pwe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -61303,26 +61335,26 @@ function i8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r8(Object(n), !0).forEach(function(t) {
- Nwe(e, t, n[t]);
+ Fwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nwe(e, t, n) {
- return (t = Pwe(t)) in e ? Object.defineProperty(e, t, {
+function Fwe(e, t, n) {
+ return (t = Iwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pwe(e) {
- var t = Fwe(e, "string");
+function Iwe(e) {
+ var t = Lwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fwe(e, t) {
+function Lwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61334,14 +61366,14 @@ function Fwe(e, t) {
}
function a8(e, t) {
if (e == null) return {};
- var n, r, i = Iwe(e, t);
+ var n, r, i = Rwe(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 Iwe(e, t) {
+function Rwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61350,7 +61382,7 @@ function Iwe(e, t) {
}
return n;
}
-var Lwe = (e) => {
+var zwe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -61360,10 +61392,10 @@ var Lwe = (e) => {
value: fU(n, t),
payload: e
}];
-}, Rwe = /*#__PURE__*/ I.memo((e) => {
+}, Bwe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: fz,
+ getPosition: uz,
settings: {
stroke: r,
strokeWidth: i,
@@ -61380,11 +61412,11 @@ var Lwe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
}), o8 = (e, t) => `${t}px ${e}px`;
-function zwe(e, t) {
+function Vwe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var Bwe = (e, t, n) => {
+var Hwe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return o8(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -61396,13 +61428,13 @@ var Bwe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...zwe(n, i),
+ ...Vwe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function Vwe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = KL(a8(r, Awe));
+function Uwe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = WL(a8(r, Mwe));
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: i,
@@ -61414,7 +61446,7 @@ function Vwe(e) {
clipPathId: t
});
}
-function Hwe(e) {
+function Wwe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -61435,7 +61467,7 @@ function Hwe(e) {
return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
function s8(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, JL(a8(a, jwe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, KL(a8(a, Nwe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -61448,28 +61480,28 @@ function s8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(f3, n8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(Vwe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(Uwe, {
points: r,
clipPathId: t,
props: a
}));
}
-function Uwe(e) {
+function Gwe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Wwe(e) {
+function Kwe(e) {
var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = Jq(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, I.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = Uwe(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = Gwe(r.current), E = (0, I.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ I.createElement(Hwe, {
+ return /*#__PURE__*/ I.createElement(Wwe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ I.createElement(qq, {
@@ -61482,20 +61514,20 @@ function Wwe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = sz(D, T + D, e), u = Math.min(l, T), d = c ? s ? Bwe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
+ var l = az(D, T + D, e), u = Math.min(l, T), d = c ? s ? Hwe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return i8(i8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: az(i.x, t.x, e),
+ y: az(i.y, t.y, e)
});
}
return f ? i8(i8({}, t), {}, {
- x: sz(p * 2, t.x, e),
- y: sz(m / 2, t.y, e)
+ x: az(p * 2, t.x, e),
+ y: az(m / 2, t.y, e)
}) : i8(i8({}, t), {}, {
x: t.x,
y: t.y
@@ -61518,9 +61550,9 @@ function Wwe(e) {
});
}), /*#__PURE__*/ I.createElement(p4, { label: n.label }));
}
-function Gwe(e) {
+function qwe(e) {
var { clipPathId: t, props: n } = e, r = (0, I.useRef)(null), i = (0, I.useRef)(0), a = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(Wwe, {
+ return /*#__PURE__*/ I.createElement(Kwe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -61528,17 +61560,17 @@ function Gwe(e) {
pathRef: a
});
}
-var Kwe = (e, t) => ({
+var Jwe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: qH(e.payload, t)
-}), qwe = class extends I.Component {
+}), Ywe = class extends I.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
var p = Wm("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(n2, { zIndex: f }, /*#__PURE__*/ I.createElement(QL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: f }, /*#__PURE__*/ I.createElement(XL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -61551,9 +61583,9 @@ var Kwe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: Kwe,
+ dataPointFormatter: Jwe,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(Gwe, {
+ }, /*#__PURE__*/ I.createElement(qwe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(N3, {
@@ -61584,11 +61616,11 @@ var Kwe = (e, t) => ({
zIndex: kY.line,
type: "linear"
};
-function Jwe(e) {
- var t = Sz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, Mwe), { needClip: _ } = Y6(p, m), v = A3(), y = _W(), b = IU(), x = Q((e) => kwe(e, p, m, b, h));
+function Xwe(e) {
+ var t = bz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, Pwe), { needClip: _ } = Y6(p, m), v = A3(), y = _W(), b = IU(), x = Q((e) => jwe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ I.createElement(qwe, n8({}, g, {
+ return /*#__PURE__*/ I.createElement(Ywe, n8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -61612,7 +61644,7 @@ function Jwe(e) {
needClip: _
}));
}
-function Ywe(e) {
+function Zwe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
var l = qH(e, o);
@@ -61624,11 +61656,11 @@ function Ywe(e) {
entry: e,
index: c
}),
- y: (lz(l) ? null : r.scale.map(l)) ?? null,
+ y: (sz(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = lz(l) ? null : n.scale.map(l), d = nU({
+ var u = sz(l) ? null : n.scale.map(l), d = nU({
axis: r,
ticks: a,
bandSize: s,
@@ -61643,12 +61675,12 @@ function Ywe(e) {
};
}).filter(Boolean);
}
-function Xwe(e) {
- var t = Sz(e, c8), n = IU();
+function Qwe(e) {
+ var t = bz(e, c8), n = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Lwe(t) }), /*#__PURE__*/ I.createElement(Rwe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: zwe(t) }), /*#__PURE__*/ I.createElement(Bwe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -61669,9 +61701,9 @@ function Xwe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(Jwe, n8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(Xwe, n8({}, t, { id: e }))));
}
-var l8 = /*#__PURE__*/ I.memo(Xwe, WG);
+var l8 = /*#__PURE__*/ I.memo(Qwe, WG);
l8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -61683,19 +61715,19 @@ function d8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Zwe = $([
+var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), $we = $([
gW,
f8,
m8,
p8,
h8
-], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => YH(gW(e), "xAxis") ? "yAxis" : "xAxis", Qwe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), $we = $([
+], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => YH(gW(e), "xAxis") ? "yAxis" : "xAxis", eTe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), tTe = $([
gW,
f8,
m8,
p8,
h8,
- $([g8, (e, t, n) => a1(e, _8(e), Qwe(e, t), n)], (e, t) => {
+ $([g8, (e, t, n) => a1(e, _8(e), eTe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = eX(e);
if (n != null && r != null) {
@@ -61705,14 +61737,14 @@ var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxi
}
}),
rY,
- Zwe,
+ $we,
g8,
OY
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return yTe({
+ if (m != null) return xTe({
layout: e,
xAxis: t,
yAxis: n,
@@ -61726,7 +61758,7 @@ var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), eTe = ["id"], tTe = [
+}), nTe = ["id"], rTe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -61753,14 +61785,14 @@ function v8() {
}
function y8(e, t) {
if (e == null) return {};
- var n, r, i = nTe(e, t);
+ var n, r, i = iTe(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 nTe(e, t) {
+function iTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61783,26 +61815,26 @@ function x8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? b8(Object(n), !0).forEach(function(t) {
- rTe(e, t, n[t]);
+ aTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rTe(e, t, n) {
- return (t = iTe(t)) in e ? Object.defineProperty(e, t, {
+function aTe(e, t, n) {
+ return (t = oTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iTe(e) {
- var t = aTe(e, "string");
+function oTe(e) {
+ var t = sTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aTe(e, t) {
+function sTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61815,7 +61847,7 @@ function aTe(e, t) {
function S8(e, t) {
return e && e !== "none" ? e : t;
}
-var oTe = (e) => {
+var cTe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -61825,10 +61857,10 @@ var oTe = (e) => {
value: fU(n, t),
payload: e
}];
-}, sTe = /*#__PURE__*/ I.memo((e) => {
+}, lTe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: fz,
+ getPosition: uz,
settings: {
stroke: r,
strokeWidth: i,
@@ -61845,8 +61877,8 @@ var oTe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
});
-function cTe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = KL(r);
+function uTe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = WL(r);
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: a,
@@ -61858,7 +61890,7 @@ function cTe(e) {
clipPathId: t
});
}
-function lTe(e) {
+function dTe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -61879,8 +61911,8 @@ function lTe(e) {
return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
function C8(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, eTe), p = KL(f), m = JL(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(QL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(XK, v8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, nTe), p = WL(f), m = KL(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(XL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(XK, v8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -61903,13 +61935,13 @@ function C8(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(cTe, {
+ }))), /*#__PURE__*/ I.createElement(uTe, {
points: t,
props: f,
clipPathId: i
}));
}
-function uTe(e) {
+function fTe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!BH(a) || !BH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -61920,7 +61952,7 @@ function uTe(e) {
height: Math.floor(s)
}) : null;
}
-function dTe(e) {
+function pTe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!BH(a) || !BH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -61931,21 +61963,21 @@ function dTe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function fTe(e) {
+function mTe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(uTe, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(fTe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(dTe, {
+ }) : /*#__PURE__*/ I.createElement(pTe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function pTe(e) {
+function hTe(e) {
var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = Jq((0, I.useMemo)(() => ({
points: o,
baseLine: s
@@ -61956,7 +61988,7 @@ function pTe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ I.createElement(lTe, {
+ return /*#__PURE__*/ I.createElement(dTe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ I.createElement(qq, {
@@ -61975,18 +62007,18 @@ function pTe(e) {
if (x[r]) {
var i = x[r];
return x8(x8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: az(i.x, t.x, e),
+ y: az(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? sz(S, s, e) : lz(s) || tz(s) ? sz(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? az(S, s, e) : sz(s) || $R(s) ? az(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return x8(x8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: az(i.x, t.x, e),
+ y: az(i.y, t.y, e)
});
}
return t;
@@ -61999,13 +62031,13 @@ function pTe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(QL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(fTe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(XL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(mTe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement(QL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
+ }))), /*#__PURE__*/ I.createElement(XL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
points: o,
baseLine: s,
needClip: t,
@@ -62014,9 +62046,9 @@ function pTe(e) {
})));
}), /*#__PURE__*/ I.createElement(p4, { label: r.label }));
}
-function mTe(e) {
+function gTe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement(pTe, {
+ return /*#__PURE__*/ I.createElement(hTe, {
needClip: t,
clipPathId: n,
props: r,
@@ -62024,12 +62056,12 @@ function mTe(e) {
previousBaselineRef: a
});
}
-var hTe = class extends I.PureComponent {
+var _Te = class extends I.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
var m = Wm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(n2, { zIndex: p }, /*#__PURE__*/ I.createElement(QL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: p }, /*#__PURE__*/ I.createElement(XL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -62038,7 +62070,7 @@ var hTe = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(mTe, {
+ }))), /*#__PURE__*/ I.createElement(gTe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -62056,7 +62088,7 @@ var hTe = class extends I.PureComponent {
clipPath: b
}));
}
-}, gTe = {
+}, vTe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -62076,11 +62108,11 @@ var hTe = class extends I.PureComponent {
yAxisId: 0,
zIndex: kY.area
};
-function _Te(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, tTe), g = _W(), _ = W0(), { needClip: v } = Y6(p, m), y = IU(), { points: b, isRange: x, baseLine: S } = Q((t) => $we(t, e.id, y)) ?? {}, C = A3();
+function yTe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, rTe), g = _W(), _ = W0(), { needClip: v } = Y6(p, m), y = IU(), { points: b, isRange: x, baseLine: S } = Q((t) => tTe(t, e.id, y)) ?? {}, C = A3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ I.createElement(hTe, v8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(_Te, v8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -62106,7 +62138,7 @@ function _Te(e) {
yAxisId: m
}));
}
-var vTe = (e, t, n, r, i) => {
+var bTe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -62116,8 +62148,8 @@ var vTe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function yTe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = vTe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function xTe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = bTe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -62166,12 +62198,12 @@ function yTe(e) {
isRange: _
};
}
-function bTe(e) {
- var t = Sz(e, gTe), n = IU();
+function STe(e) {
+ var t = bz(e, vTe), n = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: oTe(t) }), /*#__PURE__*/ I.createElement(sTe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: cTe(t) }), /*#__PURE__*/ I.createElement(lTe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -62196,15 +62228,15 @@ function bTe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(_Te, v8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(yTe, v8({}, t, { id: e }))));
}
-var w8 = /*#__PURE__*/ I.memo(bTe, WG);
+var w8 = /*#__PURE__*/ I.memo(STe, WG);
w8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var xTe = "Invariant failed";
-function STe(e, t) {
- if (!e) throw Error(xTe);
+var CTe = "Invariant failed";
+function wTe(e, t) {
+ if (!e) throw Error(CTe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -62224,35 +62256,35 @@ function E8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var CTe = function(e) {
+var TTe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || lz(n);
- return i ? e(n, r) : (!i && STe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || sz(n);
+ return i ? e(n, r) : (!i && wTe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, wTe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), TTe = $([D8], (e) => e?.maxBarSize), ETe = (e, t, n, r) => r, DTe = $([
+}, ETe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), DTe = $([D8], (e) => e?.maxBarSize), OTe = (e, t, n, r) => r, kTe = $([
gW,
H$,
u8,
d8,
- wTe
-], (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")), OTe = (e, t, n) => {
+ ETe
+], (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")), ATe = (e, t, n) => {
var r = gW(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, kTe = $([
- DTe,
+}, jTe = $([
+ kTe,
xY,
(e, t) => {
var n = gW(e), r = u8(e, t), i = d8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], Y3), ATe = (e, t, n) => {
+], Y3), MTe = (e, t, n) => {
var r = D8(e, t);
if (r == null) return 0;
var i = u8(e, t), a = d8(e, t);
if (i == null || a == null) return 0;
- var o = gW(e), s = vY(e), { maxBarSize: c } = r, l = lz(c) ? s : c, u, d;
+ var o = gW(e), s = vY(e), { maxBarSize: c } = r, l = sz(c) ? s : c, u, d;
return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), uU(u, d, !0) ?? l ?? 0;
}, O8 = (e, t, n) => {
var r = gW(e), i = u8(e, t), a = d8(e, t);
@@ -62260,7 +62292,7 @@ var CTe = function(e) {
var o, s;
return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), uU(o, s);
}
-}, jTe = $([
+}, NTe = $([
MU,
PU,
(e, t, n) => {
@@ -62280,25 +62312,25 @@ var CTe = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- kTe,
+ jTe,
vY,
yY,
bY,
- ATe,
+ MTe,
O8,
- TTe
+ DTe
], Q3), D8], e6),
gW,
rY,
O8,
- $([OTe, D8], $3),
+ $([ATe, D8], $3),
D8,
- ETe
+ OTe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return aEe({
+ if (_ != null) return sEe({
layout: s,
barSettings: d,
pos: o,
@@ -62315,7 +62347,7 @@ var CTe = function(e) {
dataStartIndex: m
});
}
-}), MTe = ["index"];
+}), PTe = ["index"];
function k8() {
return k8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62325,16 +62357,16 @@ function k8() {
return e;
}, k8.apply(null, arguments);
}
-function NTe(e, t) {
+function FTe(e, t) {
if (e == null) return {};
- var n, r, i = PTe(e, t);
+ var n, r, i = ITe(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 PTe(e, t) {
+function ITe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62343,31 +62375,31 @@ function PTe(e, t) {
}
return n;
}
-var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), FTe = (e) => {
+var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), LTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) return t.stackId;
if (e != null) return tU(e);
-}, ITe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, LTe = (e) => {
+}, RTe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, zTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${ITe(n, e)})`;
+ return `url(#${RTe(n, e)})`;
}
}, j8 = (e) => {
- var { index: t } = e, n = NTe(e, MTe), r = LTe(t);
- return /*#__PURE__*/ I.createElement(QL, k8({
+ var { index: t } = e, n = FTe(e, PTe), r = zTe(t);
+ return /*#__PURE__*/ I.createElement(XL, k8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, RTe = [
+}, BTe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], zTe = [
+], VTe = [
"value",
"background",
"tooltipPosition"
-], BTe = ["id"], VTe = [
+], HTe = ["id"], UTe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -62395,26 +62427,26 @@ function P8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N8(Object(n), !0).forEach(function(t) {
- HTe(e, t, n[t]);
+ WTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HTe(e, t, n) {
- return (t = UTe(t)) in e ? Object.defineProperty(e, t, {
+function WTe(e, t, n) {
+ return (t = GTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UTe(e) {
- var t = WTe(e, "string");
+function GTe(e) {
+ var t = KTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WTe(e, t) {
+function KTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62426,14 +62458,14 @@ function WTe(e, t) {
}
function F8(e, t) {
if (e == null) return {};
- var n, r, i = GTe(e, t);
+ var n, r, i = qTe(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 GTe(e, t) {
+function qTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62442,7 +62474,7 @@ function GTe(e, t) {
}
return n;
}
-var KTe = (e) => {
+var JTe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -62452,10 +62484,10 @@ var KTe = (e) => {
value: fU(n, t),
payload: e
}];
-}, qTe = /*#__PURE__*/ I.memo((e) => {
+}, YTe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: fz,
+ getPosition: uz,
settings: {
stroke: n,
strokeWidth: r,
@@ -62472,17 +62504,17 @@ var KTe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
});
-function JTe(e) {
- var t = Q(F0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, RTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
+function XTe(e) {
+ var t = Q(F0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, BTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
if (!i || n == null) return null;
- var p = qL(i);
+ var p = GL(i);
return /*#__PURE__*/ I.createElement(n2, { zIndex: p6(i, kY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, zTe);
+ var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, VTe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = P8(P8(P8(P8(P8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), bz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), vz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -62493,7 +62525,7 @@ function JTe(e) {
return /*#__PURE__*/ I.createElement(E8, M8({ key: `background-bar-${n}` }, _));
}));
}
-function YTe(e) {
+function ZTe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -62513,7 +62545,7 @@ function YTe(e) {
});
return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
-function XTe(e) {
+function QTe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(F0), c = Q(L0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
var e;
@@ -62534,7 +62566,7 @@ function XTe(e) {
}));
return g ? /*#__PURE__*/ I.createElement(n2, { zIndex: kY.activeBar }, /*#__PURE__*/ I.createElement(j8, { index: i.originalDataIndex }, v)) : v;
}
-function ZTe(e) {
+function $Te(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(E8, M8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -62543,24 +62575,24 @@ function ZTe(e) {
dataKey: a
}));
}
-function QTe(e) {
- var { data: t, props: n } = e, r = KL(n) ?? {}, { id: i } = r, a = F8(r, BTe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, VTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
+function eEe(e) {
+ var { data: t, props: n } = e, r = WL(n) ?? {}, { id: i } = r, a = F8(r, HTe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, UTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(j8, M8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, bz(f, e, t), {
+ }, vz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(XTe, {
+ }), c ? /*#__PURE__*/ I.createElement(QTe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(ZTe, {
+ }) : /*#__PURE__*/ I.createElement($Te, {
shape: o,
baseProps: a,
entry: e,
@@ -62568,13 +62600,13 @@ function QTe(e) {
dataKey: s
})))) : null;
}
-function $Te(e) {
+function tEe(e) {
var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = Jq(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, I.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ I.createElement(YTe, {
+ return /*#__PURE__*/ I.createElement(ZTe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ I.createElement(qq, {
@@ -62590,38 +62622,38 @@ function $Te(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return P8(P8({}, t), {}, {
- x: sz(r.x, t.x, e),
- y: sz(r.y, t.y, e),
- width: sz(r.width, t.width, e),
- height: sz(r.height, t.height, e)
+ x: az(r.x, t.x, e),
+ y: az(r.y, t.y, e),
+ width: az(r.width, t.width, e),
+ height: az(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = sz(0, t.height, e), o = sz(t.stackedBarStart, t.y, e);
+ var a = az(0, t.height, e), o = az(t.stackedBarStart, t.y, e);
return P8(P8({}, t), {}, {
y: o,
height: a
});
}
- var s = sz(0, t.width, e), c = sz(t.stackedBarStart, t.x, e);
+ var s = az(0, t.width, e), c = az(t.stackedBarStart, t.x, e);
return P8(P8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(QL, null, /*#__PURE__*/ I.createElement(QTe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(XL, null, /*#__PURE__*/ I.createElement(eEe, {
props: t,
data: a
}));
}), /*#__PURE__*/ I.createElement(p4, { label: t.label }), t.children);
}
-function eEe(e) {
+function nEe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement($Te, {
+ return /*#__PURE__*/ I.createElement(tEe, {
previousRectanglesRef: t,
props: e
});
}
-var I8 = 0, tEe = (e, t) => {
+var I8 = 0, rEe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -62629,29 +62661,29 @@ var I8 = 0, tEe = (e, t) => {
value: n,
errorVal: qH(e, t)
};
-}, nEe = class extends I.PureComponent {
+}, iEe = class extends I.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Wm("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement(QL, {
+ return /*#__PURE__*/ I.createElement(XL, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement(QL, {
+ })), /*#__PURE__*/ I.createElement(XL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(JTe, {
+ }, /*#__PURE__*/ I.createElement(XTe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(eEe, this.props)));
+ }), /*#__PURE__*/ I.createElement(nEe, this.props)));
}
-}, rEe = {
+}, aEe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -62666,17 +62698,17 @@ var I8 = 0, tEe = (e, t) => {
yAxisId: 0,
zIndex: kY.bar
};
-function iEe(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = _W(), p = IU(), m = n3(e.children, y2), h = Q((t) => jTe(t, e.id, p, m));
+function oEe(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = _W(), p = IU(), m = n3(e.children, y2), h = Q((t) => NTe(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__*/ I.createElement(J6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: tEe,
+ dataPointFormatter: rEe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(nEe, M8({}, e, {
+ }, /*#__PURE__*/ I.createElement(iEe, M8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -62692,7 +62724,7 @@ function iEe(e) {
isAnimationActive: u
})));
}
-function aEe(e) {
+function sEe(e) {
var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = iU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -62701,7 +62733,7 @@ function aEe(e) {
if (E == null) return null;
_ = QH(E, v);
} else _ = qH(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = CTe(r, I8)(_[1], f);
+ var D = TTe(r, I8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -62714,13 +62746,13 @@ function aEe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = tz(A) ? 0 : A, T = {
+ if (w = $R(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = ez(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = QR(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -62739,7 +62771,7 @@ function aEe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = ez(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = QR(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -62761,12 +62793,12 @@ function aEe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function oEe(e) {
- var t = Sz(e, rEe), n = FTe(t.stackId), r = IU();
+function cEe(e) {
+ var t = bz(e, aEe), n = LTe(t.stackId), r = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: KTe(t) }), /*#__PURE__*/ I.createElement(qTe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: JTe(t) }), /*#__PURE__*/ I.createElement(YTe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -62791,23 +62823,23 @@ function oEe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(iEe, M8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(oEe, M8({}, t, { id: e })))));
}
-var L8 = /*#__PURE__*/ I.memo(oEe, WG);
+var L8 = /*#__PURE__*/ I.memo(cEe, WG);
L8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var sEe = ["domain", "range"], cEe = ["domain", "range"];
+var lEe = ["domain", "range"], uEe = ["domain", "range"];
function R8(e, t) {
if (e == null) return {};
- var n, r, i = lEe(e, t);
+ var n, r, i = dEe(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 lEe(e, t) {
+function dEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62821,16 +62853,16 @@ function z8(e, t) {
}
function B8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = R8(e, sEe), { domain: a, range: o } = t, s = R8(t, cEe);
+ var { domain: n, range: r } = e, i = R8(e, lEe), { domain: a, range: o } = t, s = R8(t, uEe);
return !z8(n, a) || !z8(r, o) ? !1 : WG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var uEe = ["type"], dEe = [
+var fEe = ["type"], pEe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], fEe = ["id", "scale"];
+], mEe = ["id", "scale"];
function V8() {
return V8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62854,26 +62886,26 @@ function U8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H8(Object(n), !0).forEach(function(t) {
- pEe(e, t, n[t]);
+ hEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pEe(e, t, n) {
- return (t = mEe(t)) in e ? Object.defineProperty(e, t, {
+function hEe(e, t, n) {
+ return (t = gEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mEe(e) {
- var t = hEe(e, "string");
+function gEe(e) {
+ var t = _Ee(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hEe(e, t) {
+function _Ee(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62885,14 +62917,14 @@ function hEe(e, t) {
}
function W8(e, t) {
if (e == null) return {};
- var n, r, i = gEe(e, t);
+ var n, r, i = vEe(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 gEe(e, t) {
+function vEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62901,23 +62933,23 @@ function gEe(e, t) {
}
return n;
}
-function _Ee(e) {
- var t = Yz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = W8(e, uEe), o = NY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function yEe(e) {
+ var t = qz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = W8(e, fEe), o = NY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return U8(U8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Nxe(s)) : n.current !== s && t(Pxe({
+ s != null && (n.current === null ? t(Fxe(s)) : n.current !== s && t(Ixe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Fxe(n.current)), null);
+ n.current &&= (t(Lxe(n.current)), null);
}, [t]), null;
}
-var vEe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(PU), i = IU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Bge(e, t)), l = Q((e) => M$(e, t));
+var bEe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(PU), i = IU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Hge(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, dEe), { id: m, scale: h } = l, g = W8(l, fEe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, pEe), { id: m, scale: h } = l, g = W8(l, mEe);
return /*#__PURE__*/ I.createElement(B6, V8({}, p, g, {
x: c.x,
y: c.y,
@@ -62929,7 +62961,7 @@ var vEe = (e) => {
axisType: a,
axisId: t
}));
-}, yEe = {
+}, xEe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -62954,8 +62986,8 @@ var vEe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, G8 = /*#__PURE__*/ I.memo((e) => {
- var t = Sz(e, yEe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_Ee, {
+ var t = bz(e, xEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yEe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -62981,16 +63013,16 @@ var vEe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(vEe, t));
+ }), /*#__PURE__*/ I.createElement(bEe, t));
}, B8);
G8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var bEe = ["type"], xEe = [
+var SEe = ["type"], CEe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], SEe = ["id", "scale"];
+], wEe = ["id", "scale"];
function K8() {
return K8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63014,26 +63046,26 @@ function J8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q8(Object(n), !0).forEach(function(t) {
- CEe(e, t, n[t]);
+ TEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CEe(e, t, n) {
- return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
+function TEe(e, t, n) {
+ return (t = EEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wEe(e) {
- var t = TEe(e, "string");
+function EEe(e) {
+ var t = DEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TEe(e, t) {
+function DEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63045,14 +63077,14 @@ function TEe(e, t) {
}
function Y8(e, t) {
if (e == null) return {};
- var n, r, i = EEe(e, t);
+ var n, r, i = OEe(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 EEe(e, t) {
+function OEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63061,27 +63093,27 @@ function EEe(e, t) {
}
return n;
}
-function DEe(e) {
- var t = Yz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = Y8(e, bEe), o = NY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function kEe(e) {
+ var t = qz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = Y8(e, SEe), o = NY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return J8(J8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Ixe(s)) : n.current !== s && t(Lxe({
+ s != null && (n.current === null ? t(Rxe(s)) : n.current !== s && t(zxe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Rxe(n.current)), null);
+ n.current &&= (t(Bxe(n.current)), null);
}, [t]), null;
}
-function OEe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(PU), c = IU(), l = Yz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Vge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function AEe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(PU), c = IU(), l = qz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Uge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, I.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || n4(i) || /*#__PURE__*/ (0, I.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(Hxe({
+ Math.round(d.width) !== Math.round(n) && l(Wxe({
id: t,
width: n
}));
@@ -63096,7 +63128,7 @@ function OEe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, xEe), { id: y, scale: b } = m, x = Y8(m, SEe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, CEe), { id: y, scale: b } = m, x = Y8(m, wEe);
return /*#__PURE__*/ I.createElement(B6, K8({}, v, x, {
ref: a,
labelRef: o,
@@ -63112,7 +63144,7 @@ function OEe(e) {
axisId: t
}));
}
-var kEe = {
+var jEe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -63137,8 +63169,8 @@ var kEe = {
width: P$.width,
yAxisId: 0
}, X8 = /*#__PURE__*/ I.memo((e) => {
- var t = Sz(e, kEe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(DEe, {
+ var t = bz(e, jEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(kEe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -63164,7 +63196,7 @@ var kEe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(OEe, t));
+ }), /*#__PURE__*/ I.createElement(AEe, t));
}, B8);
X8.displayName = "YAxis";
var Z8 = $([
@@ -63174,17 +63206,17 @@ var Z8 = $([
oX,
O0,
A0,
- I_e,
+ R_e,
MU
-], U_e);
+], G_e);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function AEe(e) {
+function MEe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Q8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (AEe(e)) {
+ if (MEe(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 {
@@ -63199,19 +63231,19 @@ function Q8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var $8 = TV("mouseClick"), e5 = jH();
+var $8 = CV("mouseClick"), e5 = jH();
e5.startListening({
actionCreator: $8,
effect: (e, t) => {
var n = e.payload, r = Z8(t.getState(), Q8(n));
- r?.activeIndex != null && t.dispatch(Xge({
+ r?.activeIndex != null && t.dispatch(Qge({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var t5 = TV("mouseMove"), n5 = jH(), r5 = null, i5 = null, a5 = null;
+var t5 = CV("mouseMove"), n5 = jH(), r5 = null, i5 = null, a5 = null;
n5.startListening({
actionCreator: t5,
effect: (e, t) => {
@@ -63242,7 +63274,7 @@ n5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function jEe(e, t) {
+function NEe(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
@@ -63265,11 +63297,11 @@ var o5 = {
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? o5.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;
} }
-}), MEe = s5.reducer, { updateOptions: NEe } = s5.actions, c5 = GV({
+}), PEe = s5.reducer, { updateOptions: FEe } = s5.actions, c5 = GV({
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) }
-}), { updatePolarOptions: PEe } = c5.actions, FEe = c5.reducer, l5 = TV("keyDown"), u5 = TV("focus"), d5 = TV("blur"), f5 = jH(), p5 = null, m5 = null, h5 = null;
+}), { updatePolarOptions: IEe } = c5.actions, LEe = c5.reducer, l5 = CV("keyDown"), u5 = CV("focus"), d5 = CV("blur"), f5 = jH(), p5 = null, m5 = null, h5 = null;
f5.startListening({
actionCreator: l5,
effect: (e, t) => {
@@ -63294,7 +63326,7 @@ f5.startListening({
}));
return;
}
- var c = Hge(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Wge(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = Z0(e, "axis", "hover", String(l));
t.dispatch(s0({
@@ -63357,7 +63389,7 @@ function g5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var _5 = TV("externalEvent"), v5 = jH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
+var _5 = CV("externalEvent"), v5 = jH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
v5.startListening({
actionCreator: _5,
effect: (e, t) => {
@@ -63377,12 +63409,12 @@ v5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: S_e(a),
+ activeCoordinate: w_e(a),
activeDataKey: L0(a),
activeIndex: F0(a),
activeLabel: I0(a),
activeTooltipIndex: F0(a),
- isTooltipActive: C_e(a)
+ isTooltipActive: T_e(a)
};
n && n(o, r);
} finally {
@@ -63406,7 +63438,7 @@ v5.startListening({
}
}
});
-var IEe = $([
+var REe = $([
$([h0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -63418,7 +63450,7 @@ var IEe = $([
if (i != null) return i(t);
}
}
-}), S5 = TV("touchMove"), C5 = jH(), w5 = null, T5 = null, E5 = null, D5 = null;
+}), S5 = CV("touchMove"), C5 = jH(), w5 = null, T5 = null, E5 = null, D5 = null;
C5.startListening({
actionCreator: S5,
effect: (e, t) => {
@@ -63453,7 +63485,7 @@ C5.startListening({
if (!o || !o.getAttribute) return;
var s = o.getAttribute(xU), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = x0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = IEe(e, s, c);
+ var { dataKey: u } = l, d = REe(e, s, c);
t.dispatch(r0({
activeDataKey: u,
activeIndex: s,
@@ -63491,27 +63523,27 @@ var O5 = {
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = vG(t.payload.throttledEvents));
} }
-}), { setEventSettings: LEe } = k5.actions, REe = k5.reducer, zEe = pB({
- brush: nCe,
- cartesianAxis: Uxe,
- chartData: gve,
- errorBars: xwe,
- eventSettings: REe,
- graphicalItems: yxe,
+}), { setEventSettings: zEe } = k5.actions, BEe = k5.reducer, VEe = dB({
+ brush: iCe,
+ cartesianAxis: Gxe,
+ chartData: vve,
+ errorBars: Cwe,
+ eventSettings: BEe,
+ graphicalItems: xxe,
layout: RH,
legend: TG,
- options: dve,
- polarAxis: lbe,
- polarOptions: FEe,
- referenceElements: pCe,
- renderedTicks: VCe,
- rootProps: MEe,
- tooltip: Zge,
- zIndex: nve
-}), BEe = function(e) {
+ options: pve,
+ polarAxis: dbe,
+ polarOptions: LEe,
+ referenceElements: hCe,
+ renderedTicks: UCe,
+ rootProps: PEe,
+ tooltip: $ge,
+ zIndex: ive
+}), HEe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
return FV({
- reducer: zEe,
+ reducer: VEe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -63532,7 +63564,7 @@ var O5 = {
return typeof e == "function" && (t = e()), t.concat(NV({ type: "raf" }));
},
devTools: TK.devToolsEnabled && {
- serialize: { replacer: jEe },
+ serialize: { replacer: NEe },
name: `recharts-${t}`
}
});
@@ -63542,8 +63574,8 @@ var O5 = {
function A5(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = IU(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= BEe(t, r);
- var o = Jz;
+ a.current ??= HEe(t, r);
+ var o = Kz;
return /*#__PURE__*/ I.createElement(VG, {
context: o,
store: a.current
@@ -63551,8 +63583,8 @@ function A5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function VEe(e) {
- var { layout: t, margin: n } = e, r = Yz(), i = IU();
+function UEe(e) {
+ var { layout: t, margin: n } = e, r = qz(), i = IU();
return (0, I.useEffect)(() => {
i || (r(FH(t)), r(PH(n)));
}, [
@@ -63562,31 +63594,31 @@ function VEe(e) {
n
]), null;
}
-var j5 = /*#__PURE__*/ (0, I.memo)(VEe, WG);
+var j5 = /*#__PURE__*/ (0, I.memo)(UEe, WG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function M5(e) {
- var t = Yz();
+ var t = qz();
return (0, I.useEffect)(() => {
- t(NEe(e));
+ t(FEe(e));
}, [t, e]), null;
}
var N5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz();
+ var t = qz();
return (0, I.useEffect)(() => {
- t(LEe(e));
+ t(zEe(e));
}, [t, e]), null;
}, WG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function P5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = Yz();
- return (0, I.useLayoutEffect)(() => (r.current && i(eve({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = qz();
+ return (0, I.useLayoutEffect)(() => (r.current && i(nve({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(tve({
+ i(rve({
zIndex: t,
isPanorama: n
}));
@@ -63601,7 +63633,7 @@ function P5(e) {
});
}
function F5(e) {
- var { children: t, isPanorama: n } = e, r = Q(G_e);
+ var { children: t, isPanorama: n } = e, r = Q(q_e);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ I.createElement(I.Fragment, null, i.map((e) => /*#__PURE__*/ I.createElement(P5, {
@@ -63616,17 +63648,17 @@ function F5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var HEe = ["children"];
-function UEe(e, t) {
+var WEe = ["children"];
+function GEe(e, t) {
if (e == null) return {};
- var n, r, i = WEe(e, t);
+ var n, r, i = KEe(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 WEe(e, t) {
+function KEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63644,42 +63676,42 @@ function I5() {
return e;
}, I5.apply(null, arguments);
}
-var GEe = {
+var qEe = {
width: "100%",
height: "100%",
display: "block"
-}, KEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}, JEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = pW(), r = mW(), i = FK();
if (!VH(n) || !VH(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, 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__*/ I.createElement(XL, I5({}, 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__*/ I.createElement(JL, I5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: GEe,
+ style: qEe,
ref: t
}), a);
-}), qEe = (e) => {
+}), YEe = (e) => {
var { children: t } = e, n = Q(RU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(XL, {
+ return /*#__PURE__*/ I.createElement(JL, {
width: r,
height: i,
x: o,
y: a
}, t);
}, L5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = UEe(e, HEe);
- return IU() ? /*#__PURE__*/ I.createElement(qEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(KEe, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = GEe(e, WEe);
+ return IU() ? /*#__PURE__*/ I.createElement(YEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(JEe, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function JEe() {
- var e = Yz(), [t, n] = (0, I.useState)(null), r = Q(_U);
+function XEe() {
+ var e = qz(), [t, n] = (0, I.useState)(null), r = Q(_U);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
@@ -63703,30 +63735,30 @@ function R5(e, t) {
}
return n;
}
-function YEe(e) {
+function ZEe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R5(Object(n), !0).forEach(function(t) {
- XEe(e, t, n[t]);
+ QEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XEe(e, t, n) {
- return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
+function QEe(e, t, n) {
+ return (t = $Ee(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZEe(e) {
- var t = QEe(e, "string");
+function $Ee(e) {
+ var t = eDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QEe(e, t) {
+function eDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63745,7 +63777,7 @@ function z5() {
return e;
}, z5.apply(null, arguments);
}
-var $Ee = () => (Tve(), null);
+var tDe = () => (Dve(), null);
function B5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -63754,7 +63786,7 @@ function B5(e) {
}
return 0;
}
-var eDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var nDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: B5(e.style?.width),
containerHeight: B5(e.style?.height)
@@ -63786,7 +63818,7 @@ var eDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: o }, e)));
-}), tDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), rDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: B5(n),
containerHeight: B5(r)
@@ -63808,15 +63840,15 @@ var eDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: s }, e)));
-}), nDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), iDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
-}), rDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(tDe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(nDe, z5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(rDe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(iDe, z5({}, e, {
width: n,
height: r,
ref: t
@@ -63825,11 +63857,11 @@ var eDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
});
-function iDe(e) {
- return e ? eDe : rDe;
+function oDe(e) {
+ return e ? nDe : aDe;
}
-var aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = Yz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = JEe(), D = oW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var sDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = qz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = XEe(), D = oW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -63901,12 +63933,12 @@ var aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = iDe(v);
- return /*#__PURE__*/ I.createElement(o2.Provider, { value: S }, /*#__PURE__*/ I.createElement($L.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
+ }, [x, p]), ce = oDe(v);
+ return /*#__PURE__*/ I.createElement(o2.Provider, { value: S }, /*#__PURE__*/ I.createElement(ZL.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Wm("recharts-wrapper", r),
- style: YEe({
+ style: ZEe({
position: "relative",
cursor: "default",
width: O,
@@ -63927,8 +63959,8 @@ var aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onTouchMove: oe,
onTouchStart: ae,
ref: A
- }, /*#__PURE__*/ I.createElement($Ee, null), n)));
-}), oDe = [
+ }, /*#__PURE__*/ I.createElement(tDe, null), n)));
+}), cDe = [
"width",
"height",
"responsive",
@@ -63939,16 +63971,16 @@ var aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function sDe(e, t) {
+function lDe(e, t) {
if (e == null) return {};
- var n, r, i = cDe(e, t);
+ var n, r, i = uDe(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 cDe(e, t) {
+function uDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63958,7 +63990,7 @@ function cDe(e, t) {
return n;
}
var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = KL(sDe(e, oDe));
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = WL(lDe(e, cDe));
return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: n,
height: r
@@ -63966,7 +63998,7 @@ var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(aDe, {
+ }, a)) : /*#__PURE__*/ I.createElement(sDe, {
className: o,
style: s,
width: n,
@@ -63988,7 +64020,7 @@ var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(mCe, null, a)));
+ }, /*#__PURE__*/ I.createElement(gCe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -64011,30 +64043,30 @@ function U5(e, t) {
}
return n;
}
-function lDe(e) {
+function dDe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? U5(Object(n), !0).forEach(function(t) {
- uDe(e, t, n[t]);
+ fDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uDe(e, t, n) {
- return (t = dDe(t)) in e ? Object.defineProperty(e, t, {
+function fDe(e, t, n) {
+ return (t = pDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dDe(e) {
- var t = fDe(e, "string");
+function pDe(e) {
+ var t = mDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fDe(e, t) {
+function mDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64044,7 +64076,7 @@ function fDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var pDe = lDe({
+var hDe = dDe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -64060,7 +64092,7 @@ var pDe = lDe({
stackOffset: "none",
syncMethod: "index"
}, O5), W5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = Sz(e.categoricalChartProps, pDe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = bz(e.categoricalChartProps, hDe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -64089,32 +64121,32 @@ var pDe = lDe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(V5, H5({}, n, { ref: t })));
-}), mDe = ["axis"], hDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), gDe = ["axis"], _De = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: mDe,
+ validateTooltipEventTypes: gDe,
tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
-})), gDe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+})), vDe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gDe,
+ validateTooltipEventTypes: vDe,
tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function _De(e) {
- var t = Yz();
+function yDe(e) {
+ var t = qz();
return (0, I.useEffect)(() => {
- t(PEe(e));
+ t(IEe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var vDe = ["layout"];
+var bDe = ["layout"];
function K5() {
return K5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64124,16 +64156,16 @@ function K5() {
return e;
}, K5.apply(null, arguments);
}
-function yDe(e, t) {
+function xDe(e, t) {
if (e == null) return {};
- var n, r, i = bDe(e, t);
+ var n, r, i = SDe(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 bDe(e, t) {
+function SDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64152,30 +64184,30 @@ function q5(e, t) {
}
return n;
}
-function xDe(e) {
+function CDe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q5(Object(n), !0).forEach(function(t) {
- SDe(e, t, n[t]);
+ wDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SDe(e, t, n) {
- return (t = CDe(t)) in e ? Object.defineProperty(e, t, {
+function wDe(e, t, n) {
+ return (t = TDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CDe(e) {
- var t = wDe(e, "string");
+function TDe(e) {
+ var t = EDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wDe(e, t) {
+function EDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64185,7 +64217,7 @@ function wDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var J5 = xDe({
+var J5 = CDe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -64205,7 +64237,7 @@ var J5 = xDe({
innerRadius: 0,
outerRadius: "80%"
}, O5), Y5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = Sz(e.categoricalChartProps, J5), { layout: r } = n, i = yDe(n, vDe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = bz(e.categoricalChartProps, J5), { layout: r } = n, i = xDe(n, bDe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -64233,7 +64265,7 @@ var J5 = xDe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(_De, {
+ }), /*#__PURE__*/ I.createElement(yDe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -64258,26 +64290,26 @@ function Z5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X5(Object(n), !0).forEach(function(t) {
- TDe(e, t, n[t]);
+ DDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TDe(e, t, n) {
- return (t = EDe(t)) in e ? Object.defineProperty(e, t, {
+function DDe(e, t, n) {
+ return (t = ODe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EDe(e) {
- var t = DDe(e, "string");
+function ODe(e) {
+ var t = kDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DDe(e, t) {
+function kDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64287,24 +64319,24 @@ function DDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ODe = ["axis"], kDe = Z5(Z5({}, J5), {}, {
+var ADe = ["axis"], jDe = Z5(Z5({}, J5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), ADe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, kDe);
+}), MDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = bz(e, jDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: ODe,
+ validateTooltipEventTypes: ADe,
tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
-}), jDe = ["axis"], MDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), NDe = ["axis"], PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: jDe,
+ validateTooltipEventTypes: NDe,
tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
@@ -64325,26 +64357,26 @@ function $5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q5(Object(n), !0).forEach(function(t) {
- NDe(e, t, n[t]);
+ FDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NDe(e, t, n) {
- return (t = PDe(t)) in e ? Object.defineProperty(e, t, {
+function FDe(e, t, n) {
+ return (t = IDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PDe(e) {
- var t = FDe(e, "string");
+function IDe(e) {
+ var t = LDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FDe(e, t) {
+function LDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64354,16 +64386,16 @@ function FDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var IDe = ["axis", "item"], LDe = $5($5({}, J5), {}, {
+var RDe = ["axis", "item"], zDe = $5($5({}, J5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), RDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, LDe);
+}), BDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = bz(e, zDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: IDe,
+ validateTooltipEventTypes: RDe,
tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
@@ -64372,7 +64404,7 @@ var IDe = ["axis", "item"], LDe = $5($5({}, J5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e7(...e) {
- return Tw(Wm(e));
+ return Sw(Wm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -64380,7 +64412,7 @@ var t7 = {
light: "",
dark: ".dark"
}, n7 = Object.keys(t7);
-function zDe(e) {
+function VDe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !n7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${n7.join(", ")}). Received empty object or invalid keys.`);
}
var r7 = I.createContext(null);
@@ -64394,7 +64426,7 @@ function a7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = I.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return zDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return VDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
@@ -64425,7 +64457,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function BDe(e, t) {
+function HDe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -64440,7 +64472,7 @@ var s7 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : BDe(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : HDe(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(t7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, L.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -64454,15 +64486,15 @@ function l7(e) {
let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var VDe = (e = 10, t = 0, n = 70) => {
+var UDe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, HDe = {
+}, WDe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, UDe = {
+}, GDe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -64489,7 +64521,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", HDe[p], UDe[m], n),
+ className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", WDe[p], GDe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, L.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -64503,7 +64535,7 @@ function u7({ 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: WDe(n, o)
+ style: KDe(n, o)
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -64522,10 +64554,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function WDe(e, t) {
+function KDe(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 d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(Nve, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(Fve, {
animationDuration: e,
...t
});
@@ -64542,7 +64574,7 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(GDe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(qDe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -64551,8 +64583,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function GDe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = KDe(t, n), i = qDe(t, n);
+function qDe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = JDe(t, n), i = YDe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -64584,10 +64616,10 @@ function GDe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function KDe(e, t) {
+function JDe(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 qDe(e, t) {
+function YDe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -64607,7 +64639,7 @@ var p7 = cK, m7 = () => null, h7 = {
damping: 35,
mass: .8
};
-function JDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function XDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = I.useRef(null), [a, o] = I.useState(!1), s = (0, I.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, I.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -64653,7 +64685,7 @@ function JDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function YDe({ 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 ZDe({ 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 = I.useRef(null), S = I.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = I.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = I.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -64687,7 +64719,7 @@ function YDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = JDe({
+ }, [C, v]), { isDragging: A, bind: j } = XDe({
range: E,
totalPoints: C,
containerRef: x,
@@ -64743,7 +64775,7 @@ function YDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, L.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, L.jsx)(XDe, {
+ children: /* @__PURE__ */ (0, L.jsx)(QDe, {
data: e,
keys: S,
chartConfig: t,
@@ -64812,7 +64844,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function XDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function QDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = I.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: l7(t)
@@ -64872,7 +64904,7 @@ function XDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, L.jsx)(cW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(hDe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(_De, {
data: e,
margin: {
top: 4,
@@ -64928,7 +64960,7 @@ function XDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, L.jsx)(cW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(MDe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(PDe, {
data: e,
margin: {
top: 4,
@@ -64954,7 +64986,7 @@ function XDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function ZDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function $De({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -64978,7 +65010,7 @@ function ZDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var QDe = {
+var eOe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -65151,7 +65183,7 @@ var QDe = {
})
};
function _7({ variant: e }) {
- let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = QDe[e];
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = eOe[e];
return /* @__PURE__ */ (0, L.jsxs)(n2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
@@ -65182,7 +65214,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, $De = "loading", eOe = 2e3, tOe = "evil-stacked", nOe = .5, rOe = .05, iOe = [
+var v7 = 2, tOe = "loading", nOe = 2e3, rOe = "evil-stacked", iOe = .5, aOe = .05, oOe = [
0,
.7,
.5,
@@ -65194,7 +65226,7 @@ function b7() {
return e;
}
function x7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = v7, 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, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = COe(m, h), { visibleData: T, brushProps: E } = ZDe({ data: t }), D = (0, I.useMemo)(() => {
+ let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = TOe(m, h), { visibleData: T, brushProps: E } = $De({ data: t }), D = (0, I.useMemo)(() => {
let e = I.Children.toArray(n), t = e.find((e) => (0, I.isValidElement)(e) && e.type === m7), r = (0, I.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -65237,7 +65269,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, L.jsx)(YDe, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(ZDe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -65268,7 +65300,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, L.jsx)(_7, { variant: d }),
/* @__PURE__ */ (0, L.jsx)(k6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(wOe, {
+ m && /* @__PURE__ */ (0, L.jsx)(EOe, {
chartId: _,
onShimmerExit: w
})
@@ -65277,7 +65309,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function aOe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function sOe({ 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 } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = Df();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -65300,7 +65332,7 @@ function aOe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
dataKey: e,
- stackId: u ? tOe : void 0,
+ stackId: u ? rOe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -65317,44 +65349,44 @@ function aOe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(mOe, {
+ /* @__PURE__ */ (0, L.jsx)(gOe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(hOe, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(_Oe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(_Oe, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(yOe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(vOe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(bOe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(yOe, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(xOe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)(bOe, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(SOe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(gOe, {
+ s && /* @__PURE__ */ (0, L.jsx)(vOe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(xOe, {
+ o && /* @__PURE__ */ (0, L.jsx)(COe, {
id: b,
dataKey: e
})
] })] });
}
-function oOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function cOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = b7();
return o ? null : /* @__PURE__ */ (0, L.jsx)(G8, {
tickLine: e,
@@ -65365,7 +65397,7 @@ function oOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function sOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function lOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = b7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(X8, {
tickLine: e,
@@ -65377,7 +65409,7 @@ function sOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function cOe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function uOe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(K6, {
strokeDasharray: e,
@@ -65386,7 +65418,7 @@ function cOe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function lOe({ variant: e, roundness: t, defaultIndex: n }) {
+function dOe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -65398,7 +65430,7 @@ function lOe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function uOe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function fOe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = b7();
return /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -65412,7 +65444,7 @@ function uOe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var S7 = (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, C = s === "stripped", w = dOe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : fOe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = pOe({
+ 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, C = s === "stripped", w = pOe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : mOe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = hOe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -65457,7 +65489,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, dOe = (e, t, n, r, i) => {
+}, pOe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -65472,11 +65504,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * rOe * 1e3, l = nOe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * aOe * 1e3, l = iOe * 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: iOe,
+ ease: oOe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -65490,7 +65522,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, fOe = (e, t, n) => {
+}, mOe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -65499,10 +65531,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, pOe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, hOe = ({ 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;
-}, mOe = ({ id: e, dataKey: t, config: n }) => {
+}, gOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -65524,7 +65556,7 @@ var S7 = (e) => {
}, i);
})
});
-}, hOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, _Oe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -65565,7 +65597,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), gOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), vOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -65606,7 +65638,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), _Oe = ({ id: e, dataKey: t, config: n }) => {
+] }), yOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -65674,7 +65706,7 @@ var S7 = (e) => {
})
})
] });
-}, vOe = ({ id: e, dataKey: t, config: n }) => {
+}, bOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -65742,7 +65774,7 @@ var S7 = (e) => {
})
})
] });
-}, yOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, xOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -65779,7 +65811,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), bOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), SOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -65816,7 +65848,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), xOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), COe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -65836,35 +65868,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), SOe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), wOe = (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 COe(e, t = 12) {
+function TOe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => VDe(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => UDe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var wOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
- dataKey: $De,
+var EOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
+ dataKey: tOe,
fill: "currentColor",
fillOpacity: .15,
radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(TOe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(DOe, {
chartId: e,
onShimmerExit: t
-}) })] }), TOe = ({ chartId: e, onShimmerExit: t }) => {
- let n = SOe(), r = (0, I.useRef)(-1);
+}) })] }), DOe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = wOe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -65895,7 +65927,7 @@ var wOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: eOe / 1e3,
+ duration: nOe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -65917,10 +65949,10 @@ var wOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = aOe, x7.XAxis = oOe, x7.YAxis = sOe, x7.Grid = cOe, x7.Tooltip = lOe, x7.Legend = uOe, x7.Brush = m7;
+x7.Bar = sOe, x7.XAxis = cOe, x7.YAxis = lOe, x7.Grid = uOe, x7.Tooltip = dOe, x7.Legend = fOe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${Vw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${Rw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function w7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -65947,7 +65979,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function EOe(e) {
+function OOe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -65972,7 +66004,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function DOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function kOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = i7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -65997,7 +66029,7 @@ function DOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
- content: /* @__PURE__ */ (0, L.jsx)(DOe, {
+ content: /* @__PURE__ */ (0, L.jsx)(kOe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -66074,7 +66106,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function OOe(e) {
+function AOe(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;
@@ -66091,7 +66123,7 @@ function OOe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function kOe(e) {
+function jOe(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,
@@ -66130,19 +66162,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, AOe = {
+}, MOe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function jOe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function NOe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${AOe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${MOe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -66200,7 +66232,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(jOe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(NOe, {
cell: g,
series: t.series,
tone: c,
@@ -66216,7 +66248,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var MOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var POe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
x: 0,
y: 18 + t * R7 + 7,
dominantBaseline: "middle",
@@ -66230,7 +66262,7 @@ var MOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) =>
children: t
}, t))] });
function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = OOe(e), s = kOe(e);
+ let o = AOe(e), s = jOe(e);
return s.cells.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, L.jsx)(B7, {
@@ -66241,7 +66273,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: MOe,
+ axis: POe,
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, L.jsx)(B7, {
title: n,
@@ -66307,20 +66339,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(hS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(fS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var NOe = "30%", POe = "100%", U7 = 5, W7 = 14, FOe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var FOe = "30%", IOe = "100%", U7 = 5, W7 = 14, LOe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
function q7() {
let e = (0, I.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = NOe, outerRadius: l = POe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = HOe(f), v = zOe(o), y = (0, I.useCallback)((e, t) => {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = FOe, outerRadius: l = IOe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = WOe(f), v = VOe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -66352,7 +66384,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(RDe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(BDe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -66371,8 +66403,8 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, L.jsx)(_7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, L.jsx)(UOe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(BOe, {
+ f && /* @__PURE__ */ (0, L.jsx)(GOe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(HOe, {
config: e,
chartId: m
}) })
@@ -66381,7 +66413,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function IOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function ROe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: e,
@@ -66406,7 +66438,7 @@ function IOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function LOe({ variant: e, roundness: t, defaultIndex: n }) {
+function zOe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -66419,7 +66451,7 @@ function LOe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function ROe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function BOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
return a ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -66433,7 +66465,7 @@ function ROe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function zOe(e) {
+function VOe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -66449,7 +66481,7 @@ function zOe(e) {
};
}
}
-var BOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var HOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = l7(n);
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -66472,13 +66504,13 @@ var BOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function VOe() {
- return Array.from({ length: FOe }, (e, t) => ({
+function UOe() {
+ return Array.from({ length: LOe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function HOe(e) {
+function WOe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -66486,9 +66518,9 @@ function HOe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => VOe(), [t]);
+ }, [e]), (0, I.useMemo)(() => UOe(), [t]);
}
-var UOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
+var GOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -66502,17 +66534,17 @@ var UOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
fillOpacity: .25
})
});
-J7.RadialBar = IOe, J7.Tooltip = LOe, J7.Legend = ROe;
+J7.RadialBar = ROe, J7.Tooltip = zOe, J7.Legend = BOe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var WOe = [
+var KOe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], GOe = [
+], qOe = [
"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",
@@ -66553,13 +66585,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: EOe(s.map((e) => e.name)),
- max: kue(s.map((e) => e.value)),
+ config: OOe(s.map((e) => e.name)),
+ max: Nue(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, L.jsx)(J7.RadialBar, {
dataKey: "value",
- barSize: Aue(s.length),
+ barSize: Pue(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, L.jsx)(YJ, {
...e,
@@ -66585,13 +66617,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-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 ${GOe[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 ${qOe[t % 6]}`,
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${WOe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${KOe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -66610,7 +66642,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var KOe = 10, X7 = T7[5], qOe = T7[4], JOe = `${Vw()} flex flex-col gap-4`, YOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", XOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", ZOe = "开始播放后,这里会显示最近的真实观看证据。", QOe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", $Oe = "添加媒体文件夹后,这里会显示存储空间。";
+var JOe = 10, X7 = T7[5], YOe = T7[4], XOe = `${Rw()} flex flex-col gap-4`, ZOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", QOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", $Oe = "开始播放后,这里会显示最近的真实观看证据。", eke = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", tke = "添加媒体文件夹后,这里会显示存储空间。";
function Z7({ term: e, value: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -66632,10 +66664,10 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [zL(t, n), "%"]
+ children: [LL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(Jw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Gw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -66663,14 +66695,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${JOe} md:flex-row md:gap-6`,
+ className: `${XOe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function eke({ data: t, configurable: n, openMediaSettings: r }) {
+function nke({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -66698,14 +66730,14 @@ function eke({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: Pue(t.by_length)
+ rows: Rue(t.by_length)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
- rows: HL(t.by_quality)
+ rows: BL(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -66713,28 +66745,28 @@ function eke({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: X7,
layout: "horizontal",
- rows: Mue(t.by_medium)
+ rows: Iue(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: US,
+ icon: BS,
title: "还没有视频",
actions: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: r,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, L.jsx)(Aw, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: YOe
+ children: ZOe
});
}
-function tke({ data: e }) {
+function rke({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -66749,11 +66781,11 @@ function tke({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: qOe,
- rows: Iue(e.replays)
+ color: YOe,
+ rows: Bue(e.replays)
})] });
}
-function nke({ attribution: e }) {
+function ike({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -66786,7 +66818,7 @@ function nke({ attribution: e }) {
]
});
}
-function rke({ volume: e }) {
+function ake({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -66803,11 +66835,11 @@ function rke({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [a(n), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [zL(n, t), "%"]
+ children: [LL(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(Jw, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(Gw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -66825,25 +66857,25 @@ function rke({ volume: e }) {
]
});
}
-function ike({ volumes: e, configurable: t, openMediaSettings: n }) {
+function oke({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(rke, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(ake, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: ES,
+ icon: CS,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: $Oe
+ children: tke
});
}
-function ake({ tags: e, tagLabel: t, onTag: n }) {
+function ske({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: KOe,
+ previewCount: JOe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, L.jsx)("li", {
className: "min-w-0",
@@ -66867,24 +66899,24 @@ function ake({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: PS,
+ icon: jS,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: XOe
+ children: QOe
});
}
-function oke({ rows: e }) {
+function cke({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = BL(e);
+ let t = RL(e);
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -66892,41 +66924,41 @@ function oke({ rows: e }) {
children: [/* @__PURE__ */ (0, L.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, L.jsx)("a", {
- href: Oue(e),
+ href: Mue(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, L.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: Due(e) })]
+ children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: jue(e) })]
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${VL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${zL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: DS,
+ icon: wS,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: ZOe
+ children: $Oe
});
}
-function ske({ sources: e, videos: t }) {
+function lke({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)("article", {
@@ -66945,7 +66977,7 @@ function ske({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Jw, {
+ /* @__PURE__ */ (0, L.jsx)(Gw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -66956,21 +66988,21 @@ function ske({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: PS,
+ icon: jS,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Dw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: QOe
+ children: eke
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, L.jsx)(hO, {
+ return /* @__PURE__ */ (0, L.jsx)(fO, {
id: e,
className: AA({
interactive: !0,
@@ -66985,33 +67017,33 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function cke(e) {
+function uke(e) {
let t = kt({
- queryKey: LL,
- queryFn: ({ signal: e }) => RL(e)
+ queryKey: FL,
+ queryFn: ({ signal: e }) => IL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取统计失败"
}) });
- let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = zL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
+ let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = LL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
}),
- /* @__PURE__ */ (0, L.jsxs)(pO, {
+ /* @__PURE__ */ (0, L.jsxs)(uO, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsxs)(mO, {
+ /* @__PURE__ */ (0, L.jsxs)(dO, {
"aria-label": "统计视图",
className: jA,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: SS,
+ icon: yS,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -67019,15 +67051,15 @@ function cke(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: TS,
+ icon: SS,
accent: 1,
figure: r.played.toLocaleString(),
- detail: Eue(r.play_seconds)
+ detail: Aue(r.play_seconds)
}),
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: PS,
+ icon: jS,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -67035,21 +67067,21 @@ function cke(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: ES,
+ icon: CS,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(eke, {
+ children: /* @__PURE__ */ (0, L.jsx)(nke, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, L.jsxs)(gO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsx)(e9, {
@@ -67095,9 +67127,9 @@ function cke(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(tke, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(rke, { data: n })]
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "coverage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -67105,10 +67137,10 @@ function cke(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(nke, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(ike, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "storage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -67116,7 +67148,7 @@ function cke(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(ike, {
+ children: /* @__PURE__ */ (0, L.jsx)(oke, {
volumes: n.storage_volumes,
...e
})
@@ -67124,50 +67156,50 @@ function cke(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(pO, {
- className: `${Vw({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, L.jsxs)(uO, {
+ className: `${Rw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsxs)(mO, {
+ children: /* @__PURE__ */ (0, L.jsxs)(dO, {
"aria-label": "统计维度",
- className: SM,
+ className: CM,
children: [
- /* @__PURE__ */ (0, L.jsx)(hO, {
+ /* @__PURE__ */ (0, L.jsx)(fO, {
id: "tags",
- className: CM,
+ className: wM,
children: "内容标签"
}),
- /* @__PURE__ */ (0, L.jsx)(hO, {
+ /* @__PURE__ */ (0, L.jsx)(fO, {
id: "recent",
- className: CM,
+ className: wM,
children: "最近看过"
}),
- /* @__PURE__ */ (0, L.jsx)(hO, {
+ /* @__PURE__ */ (0, L.jsx)(fO, {
id: "sources",
- className: CM,
+ className: wM,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(ake, {
+ children: /* @__PURE__ */ (0, L.jsx)(ske, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(oke, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(cke, { rows: n.recent })
}),
- /* @__PURE__ */ (0, L.jsx)(gO, {
+ /* @__PURE__ */ (0, L.jsx)(pO, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(ske, {
+ children: /* @__PURE__ */ (0, L.jsx)(lke, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -67178,7 +67210,7 @@ function cke(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function lke(e, t) {
+function dke(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -67202,13 +67234,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function uke(e) {
+function fke(e) {
return e.index;
}
-function dke(e) {
+function pke(e) {
return e.nodes;
}
-function fke(e) {
+function mke(e) {
return e.links;
}
function s9(e, t) {
@@ -67223,8 +67255,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function pke() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uke, c = lke, l, u, d = dke, f = fke, p = 6;
+function hke() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = fke, c = dke, l, u, d = pke, f = mke, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -67410,7 +67442,7 @@ function pke() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, mke = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, gke = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -67451,7 +67483,7 @@ f9.prototype = p9.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) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > mke ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + 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) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > gke ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + 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";
@@ -67469,27 +67501,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function hke(e) {
+function _ke(e) {
return e[0];
}
-function gke(e) {
+function vke(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var _ke = Array.prototype.slice;
+var yke = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function vke(e) {
+function bke(e) {
return e.source;
}
-function yke(e) {
+function xke(e) {
return e.target;
}
-function bke(e) {
- var t = vke, n = yke, r = hke, i = gke, a = null;
+function Ske(e) {
+ var t = bke, n = xke, r = _ke, i = vke, a = null;
function o() {
- var o, s = _ke.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = yke.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = p9(), 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) {
@@ -67504,48 +67536,48 @@ function bke(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function xke(e, t, n, r, i) {
+function Cke(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function Ske() {
- return bke(xke);
+function wke() {
+ return Ske(Cke);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function Cke(e) {
+function Tke(e) {
return [e.source.x1, e.y0];
}
-function wke(e) {
+function Eke(e) {
return [e.target.x0, e.y1];
}
-function Tke() {
- return Ske().source(Cke).target(wke);
+function Dke() {
+ return wke().source(Tke).target(Eke);
}
//#endregion
//#region src/react/taste/taste.ts
-var Eke = "/api/taste", h9 = "/api/taste/refresh", Dke = "/api/taste/import", Oke = "/api/taste/source", g9 = (e) => ["taste", e], kke = ["taste", "refresh"], Ake = [
+var Oke = "/api/taste", h9 = "/api/taste/refresh", kke = "/api/taste/import", Ake = "/api/taste/source", g9 = (e) => ["taste", e], jke = ["taste", "refresh"], Mke = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => Nw(`${Eke}?window=${e}`, t), jke = (e) => Nw(h9, e);
-async function Mke(e, t) {
+], _9 = (e, t) => Aw(`${Oke}?window=${e}`, t), Nke = (e) => Aw(h9, e);
+async function Pke(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var Nke = (e) => q(h9, {
+var Fke = (e) => q(h9, {
window: e,
background: !0
-}), Pke = (e, t) => q(Oke, {
+}), Ike = (e, t) => q(Ake, {
operation: "remove",
source_key: e,
window: t
});
-async function Fke(e) {
- let t = await fetch(Dke, {
+async function Lke(e) {
+ let t = await fetch(kke, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -67559,25 +67591,25 @@ async function Fke(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new jw(e || `导入失败(${t.status})`, t.status, n);
+ throw new Ow(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var Ike = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Lke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Rke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function zke(e) {
+var Rke = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", zke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Bke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function Vke(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function Bke(e) {
- let t = e.map(Rke), n = Math.max(1, ...t);
+function Hke(e) {
+ let t = e.map(Bke), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var y9 = (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 Vke(e) {
+function Uke(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -67588,10 +67620,10 @@ var b9 = {
source: 145,
target: 545
};
-function Hke(e = []) {
+function Wke(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = pke().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = hke().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -67606,7 +67638,7 @@ function Hke(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = Tke();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = Dke();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -67636,7 +67668,7 @@ function Hke(e = []) {
total: a
};
}
-var Uke = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var Gke = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = I.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -67759,14 +67791,14 @@ var T9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
T9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Wke = 1, Gke = .3, Kke = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var Kke = 1, qke = .3, Jke = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
function k9() {
let e = (0, I.use)(O9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function A9({ 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, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = aAe(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = sAe(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -67784,32 +67816,32 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(ADe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(MDe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(oAe, {})
+ c && /* @__PURE__ */ (0, L.jsx)(cAe, {})
]
})]
})
});
}
-function qke({ dataKey: e, variant: t = "filled", fillOpacity: n = Gke, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function Yke({ dataKey: e, variant: t = "filled", fillOpacity: n = qke, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, I.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 } = $ke(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = tAe(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Wke,
+ strokeWidth: Kke,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -67822,29 +67854,29 @@ function qke({ dataKey: e, variant: t = "filled", fillOpacity: n = Gke, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(eAe, {
+ /* @__PURE__ */ (0, L.jsx)(nAe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(tAe, {
+ /* @__PURE__ */ (0, L.jsx)(rAe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(nAe, {
+ m && /* @__PURE__ */ (0, L.jsx)(iAe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(rAe, {
+ r && /* @__PURE__ */ (0, L.jsx)(aAe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function Jke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function Xke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, L.jsx)(L4, {
gridType: e,
stroke: t,
@@ -67853,7 +67885,7 @@ function Jke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function Yke({ tick: e = {
+function Zke({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -67864,7 +67896,7 @@ function Yke({ tick: e = {
...n
});
}
-function Xke({ tick: e = {
+function Qke({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -67876,7 +67908,7 @@ function Xke({ tick: e = {
...r
});
}
-function Zke({ variant: e, roundness: t, defaultIndex: n }) {
+function $ke({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -67888,7 +67920,7 @@ function Zke({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Qke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function eAe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
return i ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -67901,7 +67933,7 @@ function Qke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var $ke = (e, t, n, r) => {
+var tAe = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -67943,7 +67975,7 @@ var $ke = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), eAe = ({ id: e, dataKey: t, config: n }) => {
+}) }), nAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -67956,7 +67988,7 @@ var $ke = (e, t, n, r) => {
colorsCount: r
})
});
-}, tAe = ({ id: e, dataKey: t, config: n }) => {
+}, rAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -67969,7 +68001,7 @@ var $ke = (e, t, n, r) => {
colorsCount: r
})
});
-}, nAe = ({ id: e, dataKey: t, config: n }) => {
+}, iAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, L.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -67982,7 +68014,7 @@ var $ke = (e, t, n, r) => {
opacities: i
})
});
-}, rAe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, aAe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -68002,7 +68034,7 @@ var $ke = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), iAe = (e) => [
+}), oAe = (e) => [
"A",
"B",
"C",
@@ -68013,7 +68045,7 @@ var $ke = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function aAe(e, t = Kke) {
+function sAe(e, t = Jke) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -68021,9 +68053,9 @@ function aAe(e, t = Kke) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => iAe(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => oAe(t), [t, n]);
}
-var oAe = () => /* @__PURE__ */ (0, L.jsx)(W3, {
+var cAe = () => /* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -68035,17 +68067,17 @@ var oAe = () => /* @__PURE__ */ (0, L.jsx)(W3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = qke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = Jke, A9.PolarAngleAxis = Yke, A9.PolarRadiusAxis = Xke, A9.Tooltip = Zke, A9.Legend = Qke;
+A9.Radar = Yke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = Xke, A9.PolarAngleAxis = Zke, A9.PolarRadiusAxis = Qke, A9.Tooltip = $ke, A9.Legend = eAe;
//#endregion
//#region src/react/taste/charts.tsx
-var sAe = [
+var lAe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], cAe = [
+], uAe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -68055,7 +68087,7 @@ var sAe = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, lAe = [
+} }, dAe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -68065,20 +68097,20 @@ var sAe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], uAe = 26, dAe = { radius: P9.value }, fAe = (e, t) => Math.sqrt(e / t);
-function pAe({ rows: e, label: t }) {
- let n = Vke(e);
+], fAe = 26, pAe = { radius: P9.value }, mAe = (e, t) => Math.sqrt(e / t);
+function hAe({ rows: e, label: t }) {
+ let n = Uke(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: fAe(e.value, r)
+ radius: mAe(e.value, r)
}));
return /* @__PURE__ */ (0, L.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, L.jsxs)(A9, {
data: i,
- config: dAe,
+ config: pAe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -68095,17 +68127,17 @@ function pAe({ rows: e, label: t }) {
})
});
}
-function mAe({ rows: e, label: t }) {
+function gAe({ rows: e, label: t }) {
let n = y9(e, 8);
return n.length ? /* @__PURE__ */ (0, L.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${lAe[n.length]}`,
+ className: `flex grow flex-col ${dAe[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: uAe },
+ chartProps: { maxBarSize: fAe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -68129,8 +68161,8 @@ function mAe({ rows: e, label: t }) {
})
}) : null;
}
-function hAe({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = Hke(e);
+function _Ae({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = Wke(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, L.jsxs)("section", {
@@ -68158,7 +68190,7 @@ function hAe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${sAe[e.color]}`,
+ className: `outline-none transition-opacity ${lAe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -68192,14 +68224,14 @@ function hAe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? cAe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? uAe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, L.jsxs)("text", {
x: x9[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: [Uke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [Gke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -68217,7 +68249,7 @@ function hAe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var gAe = 10, F9 = Tw(RA, zA, "text-body-2-medium"), I9 = `${Vw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", _Ae = "读取运行 Peach 的这台电脑上的浏览记录", vAe = "导入或读取浏览记录后,这里会列出已采集设备。", yAe = "馆藏里暂时没有对得上浏览信号的标签。", bAe = "采集浏览记录后,这里会显示聚合后的口味证据。", xAe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", SAe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", CAe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", wAe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", TAe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var vAe = 10, F9 = Sw(RA, zA, "text-body-2-medium"), I9 = `${Rw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", yAe = "读取运行 Peach 的这台电脑上的浏览记录", bAe = "导入或读取浏览记录后,这里会列出已采集设备。", xAe = "馆藏里暂时没有对得上浏览信号的标签。", SAe = "采集浏览记录后,这里会显示聚合后的口味证据。", CAe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", wAe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", TAe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", EAe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", DAe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: AA(),
@@ -68244,22 +68276,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function EAe({ html: e }) {
+function OAe({ html: e }) {
return /* @__PURE__ */ (0, L.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 ${pL}`,
+ 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 ${NF}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function DAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(Uw, {
+function kAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: LS,
+ icon: PS,
title: "暂无足够证据",
children: r
});
- let o = Bke(e);
+ let o = Hke(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: gAe,
+ previewCount: vAe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
@@ -68286,7 +68318,7 @@ function DAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(EAe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(OAe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -68298,10 +68330,10 @@ function DAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: zke(e)
+ children: Vke(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(_S, {
+ s ? /* @__PURE__ */ (0, L.jsx)(mS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -68322,23 +68354,23 @@ function DAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(pO, {
- className: `${Vw({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, L.jsxs)(uO, {
+ className: `${Rw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsx)(mO, {
+ children: /* @__PURE__ */ (0, L.jsx)(dO, {
"aria-label": e,
- className: SM,
- children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(hO, {
+ className: CM,
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(fO, {
id: e.id,
- className: CM,
+ className: wM,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(gO, {
+ }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(pO, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(DAe, {
+ children: /* @__PURE__ */ (0, L.jsx)(kAe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -68346,7 +68378,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function OAe({ data: e, onSignal: t, navigate: n }) {
+function AAe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -68412,21 +68444,21 @@ function OAe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(_S, {
+ }), /* @__PURE__ */ (0, L.jsx)(mS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: LS,
+ icon: PS,
title: "还没有可探索的入口",
- children: yAe
+ children: xAe
})
]
});
}
-function kAe({ onboarding: e, done: t }) {
+function jAe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -68435,7 +68467,7 @@ function kAe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: Vw({
+ className: Rw({
padding: "none",
className: "p-4"
}),
@@ -68445,11 +68477,11 @@ function kAe({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: SAe
+ children: wAe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: CAe
+ children: TAe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -68479,7 +68511,7 @@ function kAe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: wAe
+ children: EAe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -68499,7 +68531,7 @@ function kAe({ onboarding: e, done: t }) {
})
});
}
-function AAe({ busy: e, onRefresh: t, onImport: n }) {
+function MAe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -68508,35 +68540,35 @@ function AAe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: xS,
- title: _Ae,
+ leadingIcon: vS,
+ title: yAe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: hS,
+ leadingIcon: fS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, L.jsx)(bD, {
+ }), /* @__PURE__ */ (0, L.jsx)(_D, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: LA,
- children: /* @__PURE__ */ (0, L.jsxs)(jD, {
+ children: /* @__PURE__ */ (0, L.jsxs)(OD, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
className: F9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(xS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(vS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -68544,7 +68576,7 @@ function AAe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(VS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(RS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -68552,9 +68584,9 @@ function AAe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function jAe({ sources: e, window: t, toast: n }) {
+function NAe({ sources: e, window: t, toast: n }) {
let r = At({
- mutationFn: (e) => Pke(e, t),
+ mutationFn: (e) => Ike(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -68578,10 +68610,10 @@ function jAe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(VS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(RS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(SS, {
+ }) : /* @__PURE__ */ (0, L.jsx)(yS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -68601,12 +68633,12 @@ function jAe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: CS,
+ leadingIcon: bS,
...Y(r.isPending),
onClick: () => {
r.isPending || h({
title: "移除口味数据源",
- body: TAe,
+ body: DAe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -68614,30 +68646,30 @@ function jAe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: SS,
+ icon: yS,
title: "还没有数据源",
- children: vAe
+ children: bAe
})
]
});
}
-function MAe(e) {
+function PAe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = kt({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: Oe
}), { job: p, running: m, outcome: h, start: g } = Dj({
- queryKey: kke,
- queryFn: ({ signal: e }) => jke(e),
- start: () => Nke(s),
- idlePollMs: Ike,
+ queryKey: jke,
+ queryFn: ({ signal: e }) => Nke(e),
+ start: () => Fke(s),
+ idlePollMs: Rke,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = At({
- mutationFn: (e) => Fke(e),
+ mutationFn: (e) => Lke(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -68647,30 +68679,30 @@ function MAe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(Hw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: f.error ? K(f.error) : "读取口味分析失败"
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
- /* @__PURE__ */ (0, L.jsxs)(pO, {
+ return /* @__PURE__ */ (0, L.jsxs)(Hw, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(uO, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(mO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(dO, {
"aria-label": "口味证据来源",
- className: SM,
- children: [/* @__PURE__ */ (0, L.jsx)(hO, {
+ className: CM,
+ children: [/* @__PURE__ */ (0, L.jsx)(fO, {
id: "browser",
- className: CM,
+ className: wM,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, L.jsx)(hO, {
+ }), /* @__PURE__ */ (0, L.jsx)(fO, {
id: "peach",
- className: CM,
+ className: wM,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -68682,12 +68714,12 @@ function MAe(e) {
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: Ake.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
+ children: Mke.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(AAe, {
+ /* @__PURE__ */ (0, L.jsx)(MAe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -68703,7 +68735,7 @@ function MAe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(kAe, {
+ /* @__PURE__ */ (0, L.jsx)(jAe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -68713,7 +68745,7 @@ function MAe(e) {
children: [
m ? p?.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
@@ -68721,15 +68753,15 @@ function MAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Vw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(Vw, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(gO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
id: "browser",
className: "flex flex-col gap-5",
children: [
@@ -68738,27 +68770,27 @@ function MAe(e) {
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: DS,
+ icon: wS,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
detail: `${x.history_sources || 0} 个数据源 · ${v9(x.range_start)}—${v9(x.range_end)}`
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: PS,
+ icon: jS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: LS,
+ icon: PS,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: SS,
+ icon: yS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -68775,7 +68807,7 @@ function MAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)(pAe, {
+ /* @__PURE__ */ (0, L.jsx)(hAe, {
rows: T,
label: "主要口味维度"
}),
@@ -68786,14 +68818,14 @@ function MAe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(mAe, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(gAe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Bw, {
shell: "plain",
- icon: LS,
+ icon: PS,
title: "暂无口味维度",
- children: bAe
+ children: SAe
})
})]
}),
@@ -68809,7 +68841,7 @@ function MAe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(hAe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(_Ae, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -68852,14 +68884,14 @@ function MAe(e) {
rows: E,
kind: "",
visual: "none",
- empty: xAe
+ empty: CAe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(gO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
id: "peach",
className: "flex flex-col gap-5",
children: [
@@ -68868,26 +68900,26 @@ function MAe(e) {
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: TS,
+ icon: SS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: Lke(x.peach_seconds || 0)
+ detail: zke(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: BS,
+ icon: LS,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: zS,
+ icon: IS,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: PS,
+ icon: jS,
term: "有标签",
figure: D.toLocaleString()
})
@@ -68966,12 +68998,12 @@ function MAe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(OAe, {
+ /* @__PURE__ */ (0, L.jsx)(AAe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(jAe, {
+ /* @__PURE__ */ (0, L.jsx)(NAe, {
sources: b.sources || [],
window: s,
toast: r
@@ -68991,7 +69023,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(Jw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Gw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -69000,26 +69032,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function NAe(e) {
+function FAe(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 PAe = (e) => {
+var IAe = (e) => {
switch (e) {
- case "success": return LAe;
- case "info": return zAe;
- case "warning": return RAe;
- case "error": return BAe;
+ case "success": return zAe;
+ case "info": return VAe;
+ case "warning": return BAe;
+ case "error": return HAe;
default: return null;
}
-}, FAe = Array(12).fill(0), IAe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, LAe = Array(12).fill(0), RAe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, FAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, LAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), LAe = /*#__PURE__*/ I.createElement("svg", {
+})))), zAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -69030,7 +69062,7 @@ var PAe = (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"
-})), RAe = /*#__PURE__*/ I.createElement("svg", {
+})), BAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -69041,7 +69073,7 @@ var PAe = (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"
-})), zAe = /*#__PURE__*/ I.createElement("svg", {
+})), VAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -69052,7 +69084,7 @@ var PAe = (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"
-})), BAe = /*#__PURE__*/ I.createElement("svg", {
+})), HAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -69063,7 +69095,7 @@ var PAe = (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"
-})), VAe = /*#__PURE__*/ I.createElement("svg", {
+})), UAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -69084,7 +69116,7 @@ var PAe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), HAe = () => {
+})), WAe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -69092,7 +69124,7 @@ var PAe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, UAe = 1, WAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : UAe++, W9 = new class {
+}, GAe = 1, KAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : GAe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -69102,7 +69134,7 @@ var PAe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - WAe;
+ let e = this.toasts.length - KAe;
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 = U9(e), i = this.pendingDismissals.get(r);
@@ -69180,7 +69212,7 @@ var PAe = (e) => {
type: "default",
message: e
});
- else if (KAe(e) && !e.ok) {
+ else if (JAe(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" && !I.isValidElement(r) ? r : { message: r };
this.create({
@@ -69233,7 +69265,7 @@ var PAe = (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();
}
-}(), GAe = (e, t) => W9.message(e, t), KAe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(GAe, {
+}(), qAe = (e, t) => W9.message(e, t), JAe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(qAe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -69247,20 +69279,20 @@ var PAe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-NAe("[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%)}");
+FAe("[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 K9(e) {
return e.label !== void 0;
}
-var qAe = 3, JAe = "24px", YAe = "16px", q9 = 4e3, XAe = 356, ZAe = 14, QAe = 45, $Ae = 200;
+var YAe = 3, XAe = "24px", ZAe = "16px", q9 = 4e3, QAe = 356, $Ae = 14, eje = 45, tje = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function eje(e) {
+function nje(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var tje = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, F] = I.useState(!1), [ne, re] = I.useState(!1), [ie, L] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = HAe(), Ee = I.useMemo(() => e.swipeDirections ?? eje(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var rje = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, F] = I.useState(!1), [ne, re] = I.useState(!1), [ie, L] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = WAe(), Ee = I.useMemo(() => e.swipeDirections ?? nje(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
se.current = _e;
}, [_e]), I.useEffect(() => {
@@ -69301,7 +69333,7 @@ var tje = (e) => {
let ke = I.useCallback(() => {
N(!0), L(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, $Ae);
+ }, tje);
}, [
n,
d,
@@ -69334,12 +69366,12 @@ var tje = (e) => {
return w?.loading ? /*#__PURE__*/ I.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ I.createElement(IAe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(RAe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || PAe(z);
+ let je = n.icon || w?.[z] || IAe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: le,
@@ -69386,7 +69418,7 @@ var tje = (e) => {
if (P || !fe) return;
xe.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 = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= QAe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= eje || a > .11)) {
L(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), F(!0);
return;
}
@@ -69427,7 +69459,7 @@ var tje = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? VAe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? UAe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ I.createElement("div", {
@@ -69462,10 +69494,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function nje(e, t) {
+function ije(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? YAe : JAe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? ZAe : XAe;
function o(e) {
[
"top",
@@ -69486,8 +69518,8 @@ function nje(e, t) {
}) : o(a);
}), n;
}
-var rje = /*#__PURE__*/ I.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 = qAe, toastOptions: g, dir: _ = Y9(), gap: v = ZAe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), F = I.useRef(!1), ne = I.useCallback((e) => {
+var aje = /*#__PURE__*/ I.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 = YAe, toastOptions: g, dir: _ = Y9(), gap: v = $Ae, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), F = I.useRef(!1), ne = I.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return I.useEffect(() => W9.subscribe((e) => {
@@ -69573,10 +69605,10 @@ var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${XAe}px`,
+ "--width": `${QAe}px`,
"--gap": `${v}px`,
...m,
- ...nje(l, u)
+ ...ije(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -69594,7 +69626,7 @@ var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(tje, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(rje, {
key: n.id,
icons: y,
index: i,
@@ -69628,8 +69660,8 @@ var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, ije = (e, t) => {
- Z9 || (Z9 = !0, (0, mS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(rje, {
+}), Z9 = !1, oje = (e, t) => {
+ Z9 || (Z9 = !0, (0, dS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(aje, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -69650,7 +69682,7 @@ var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, aje = (e, t) => {
+}, sje = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -69663,17 +69695,17 @@ var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function oje() {
+function cje() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, mS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(se, {
+ let r = (0, dS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(se, {
client: X,
children: /* @__PURE__ */ (0, L.jsx)(Pu, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(iy, {
- getContainer: oje,
+ children: /* @__PURE__ */ (0, L.jsx)(ty, {
+ getContainer: cje,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
@@ -69684,33 +69716,33 @@ function $9(e) {
};
};
}
-var sje = {
+var lje = {
activity: {
- prefetch: (e, t) => iT(t),
- mount: $9(ane)
+ prefetch: (e, t) => tT(t),
+ mount: $9(cne)
},
"catalog-grid": {
- prefetch: fne,
- mount: $9(zne)
+ prefetch: hne,
+ mount: $9(Hne)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(Zie)
+ mount: $9(eae)
},
configuration: {
- prefetch: (e, t) => kL(t),
- mount: $9(xue)
+ prefetch: (e, t) => DL(t),
+ mount: $9(Tue)
},
"configuration-summary": {
- prefetch: (e, t) => kL(t),
- mount: $9(Cue)
+ prefetch: (e, t) => DL(t),
+ mount: $9(Due)
},
"data-cleanup": {
prefetch: (e, t) => Jae(t),
mount: $9(xoe)
},
duplicates: {
- prefetch: (e, t) => VO(t),
+ prefetch: (e, t) => LO(t),
mount: $9(Aoe)
},
"entity-hero": {
@@ -69723,44 +69755,44 @@ var sje = {
},
"follow-manage": {
prefetch: (e, t) => cce(t, e.tab),
- mount: $9(aI)
+ mount: $9(sI)
},
index: {
- prefetch: (e, t) => DI(e, t),
- mount: $9(xce)
+ prefetch: (e, t) => kI(e, t),
+ mount: $9(Tce)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(Rce)
+ mount: $9(Hce)
},
"library-processing": {
- prefetch: (e, t) => YO(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Wce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(gj, { ...e }))
+ prefetch: (e, t) => qO(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Jce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(gj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Kce(t),
- mount: $9(ile)
+ prefetch: (e, t) => Xce(t),
+ mount: $9(cle)
},
"quality-goals": {
- prefetch: (e, t) => hk(t),
- mount: $9(ole)
+ prefetch: (e, t) => mk(t),
+ mount: $9(ule)
},
review: {
- prefetch: (e, t) => Mk(t),
- mount: $9(Sle)
+ prefetch: (e, t) => jk(t),
+ mount: $9(Ele)
},
scraping: {
- prefetch: (e, t) => kle(t),
- mount: $9(Ile)
+ prefetch: (e, t) => Nle(t),
+ mount: $9(Ble)
},
stats: {
- prefetch: (e, t) => Tue(t),
- mount: $9(cke)
+ prefetch: (e, t) => kue(t),
+ mount: $9(uke)
},
taste: {
- prefetch: (e, t) => Mke("all", t),
- mount: $9(MAe)
+ prefetch: (e, t) => Pke("all", t),
+ mount: $9(PAe)
}
};
//#endregion
-export { ije as mountToaster, sje as pages, aje as showToast };
+export { oje as mountToaster, lje as pages, sje as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 973dc8cf3..2516386f9 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -478,15 +478,17 @@ function k(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
}
//#endregion
//#region src/board-skeleton.ts
-var A = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, j = () => `${A("80%")}${A("48%")}`, M = (e, t) => e.repeat(t), N = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${A("45%")}</b><small class="board-stat-footer">${A("60%")}</small></div>`).join("")}</div>`, we = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, Te = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, P = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${M(j(), 3)}</div></section>`, F = "disabled data-skeleton-action", I = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, L = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Ee = "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", De = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4">${[
+var A = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, j = () => `${A("80%")}${A("48%")}`, M = (e, t) => e.repeat(t), N = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${A("45%")}</b><small class="board-stat-footer">${A("60%")}</small></div>`).join("")}</div>`, we = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, Te = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, P = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${M(j(), 3)}</div></section>`, F = "disabled data-skeleton-action", I = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, L = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Ee = "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", De = () => `<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="${Ee}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${I("3em")}</b></div>`).join("")}</div>`, Oe = "flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ke = () => `<div class="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">${[
"关注列表",
"添加关注",
- "订阅源",
+ "JAV 订阅源",
"来源和凭证"
].map((e, t) => `<span class="${Oe}"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, R = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, Ae = ({ table: e, sort: t, dir: n }) => {
let r = T.find(([e]) => e === t)[1];