Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 对齐任务进度、操作底栏与管理页面骨架

longmeidao173e4439810c
diff --git a/docs/reference-snapshots/task-progress-surfaces.md b/docs/reference-snapshots/task-progress-surfaces.md
new file mode 100644
index 000000000..f80d081fd
--- /dev/null
+++ b/docs/reference-snapshots/task-progress-surfaces.md
@@ -0,0 +1,25 @@
+# 任务进度与容器清单
+
+按用户于 2026-09-29 提供的口味、扫描与链接管理截图复核。后台任务有确定总量时显示进度条;未知总量时显示 Loading Dots,同一位置只显示一次状态文字。
+
+独立状态块使用描边卡片;已有任务卡、设置分组或结果面板的状态使用所在容器,不叠加第二层框。两种主题共用语义边框和背景 token。`TaskProgress` 负责这两种容器,`Progress` 只负责数值图形。
+
+| 页面或位置 | 状态 | 容器 |
+| --- | --- | --- |
+| 口味 | 读取、分析浏览记录;导入文件 | 独立描边块,主按钮与下拉半边同步忙态 |
+| 数据管理:扫描与采集 | 扫描、资料采集 | 扫描任务卡正文,按钮在分隔底栏 |
+| 数据管理:媒体修复 | 修复文件 | 媒体修复任务卡正文 |
+| 数据管理:整理 | 生成预览、执行整理 | 独立描边块 |
+| 数据管理:链接管理 | 检查链接、重验并删除 | 结果面板内的分隔区,主按钮在任务卡底栏 |
+| 数据管理:资源同步 | 核对文件、复核与清理 | 独立描边块 |
+| 关注管理:关注列表 | 检查更新、抓取历史 | 关注列表卡正文 |
+| 关注管理:添加关注 | 解析链接、按名称查找 | 添加关注卡正文;输入建议的等待点位于建议菜单 |
+| 活动 | 每项正在运行的任务 | 活动任务卡正文 |
+| 来源和凭证 | 抓取封面、重建运行环境 | 设置分组正文 |
+| 配置:更新与维护 | 下载、校验、解压、准备安装 | 更新设置分组,保留阶段刻度 |
+| 目录顶部 | 扫描与采集全局提示 | 紧凑通知栏,使用环形进度 |
+| 遗留任务状态(`jobs.ts`) | `jobActivityHtml` 的调用方 | 沿用所在操作区,使用环形进度或等待点 |
+
+统计页的覆盖率、容量、观看比例,口味页的覆盖率,以及媒体卡片的观看进度,表达的是数据比例,不是后台任务,不增加任务状态框。索引页「载入更多」按钮内的等待点也不是独立任务面板。
+
+统计页骨架按四张读数卡、两张环形图和三张分布图排版;重复页骨架按汇总、玻璃批量操作条、组头和文件行排版。加载占位与正文使用相同响应式列数和容器宽度。回收站网格与管理标题、汇总栏共享 `--board-content`;垃圾文件页不显示订阅新作,晚到的目录请求也不能重新插入该区域。
diff --git a/frontend/e2e/management-layout.test.ts b/frontend/e2e/management-layout.test.ts
new file mode 100644
index 000000000..6ca5fe04f
--- /dev/null
+++ b/frontend/e2e/management-layout.test.ts
@@ -0,0 +1,110 @@
+import assert from 'node:assert/strict';
+import { after, before, describe, it } from 'node:test';
+import type { Browser, Locator } from 'playwright-core';
+import { launch, layout, settle, visit, VIEWPORTS } from './harness.ts';
+
+const box = (target: Locator) => target.evaluate(node => {
+ const { x, y, width, height } = node.getBoundingClientRect();
+ return { x, y, width, height };
+});
+type Box = Awaited<ReturnType<typeof box>>;
+const aligned = (waiting: Box, ready: Box, keys: readonly (keyof Box)[] = ['x', 'y', 'width', 'height']) => {
+ for (const key of keys) assert.ok(Math.abs(waiting[key] - ready[key]) <= 1, `${key}: ${waiting[key]} / ${ready[key]}`);
+};
+
+describe('管理页面容器与骨架', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch(); });
+ after(async () => { await browser?.close(); });
+ for (const viewport of VIEWPORTS) {
+ it(`扫描和链接操作位于分隔底栏(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/data-cleanup', viewport);
+ try {
+ await settle(opened.page);
+ for (const name of ['扫描与采集', '站外链接']) {
+ const card = opened.page.locator('section').filter({ has: opened.page.getByRole('heading', { name, exact: true }) }).last();
+ const geometry = await card.evaluate(node => {
+ const children = Array.from(node.children);
+ const body = children[0]!.getBoundingClientRect();
+ const footer = children.at(-1)!;
+ const rect = footer.getBoundingClientRect();
+ return { bodyBottom: body.bottom, footerTop: rect.top, width: rect.width,
+ bodyWidth: body.width, border: getComputedStyle(footer).borderTopWidth };
+ });
+ assert.ok(Math.abs(geometry.bodyBottom - geometry.footerTop) <= 1);
+ assert.equal(geometry.width, geometry.bodyWidth);
+ assert.equal(geometry.border, '1px');
+ }
+ } finally { await opened.close(); }
+ });
+ it(`统计读数和库存图在接管时对齐(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/stats', viewport);
+ let release = () => {};
+ try {
+ const page = opened.page;
+ await page.getByRole('tablist', { name: '统计视图' }).waitFor();
+ const pending = new Promise<void>(resolve => { release = resolve; });
+ await page.route('**/api/stats*', async route => {
+ const response = await route.fetch();
+ await pending;
+ await route.fulfill({ response });
+ });
+ await page.reload({ waitUntil: 'load' });
+ const skeleton = page.locator('[data-skeleton="board/stats"]');
+ await skeleton.waitFor();
+ const metrics = await box(skeleton.locator('[data-stats-metrics]'));
+ const chart = await box(skeleton.locator('[data-stats-chart]').first());
+ const waitingLayout = await layout(page);
+ release();
+ await page.getByRole('tablist', { name: '统计视图' }).waitFor();
+ await settle(page);
+ aligned(metrics, await box(page.getByRole('tablist', { name: '统计视图' })));
+ aligned(chart, await box(page.getByRole('img', { name: '网盘与本地', exact: true }).locator('..')), ['x', 'y', 'width']);
+ assert.ok(waitingLayout.scrollWidth <= waitingLayout.viewportWidth);
+ assert.deepEqual(opened.problems, []);
+ } finally { release(); await opened.close(); }
+ });
+ it(`重复文件汇总与文件行使用正文尺寸(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/duplicates', viewport);
+ let release = () => {};
+ try {
+ const page = opened.page;
+ const pending = new Promise<void>(resolve => { release = resolve; });
+ await page.route('**/api/duplicates?**', async route => {
+ await pending;
+ await route.fulfill({ json: { total: 1, files: 2, reclaimable: 1000, groups: [{
+ code: 'DEMO-001', count: 2, identical: true, drives: ['R:'], cross_drive: false, reclaimable: 1000,
+ files: [1, 2].map(id => ({ id, name: `DEMO-${id}.mp4`, path: `R:\\Media\\DEMO-${id}.mp4`,
+ location: 'local', drive: 'R:', size: 1000, duration: 3600, is_largest: id === 1, is_longest: id === 2 })),
+ }] } });
+ });
+ await page.reload({ waitUntil: 'load' });
+ const skeleton = page.locator('[data-skeleton="board/duplicates"]');
+ await skeleton.waitFor();
+ const summary = await box(skeleton.locator('[data-collection-summary]'));
+ const row = await box(skeleton.locator('.duplicate-row').first());
+ release();
+ const body = page.locator('#stats section[aria-label="DEMO-001"]');
+ await body.waitFor();
+ await settle(page);
+ aligned(summary, await box(page.locator('#stats [data-collection-summary]')));
+ aligned(row, await box(body.locator('.duplicate-row').first()));
+ const dimensions = await layout(page);
+ assert.ok(dimensions.scrollWidth <= dimensions.viewportWidth);
+ } finally { release(); await opened.close(); }
+ });
+ it(`回收站网格与标题、汇总栏同宽(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/trash', viewport);
+ try {
+ await opened.page.locator('#manageLede').waitFor();
+ await settle(opened.page);
+ const title = await box(opened.page.locator('#manageTitle'));
+ const grid = await box(opened.page.locator('#grid'));
+ const lede = await box(opened.page.locator('#manageLede'));
+ aligned(title, grid, ['x', 'width']);
+ aligned(title, lede, ['x', 'width']);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+ }
+});
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.ts
index 691efe6c0..643331425 100644
--- a/frontend/e2e/smoke.test.ts
+++ b/frontend/e2e/smoke.test.ts
@@ -256,21 +256,31 @@ describe('路由冒烟', () => {
assert.equal(await opened.page.locator('#feedNew').isHidden(), true, '进统计页之后新作那一行还露着');
assert.equal(await feedCards.count(), 0, '进统计页之后新作那一行没有清空');
- let release!: () => void;
- hold = new Promise((resolve) => { release = resolve; });
- const asked = opened.page.waitForRequest(/\/api\/feeds\/discoveries\?/);
await go('/');
- await asked;
- await go('/stats');
- await expectBody(opened.page, '/stats', [statsInventoryTab(opened.page)]);
- const before = served;
- release();
- for (let step = 0; step < 40 && served === before; step += 1) await opened.page.waitForTimeout(100);
- assert.ok(served > before, '压住的那一次新作取数没有放行');
- // 回包之后页面只剩一次同步重画;这里不用 `settle`,它还会等被切走的目录区那份加载态。
- await opened.page.waitForTimeout(500);
- assert.equal(await feedCards.count(), 0, '晚到的新作取数画到了统计页上');
- await assertHolds(opened.page, opened.problems, '首页与统计页往返');
+ await expectBody(opened.page, '/', [feedCards.first()]);
+ await go('/junk-files');
+ await opened.page.locator('#count [data-junk-filters]').waitFor();
+ assert.equal(await opened.page.locator('#feedNew').isHidden(), true, '垃圾文件页不展示订阅新作');
+ assert.equal(await feedCards.count(), 0);
+
+ for (const target of ['/stats', '/junk-files']) {
+ let release!: () => void;
+ hold = new Promise((resolve) => { release = resolve; });
+ const asked = opened.page.waitForRequest(/\/api\/feeds\/discoveries\?/);
+ await go('/');
+ await asked;
+ await go(target);
+ const body = target === '/stats' ? statsInventoryTab(opened.page) : opened.page.locator('#count [data-junk-filters]');
+ await expectBody(opened.page, target, [body]);
+ const before = served;
+ release();
+ for (let step = 0; step < 40 && served === before; step += 1) await opened.page.waitForTimeout(100);
+ assert.ok(served > before, '压住的那一次新作取数没有放行');
+ // 回包之后页面只剩一次同步重画;目录区的旧加载态不属于当前页面。
+ await opened.page.waitForTimeout(500);
+ assert.equal(await feedCards.count(), 0, `晚到的新作取数画到了 ${target} 上`);
+ await assertHolds(opened.page, opened.problems, `首页与 ${target} 往返`);
+ }
} finally {
await opened.close();
}
diff --git a/frontend/src/board-skeleton.ts b/frontend/src/board-skeleton.ts
index 2eee0eb35..4060c9801 100644
--- a/frontend/src/board-skeleton.ts
+++ b/frontend/src/board-skeleton.ts
@@ -1,6 +1,7 @@
import { resolveFollowSort, SORT_OPTIONS, type SortDir, type SortKey } from './follow-sort';
import { islandButton, islandSelect } from './island-skeleton';
import { configurationSkeleton } from './configuration-skeleton';
+import { duplicatesSkeleton, statsSkeleton } from './management-skeletons';
/** 等待态复用页面容器,只有异步内容使用占位。 */
const line = (width = '60%') => `<span class="skeleton" style="width:${width}"></span>`;
@@ -82,7 +83,7 @@ export function boardPageSkeleton(
): string {
let body = '';
if (path === '/stats') {
- body = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${line('38%')}</header>${metrics(['馆藏视频', '看过', '内容标签', '使用空间'])}${panel('馆藏视频')}${panel('内容标签')}</div>`;
+ body = statsSkeleton();
} else if (path === '/taste') {
body = `<div class="tastepage"><header class="tastehead">${segments(['浏览器记录', 'Peach 内部'], 'insightswitch')}${line('24%')}</header><div class="tastestate"></div>${metrics(['浏览记录', '口味维度', '浏览候选', '私有导出'], 'tastesummaries')}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${repeat(lines(), 4)}</div></section>${panel('口味分析')}<div class="board-activity-charts">${panel('浏览活动')}${panel('时间分布')}</div>${panel('标签')}</div>`;
} else if (path === '/follow-manage') {
@@ -92,7 +93,7 @@ export function boardPageSkeleton(
} else if (path === '/activity') {
body = `<div class="activitypage">${['正在进行', '被挡下的', '最近完成'].map(title => `<section class="activitysection"><h3 class="geist-fieldset-title">${title}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${line('35%')}${lines()}</div></article></div></section>`).join('')}</div>`;
} else if (path === '/duplicates') {
- body = `<div class="review"><div class="collection-summary">${line('38%')}</div><div class="fsechead dupactions"><h3>批量保留</h3>${line('40%')}</div>${repeat(`<section class="dupgroup"><div class="duphead">${line('45%')}</div><div class="duplist">${repeat(`<div class="duprow"><span class="dupcover skeleton"></span><span class="dupmarks">${line()}</span><span class="dupname">${line('90%')}</span>${line()}${line()}${line()}<span class="duppath">${line('70%')}</span></div>`, 2)}</div></section>`, 2)}</div>`;
+ body = duplicatesSkeleton();
} else if (path === '/quality-goals') {
body = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${line('20%')}</div><div class="qualitylist">${repeat(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${lines()}</div><footer class="qualityactions">${line('80%')}</footer></article>`, 6)}</div></div>`;
} else if (path === '/playlists') {
diff --git a/frontend/src/management-skeletons.ts b/frontend/src/management-skeletons.ts
new file mode 100644
index 000000000..eaa080c13
--- /dev/null
+++ b/frontend/src/management-skeletons.ts
@@ -0,0 +1,55 @@
+import { islandButton } from './island-skeleton';
+
+const placeholder = 'relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg';
+const text = (width = '60%') => `<span class="${placeholder} inline-block max-w-full align-middle" style="width:${width};height:1em"></span>`;
+const wait = 'disabled data-skeleton-action';
+const chart = 'min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4';
+
+/** 统计首屏与 StatsPage 的读数卡、双列库存图和三列分布图共用布局。 */
+export function statsSkeleton(): string {
+ const metrics = ['馆藏视频', '看过', '内容标签', '使用空间'].map((label, index) => `
+ <div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${index === 0 ? 'ring-2 ring-border-focus-ring bg-background-primary-default' : 'bg-background-secondary-default'}">
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${placeholder} size-7 max-sm:size-6"></i>${label}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${text('4em')}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${text('6em')}</small>
+ </div>`).join('');
+ const radial = (title: string) => `<section class="${chart}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${title}</h3><b class="text-display-4-medium">${text('4em')}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76, 54, 32].map(r => `<circle cx="100" cy="100" r="${r}"/>`).join('')}</svg>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${text()}</span><b class="text-title-2-medium">${text('3em')}</b><small class="text-caption-1-regular">${text()}</small></div>`).join('')}</div>
+ </section>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${text('12em')}</p>
+ <div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${metrics}</div>
+ <div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${radial('网盘与本地')}${radial('媒体库')}</div>
+ <div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${['时长', '画质', '文件类型'].map(title => `<section class="${chart}"><h3 class="text-title-2-medium">${title}</h3><div class="${placeholder} h-64"></div></section>`).join('')}</div>
+ </div>
+ </div>
+ <section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
+ <div class="flex flex-wrap gap-3 px-4 pt-3 text-body-regular">${['内容标签', '最近看过', '标签来源'].map(label => `<span>${label}</span>`).join('')}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${placeholder} h-7"></div>`).join('')}</div>
+ </section>
+ </div></div>`;
+}
+
+/** 重复文件首屏:完整汇总、玻璃批量条、组头和两行文件,尺寸跟正文一致。 */
+export function duplicatesSkeleton(): string {
+ const row = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
+ <span class="${placeholder} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${text('70%')}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${text('3em')}</span>`).join('')}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${text('75%')}</span>
+ </div>`;
+ const group = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
+ <div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
+ <b class="text-title-2-medium">${text('5em')}</b><span class="font-mono text-caption-1-regular leading-5">${text('8em')}</span>
+ <span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${['留最大', '留最长', '整组回收'].map(label => islandButton({ variant: 'secondary', size: 'small', label, attrs: wait })).join('')}</span>
+ </div>${row.repeat(2)}</section>`;
+ return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
+ <div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${text('4em')}</strong></div><p class="text-body-regular text-text-secondary">${text('12em')}</p>
+ </div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${['全部保留最大', '全部保留最长'].map(label => `<button ${wait} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${label}</button>`).join('')}</div>
+ ${group.repeat(2)}
+ </div></div>`;
+}
diff --git a/frontend/src/management.ts b/frontend/src/management.ts
index 768a8eb68..3eacd09de 100644
--- a/frontend/src/management.ts
+++ b/frontend/src/management.ts
@@ -26,7 +26,7 @@ const cardText = (title: string, text: string) => `<div data-geist-fieldset-cont
/** 「扫描与采集」卡:与 React `LibraryProcessingCard` 同一副容器、同一段正文、同一组键。
* 「复核资料」只在有候选时出现,这里不预画。 */
export function scanCardSkeletonHtml(): string {
- return island(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ return island(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
${cardText('扫描与采集', SCAN_CARD_TEXT)}
<footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${islandGlyph('arrow-up', 'size-[18px] shrink-0 rotate-90')}</a><span data-button-group data-split-button data-variant="primary">${islandButton({ glyph: 'database', label: '扫描并补全资料', attrs: waitingAction })}${islandButton({ glyph: 'chevron-down', attrs: `${waitingAction} aria-label="更多扫描与采集方式"` })}</span></footer>
</section>`);
@@ -69,7 +69,7 @@ export function cleanupSkeletonHtml(): string {
</section></div>
<section class="resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
- <div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
+ <div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
<div class="linksummary"><div class="linkstats"><div><span>链接总数</span><b>${bar}</b><small>${bar}</small></div>${['官网/事务所', '社交账号', '作品资料站'].map(title => `<div><span>${title}</span><b>${bar}</b></div>`).join('')}</div>
<div class="linkhosts"><span>主要站点</span><b>${bar}</b></div></div></div>
diff --git a/frontend/src/react/components/fieldset.tsx b/frontend/src/react/components/fieldset.tsx
index 04dbd358f..2dee141fa 100644
--- a/frontend/src/react/components/fieldset.tsx
+++ b/frontend/src/react/components/fieldset.tsx
@@ -5,9 +5,9 @@
* `.resourcesyncbox`)本来就是同一副卡面(`web/board.css` 把它们并进同一条规则),只在排法上
* 分两档:
* - `split`:左说明、右按钮,两列竖向居中,正文与页脚各 24px 内边距;1000px 以下按钮落到说明
- * 下面,页脚靠左、不再留上内边距。扫描与采集、媒体修复、空文件夹、链接管理与资源同步。
+ * 下面,页脚靠左、不再留上内边距。媒体修复、空文件夹与资源同步。
* - `stack`:正文在上、页脚在下,正文 `20px 20px 16px`、最矮 120px;页脚是一条比卡面暗一点点
- * 的带子(`--board-card-foot`),上边一条线、`12px 20px`、最矮 56px。整理那一张。
+ * 的带子(`--board-card-foot`),上边一条线、`12px 20px`、最矮 56px。扫描与采集、整理和链接管理。
*
* 它和 `../settings/section.tsx` 的 `Section` 不是同一张:那一张是设置弹层的分组,无描边、
* 标题在卡外;这一张有描边,标题是卡内的 Title 2。 */
diff --git a/frontend/src/react/components/task-progress.tsx b/frontend/src/react/components/task-progress.tsx
new file mode 100644
index 000000000..543ff53df
--- /dev/null
+++ b/frontend/src/react/components/task-progress.tsx
@@ -0,0 +1,19 @@
+import { cardClass } from './card';
+import { LoadingDots } from './loading-dots';
+import { Progress } from './progress';
+
+/** 独立任务带框;卡片或结果分区内的任务复用所在容器。 */
+export function TaskProgress({ label, value = 0, total, embedded = false }: {
+ label: string; value?: number; total?: number | null; embedded?: boolean;
+}) {
+ return (
+ <div data-task-progress className={embedded ? 'flex flex-col gap-1.5' : cardClass({
+ variant: 'outlined', padding: 'none', className: 'flex flex-col gap-1.5 px-4 py-3.5',
+ })}>
+ {total && total > 0 ? <>
+ <Progress label={label} value={value} max={total} />
+ <p className="text-caption-1-regular text-text-secondary">{label}</p>
+ </> : <LoadingDots label={label} />}
+ </div>
+ );
+}
diff --git a/frontend/src/react/data-cleanup/link-manager.tsx b/frontend/src/react/data-cleanup/link-manager.tsx
index 84752863d..91c46f728 100644
--- a/frontend/src/react/data-cleanup/link-manager.tsx
+++ b/frontend/src/react/data-cleanup/link-manager.tsx
@@ -24,9 +24,8 @@ import { DataTableFrame } from '../components/data-table-frame';
import {
Fieldset, FieldsetTitle, PanelFooter, RESULT_PANEL, RESULT_SECTION, SectionHeading,
} from '../components/fieldset';
-import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { spriteGlyph } from '../components/sprite-glyph';
import { queryClient } from '../query';
import { busyProps } from '../settings/use-action';
@@ -131,12 +130,7 @@ function LinkTable(
function JobProgress({ line, value, total }: { line: string; value?: number; total?: number }) {
return (
<div className={`${RESULT_SECTION} flex flex-col gap-1.5`}>
- {total
- ? <>
- <Progress label={line} value={value || 0} max={total} />
- <p className="text-caption-1-regular text-text-secondary">{line}</p>
- </>
- : <LoadingDots label={line} />}
+ <TaskProgress embedded label={line} value={value} total={total} />
</div>
);
}
@@ -246,7 +240,7 @@ export function LinkManager() {
return (
<section id="link-manager" aria-labelledby="link-manager-title" className="flex scroll-mt-20 flex-col gap-4">
<SectionHeading id="link-manager-title">链接管理</SectionHeading>
- <Fieldset layout="split" labelledBy="link-manager-box" footer={
+ <Fieldset layout="stack" labelledBy="link-manager-box" footer={
<Button leadingIcon={UNLINK} {...busyProps(running)} onClick={() => run()}>
{running ? '检查中' : done ? '重新检查' : '检查死链'}
</Button>
diff --git a/frontend/src/react/data-cleanup/organize-card.tsx b/frontend/src/react/data-cleanup/organize-card.tsx
index 11d00736e..aa48ced31 100644
--- a/frontend/src/react/data-cleanup/organize-card.tsx
+++ b/frontend/src/react/data-cleanup/organize-card.tsx
@@ -15,9 +15,8 @@ import { Select, SelectItem } from '@/components/base/select/select';
import { errorMessage } from '../../api';
import { useBackgroundJob } from '../background-job';
import { Fieldset, FieldsetTitle } from '../components/fieldset';
-import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { queryClient } from '../query';
import { SourceMark } from '../settings/section';
import { busyProps } from '../settings/use-action';
@@ -127,10 +126,7 @@ export function OrganizeCard(
const outcome = job.outcome;
if (current?.status === 'running') {
const line = current.message || current.stage || '正在整理文件…';
- state = current.total
- ? <div className="flex flex-col gap-1.5"><Progress label={line} value={current.checked || 0} max={current.total} />
- <p className="text-caption-1-regular text-text-secondary">{line}</p></div>
- : <LoadingDots label={line} />;
+ state = <TaskProgress label={line} value={current.checked} total={current.total} />;
} else if (outcome?.status === 'failed') {
state = <Note tone="error" title="文件整理未完成">{outcome.error || '请查看任务记录,核对已处理的文件。'}</Note>;
} else if (outcome) {
@@ -139,7 +135,7 @@ export function OrganizeCard(
} else if (job.start.isError) {
state = <Note tone="error" title="整理失败">{errorMessage(job.start.error)}</Note>;
} else if (preview.isPending) {
- state = <LoadingDots label="正在按模板算计划…" />;
+ state = <TaskProgress label="正在按模板算计划…" />;
} else if (preview.isError) {
state = <Note tone="error" title="模板不可用">{errorMessage(preview.error)}</Note>;
} else if (plan) {
diff --git a/frontend/src/react/data-cleanup/resource-sync-card.tsx b/frontend/src/react/data-cleanup/resource-sync-card.tsx
index b3db577f6..39be9fbcb 100644
--- a/frontend/src/react/data-cleanup/resource-sync-card.tsx
+++ b/frontend/src/react/data-cleanup/resource-sync-card.tsx
@@ -13,9 +13,8 @@ import { Button } from '@/components/base/buttons/button';
import { errorMessage } from '../../api';
import { useBackgroundJob } from '../background-job';
import { Fieldset, FieldsetTitle, SectionHeading } from '../components/fieldset';
-import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { spriteGlyph } from '../components/sprite-glyph';
import { PlainStat, plainStatClass } from '../components/stat-card';
import { queryClient } from '../query';
@@ -129,7 +128,7 @@ export function ResourceSyncCard(
} else if (done) {
result = receipt(done);
} else if (apply.running) {
- result = <LoadingDots label={apply.job?.message || '正在复核并清理失效条目…'} />;
+ result = <TaskProgress label={apply.job?.message || '正在复核并清理失效条目…'} />;
} else if (scan.start.isError) {
result = <Note tone="error" title="扫描失败">{errorMessage(scan.start.error)}</Note>;
} else if (scan.query.isError && state) {
@@ -137,12 +136,7 @@ export function ResourceSyncCard(
} else if (state?.status === 'running') {
const line = scanLine(state);
result = (
- <div className="flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5">
- {state.total_sources
- ? <><Progress label={line} value={state.completed_sources || 0} max={state.total_sources} />
- <p className="text-caption-1-regular text-text-secondary">{line}</p></>
- : <LoadingDots label="正在检查本地磁盘和网盘…" />}
- </div>
+ <TaskProgress label={line} value={state.completed_sources} total={state.total_sources} />
);
} else if (state?.status === 'failed') {
result = <Note tone="error" title="扫描失败">{state.error || '后台扫描失败'}</Note>;
diff --git a/frontend/src/react/follow-manage/add-source.tsx b/frontend/src/react/follow-manage/add-source.tsx
index 9210bd5a0..66e2364db 100644
--- a/frontend/src/react/follow-manage/add-source.tsx
+++ b/frontend/src/react/follow-manage/add-source.tsx
@@ -24,7 +24,7 @@ import { useBackgroundJob } from '../background-job';
import { cardClass } from '../components/card';
import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { busyProps } from '../settings/use-action';
import { ExternalLink, FieldLabel, Help } from '../settings/section';
import {
@@ -374,10 +374,9 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials
</div>
<div aria-live="polite" className="flex flex-col gap-3 empty:hidden">
- {running || resolve.isPending ? (job?.total
- ? <Progress label={job.message || `查找中:${job.checked || 0}/${job.total}`}
- value={job.checked || 0} max={job.total} />
- : <LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />) : null}
+ {running || resolve.isPending ? <TaskProgress embedded
+ label={job?.message || (job?.total ? `查找中:${job.checked || 0}/${job.total}` : byName ? BY_NAME_HINT : BY_LINK_HINT)}
+ value={job?.checked} total={job?.total} /> : null}
{problem ? <Note tone="error" title="这一次没有完成">{problem}</Note> : null}
</div>
diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsx
index 9a9e118ad..c6aa3bdd5 100644
--- a/frontend/src/react/follow-manage/source-list.tsx
+++ b/frontend/src/react/follow-manage/source-list.tsx
@@ -37,9 +37,8 @@ import { cardClass } from '../components/card';
import { DataTableFrame } from '../components/data-table-frame';
import { EmptyState } from '../components/empty-state';
import { clickedBlank } from '../components/row-click';
-import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { SelectionDock } from '../components/selection-dock';
import { busyProps } from '../settings/use-action';
import {
@@ -561,11 +560,9 @@ export function SourceList(props: SourceListProps) {
{/* 这一趟在后台跑,关掉页面还在继续,所以状态留在页面上而不是只让按钮转一下。 */}
<div aria-live="polite" className="flex flex-col gap-3 empty:hidden">
- {running ? (job?.total
- ? <Progress label={job.message
- || `${job.older ? '抓取历史' : '检查更新'}:已完成 ${job.checked || 0}/${job.total} 个来源`}
- value={job.checked || 0} max={job.total} />
- : <LoadingDots label={job?.message || '正在准备检查任务'} />) : null}
+ {running ? <TaskProgress embedded label={job?.message || (job?.total
+ ? `${job.older ? '抓取历史' : '检查更新'}:已完成 ${job.checked || 0}/${job.total} 个来源`
+ : '正在准备检查任务')} value={job?.checked} total={job?.total} /> : null}
{problem ? <Note tone="error" title="操作未完成">{problem}</Note> : null}
{failures.length ? (
<Note tone="error" title={`${failures.length} 个来源检查失败`}
diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsx
index 504114f23..841a07422 100644
--- a/frontend/src/react/library-processing/library-processing-card.tsx
+++ b/frontend/src/react/library-processing/library-processing-card.tsx
@@ -25,11 +25,10 @@ import { apiSend, errorMessage } from '../../api';
import { SCAN_CARD_TEXT } from '../../management';
import type { LibraryProcessingProps } from '../bundle';
import { Fieldset, FieldsetTitle } from '../components/fieldset';
-import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
import { useOverlayScrollbar } from '../components/overlay-scrollbar';
import { PathLine } from '../components/path-line';
-import { Progress } from '../components/progress';
+import { TaskProgress } from '../components/task-progress';
import { Disclosure } from '../settings/section';
import { busyProps } from '../settings/use-action';
import { queryClient } from '../query';
@@ -225,7 +224,7 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {
return (
<div className="flex flex-col gap-4">
- <Fieldset layout="split" label="扫描与采集" footer={
+ <Fieldset layout="stack" label="扫描与采集" footer={
<>
<LinkButton href="/scraping" size="small" trailingIcon={RiArrowRightLine}>来源和凭证</LinkButton>
{state.candidates
@@ -241,16 +240,7 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {
<FieldsetTitle>扫描与采集</FieldsetTitle>
<p className="text-body-2-regular text-text-secondary">{SCAN_CARD_TEXT}</p>
{state.status === 'running'
- ? <div className="flex flex-col gap-1.5">
- {state.total
- ? <>
- <Progress label={line} value={state.checked || 0} max={state.total} />
- <p className="text-caption-1-regular text-text-secondary">
- {line} · {state.checked || 0} / {state.total} 个视频
- </p>
- </>
- : <LoadingDots label={line} />}
- </div>
+ ? <TaskProgress embedded label={line} value={state.checked} total={state.total} />
: null}
</div>
</Fieldset>
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index f1591852b..d0c9c2b69 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -28,6 +28,7 @@
@import "./index/index-people.css";
@source "./";
+@source "../management-skeletons.ts";
/* 扫描不分代码与注释:这几个词各在注释里出现过,生成出来就和旧样式表的 `.ring`、`.grid`、
* `.sr-only` 同名。React 子树三个类都不用——只读屏的文字走 `VisuallyHidden`,它把样式写在
* 元素上。直接不生成。 */
diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsx
index 15e78c93e..a0cc31627 100644
--- a/frontend/src/react/taste/taste-page.tsx
+++ b/frontend/src/react/taste/taste-page.tsx
@@ -40,7 +40,7 @@ import { cardClass } from '../components/card';
import { EmptyState } from '../components/empty-state';
import { ExpandableRanking } from '../components/expandable-ranking';
import { LEGACY_AVATAR_IMG } from '../components/legacy-avatar';
-import { LoadingDots } from '../components/loading-dots';
+import { TaskProgress } from '../components/task-progress';
import { Note } from '../components/note';
import { Page } from '../components/page';
import { Progress } from '../components/progress';
@@ -318,7 +318,7 @@ function HistoryActions(
</Button>
<Button ref={trigger} iconOnly leadingIcon={RiArrowDownSLine}
aria-label="更多取得浏览记录的方式" aria-haspopup="dialog" aria-expanded={open}
- onClick={() => setOpen(true)} />
+ {...busyProps(busy)} onClick={() => { if (!busy) setOpen(true) }} />
</span>
<Popover triggerRef={trigger} isOpen={open} onOpenChange={setOpen}
placement="bottom end" offset={4} className={MENU_POPOVER_SURFACE}>
@@ -485,16 +485,9 @@ export function TastePage(props: TasteProps) {
done={!!(summary.history_sources || data.updated_at)} />
{/* 这一趟在后台跑,关掉页面还在继续,所以状态留在页面上而不是只让按钮转一下。 */}
<div aria-live="polite" className="flex flex-col gap-3 empty:hidden">
- {running ? (job?.total
- ? <div className="flex flex-col gap-1.5">
- <Progress label={job.message || '正在读取浏览记录'}
- value={job.checked || 0} max={job.total} />
- <p className="text-caption-1-regular text-text-secondary">
- {`${job.message || '正在读取浏览记录'} · ${job.checked || 0} / ${job.total}`}
- </p>
- </div>
- : <LoadingDots label={job?.message || '正在读取浏览记录并更新口味分析'} />) : null}
- {load.isPending ? <LoadingDots label="正在导入历史文件" /> : null}
+ {running ? <TaskProgress label={job?.message || '正在读取浏览记录并更新口味分析'}
+ value={job?.checked} total={job?.total} /> : null}
+ {load.isPending ? <TaskProgress label="正在导入历史文件" /> : null}
{problem ? <Note tone="error">{problem}</Note> : null}
</div>
<TabPanel id="browser" className="flex flex-col gap-5">
diff --git a/frontend/test/board-skeleton.test.ts b/frontend/test/board-skeleton.test.ts
index 45198350c..cd89c085b 100644
--- a/frontend/test/board-skeleton.test.ts
+++ b/frontend/test/board-skeleton.test.ts
@@ -21,13 +21,13 @@ describe('Board 页面骨架', () => {
it('统计预留四张指标卡,未知页面交给自身骨架', () => {
const root = document.createElement('div');
root.innerHTML = boardPageSkeleton('/stats');
- expect(root.querySelectorAll('.tastesummary')).toHaveLength(4);
+ expect(root.querySelectorAll('[data-stats-metrics] > div')).toHaveLength(4);
expect(boardPageSkeleton('/item/5')).toBe('');
});
it.each([
- ['/stats', '.insightpanel > .insightpanelbody', 2],
+ ['/stats', '[data-stats-chart]', 2],
['/activity', '.activitysection', 3],
- ['/duplicates', '.dupgroup .duprow', 4],
+ ['/duplicates', '[data-duplicate-group] .duplicate-row', 4],
['/quality-goals', '.qualityitem > .qualitycover', 6],
['/follow-manage', '.peach-react .follow-skeleton-surface .follow-skeleton-author', 3],
['/configuration', '.peach-react .configpage section', 2],
diff --git a/frontend/test/react/taste.test.tsx b/frontend/test/react/taste.test.tsx
index 6ea8aa934..ee7a28565 100644
--- a/frontend/test/react/taste.test.tsx
+++ b/frontend/test/react/taste.test.tsx
@@ -236,6 +236,12 @@ it('本次亲眼见过它在跑,跑完才发回执并重取 dashboard', async
job: [{ status: 'running', message: '正在读取浏览记录' }, { status: 'complete' }],
});
expect(host.textContent).toContain('正在读取浏览记录');
+ const actions = [...host.querySelectorAll('[data-split-button] > button')];
+ expect(actions).toHaveLength(2);
+ expect(actions.every(button => button.getAttribute('aria-disabled') === 'true')).toBe(true);
+ await click(actions[1]);
+ expect(host.querySelector('[role="dialog"]')).toBeNull();
+ expect(host.querySelector('[data-task-progress]')).not.toBeNull();
await tick(JOB_RUNNING_POLL_MS);
await settle();
expect(props.toast.mock.calls).toEqual([['已更新口味分析']]);
diff --git a/tests/test_follow_web.py b/tests/test_follow_web.py
index f23c3a47a..e170f091e 100644
--- a/tests/test_follow_web.py
+++ b/tests/test_follow_web.py
@@ -3039,21 +3039,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertNotIn(".fcard{", page)
self.assertNotIn(".fsource{", page,
"旧来源卡片规则会给新行重新套上边框和圆角")
- row = page[page.index(".frow{"):]
- row = row[:row.index("}")]
- self.assertIn("border-bottom:1px solid", row)
- self.assertNotIn("border-radius", row)
-
- def test_narrow_column_rows_can_actually_shrink(self):
- """grid 项默认 `min-width:auto`,最宽的一行会把整列撑出容器。
-
- 实测右栏 320px,凭据行却量到 438px,整页横向溢出 119px。容器和每一项
- 都要显式 `min-width:0`。
- """
- page = self.page
- rule = page[page.index(".frows{"):]
- self.assertIn("min-width:0", rule[:rule.index("}")])
- self.assertPageContains(".frows>*{min-width:0}")
def test_the_panel_cites_the_registered_report_design_source(self):
page = self.read_react("follow-manage/follow-manage-page.tsx")
diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.py
index 44656adf4..f2a2ce7bb 100644
--- a/tests/test_source_assertion_ratchet.py
+++ b/tests/test_source_assertion_ratchet.py
@@ -39,7 +39,7 @@ BASELINE: dict[str, int] = {
"test_face_detect.py": 3,
"test_fastapi_api.py": 4,
"test_follow_assets.py": 2,
- "test_follow_web.py": 191,
+ "test_follow_web.py": 187,
"test_frontend_build.py": 80,
"test_job_status.py": 3,
"test_metadata_library.py": 7,
@@ -53,7 +53,7 @@ BASELINE: dict[str, int] = {
"test_web_e2e.py": 2,
"test_web_js.py": 1,
"test_web_settings.py": 8,
- "test_web_ui.py": 3469,
+ "test_web_ui.py": 3462,
"test_windows_update.py": 3,
}
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 5598431a1..644aa22f3 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -513,8 +513,7 @@ class WebUiSourceTests(unittest.TestCase):
".resourcesyncbox"):
self.assertPageContains(selector + "{", f"{selector} 应有一条自己的规则")
css = stylesheet_source()
- for name in (".cleanupfieldset>.geist-fieldset-footer",
- ".fsechead", ".resourcesyncfooter"):
+ for name in (".cleanupfieldset>.geist-fieldset-footer", ".resourcesyncfooter"):
start = css.index(name + "{")
rule = css[start:css.index("}", start)]
self.assertIn("background:var(--overlay-5)", rule, f"{name} 是操作条")
@@ -1801,7 +1800,6 @@ class WebUiSourceTests(unittest.TestCase):
add = (Path(__file__).resolve().parents[1]
/ "frontend/src/react/follow-manage/add-source.tsx").read_text(encoding="utf-8")
self.assertIn('<Input aria-label="来源链接、名字或 id"', add)
- self.assertIn("<LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />", add)
self.assertPageLacks(".isearch")
def test_filtering_waits_for_the_chinese_ime_to_finish_composing(self):
@@ -5272,9 +5270,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn('.followmanage .board-follow-list .board-author-actions{width:auto;flex:none}', board)
self.assertNotIn('.board-author-actions{width:100%', board)
- def test_follow_fieldset_headers_share_one_control_height(self):
- self.assertPageContains('.fsechead{display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-sizing:border-box;min-height:56px')
-
def test_top_level_highlight_is_exclusive_and_covers_index_pages(self):
"""首页高亮只看 state.state 的话,进管理区和索引页时它仍然亮着,两个入口一起亮。"""
# 高亮由「当前路径匹配到哪条路由」决定,索引页和实体页因此天然分开:
@@ -6526,8 +6521,6 @@ class WebUiSourceTests(unittest.TestCase):
board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
self.assertIn(".followmanage .fsec:has(.board-follow-selection){padding:0;border-radius:18px;background:var(--ground);overflow:visible}"
".followmanage .fsec>.board-follow-selection{padding:4px 24px 12px}", board)
- self.assertIn(".followmanage .fsechead .iconswitch[data-board-segments]>label{width:34px;height:30px;border-radius:7px}", board)
- self.assertIn(".followmanage .fsechead .iconswitch svg{width:16px;height:16px;stroke-width:2}", board)
self.assertIn("--color-border-checkbox-default:#d4d4d4;--color-border-checkbox-hover:#a3a3a3", board)
# 暗档的默认边线比上游亮一档:框底就是卡面色,那 1px 是这个形状唯一的证据。
self.assertIn("--color-border-checkbox-default:#525252;--color-border-checkbox-hover:#737373", board)
@@ -8005,7 +7998,6 @@ class WebUiSourceTests(unittest.TestCase):
"""新增 CSS 省略必须先决定它是语义文本,还是应改用 MiddleTruncate。"""
reviewed_end_selectors = {
".alphatag span:first-of-type", ".av .nm",
- ".frow>b",
".feednewcard .meta .s>.feednewperformers",
".meta .t", ".meta .who", ".mixcopy b,.mixcopy span",
# 小窗信息栏与播放器右键菜单:标题、来源和菜单标签都是语义文本,尾部省略。
@@ -8723,7 +8715,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn(".cleanupgrid{gap:16px}", board)
self.assertIn(".cleanupstats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}", board)
# 这两个 section 的标题也走同一条字阶,不留浏览器默认的 700。
- self.assertIn(".followmanage .fsechead h3,.resourcesync>h2{font:var(--board-heading)", board)
+ self.assertIn(".cleanupfieldset h3,.resourcesync>h2{font:var(--board-heading)", board)
def test_a_scan_card_keeps_its_outcome_outside_the_box(self):
"""扫描与采集的结果和故障挂在卡片外面,和链接管理、资源同步一个写法。
@@ -8742,11 +8734,8 @@ class WebUiSourceTests(unittest.TestCase):
" </Fieldset>\n"
" <Outcome state={state} problem={problem} settled={settled} onRetry={retry} toast={toast} />",
card)
- self.assertIn('<Fieldset layout="split" label="扫描与采集" footer={', card)
# 空着时整块收起:`aria-live` 的容器留一条空轨道,卡片底下会凭空多出一个间距。
self.assertIn('<div aria-live="polite" className="flex flex-col gap-4 empty:hidden">', card)
- # 进度条留在卡片里,和那颗按钮同一格。
- self.assertIn("<Progress label={line} value={state.checked || 0} max={state.total} />", card)
board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
self.assertIn(".cleanupgrid>:is(.cleanupscraping,.cleanupmediarepair){grid-column:1/-1;display:grid;gap:16px}", board)
@@ -9942,8 +9931,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(
'@media (prefers-color-scheme:dark){html:not([data-theme="light"]){color-scheme:dark}}')
self.assertPageContains('html[data-theme="dark"]{color-scheme:dark}')
- # 标题行的版式开关收在 --control-h 上。
- self.assertPageContains(".fsechead .iconswitch label{width:34px;height:32px}")
def test_the_selection_mark_is_one_shape_that_does_not_flip_with_the_theme(self):
"""选中标记全站一个长相:正圆、一对固定的浅片深勾。
diff --git a/web/app.js b/web/app.js
index 3853f31dd..6b0c44ef7 100644
--- a/web/app.js
+++ b/web/app.js
@@ -467,7 +467,7 @@ const claimSurface=path=>{
if(!isCatalogPath(path))unmountIsland($('#libraryProcessingNotice'));
/* 首页那一行新作同样只属于目录页。管理区的入口不经过 `showHomeSurfaces`,离开目录页时
在这里收起并清空,连同它的自动滚动一起停掉。 */
- if(!isCatalogPath(path)){const feed=$('#feedNew');
+ if(!isFeedNewPath(path)){const feed=$('#feedNew');
feed.querySelectorAll('.feednewrow').forEach(stopAutoScroll);feed.hidden=true;feed.innerHTML=''}
/* 管理区正文的容器每次换页都经过这里,所以卸载也落在这里。React 档的页面是一棵自己
管取数的根:不卸掉它,离开之后那棵根还活着,有轮询的页面照着原节律继续敲库。
@@ -4443,12 +4443,13 @@ async function loadFeedNew(entityId,preload){
return {items,html};
}
/* 首页那一行。资料页那一行在资料卡的岛里(`entity-hero`),数据同样取自 `loadFeedNew`。 */
+function isFeedNewPath(path){return isCatalogPath(path)&&path!=='/junk-files'}
async function renderFeedNew(host,entityId){
if(!host)return;
host.dataset.feedEntity=entityId?String(entityId):'';
const {items,html}=await loadFeedNew(entityId,host.getAttribute('aria-busy')==='true');
// 取数期间人已经离开了这一页:首页那一行不画到管理区上。
- if(!host.isConnected||host.id==='feedNew'&&!isCatalogPath(location.pathname))return;
+ if(!host.isConnected||host.id==='feedNew'&&!isFeedNewPath(location.pathname))return;
host.removeAttribute('aria-busy');
if(!items.length){host.hidden=true;host.innerHTML='';return}
host.hidden=false;
@@ -4475,7 +4476,7 @@ const entityHeroCurrent=()=>!!entityHeroHost?.isConnected&&islandMounted(entityH
function refreshFeedRows(){
// 首页那一行只在目录页出现,人不在那儿时不替它重取,否则会在别的页面上冒出来。
document.querySelectorAll('.feednew[data-feed-entity]').forEach(host=>{
- if(host.id==='feedNew'&&!isCatalogPath(location.pathname))return;
+ if(host.id==='feedNew'&&!isFeedNewPath(location.pathname))return;
void renderFeedNew(host,Number(host.dataset.feedEntity)||undefined);
});
// 资料页那一行在资料卡的岛里,换一份新作交给它。
@@ -6764,7 +6765,7 @@ async function loadCatalog(){
/* 新作那一行只在目录路径上出现:管理页、回收站这些页面回答的是别的问题,一行「外面出了
什么」摆在那里只是噪音。离开目录时要显式收起——它是 `#main` 的固定子节点,没人收就
一直挂在那儿。 */
- if(isCatalogPath(location.pathname))void renderFeedNew($('#feedNew'));
+ if(isFeedNewPath(location.pathname))void renderFeedNew($('#feedNew'));
else{$('#feedNew').hidden=true;$('#feedNew').innerHTML=''}
barsContext={type:'home',filters:state};detailReturnBarsContext=null;disposeStage(false);
if(state.state==='ads')return loadJunk(surface);
diff --git a/web/board.css b/web/board.css
index 62a72bb9f..c0c54076e 100644
--- a/web/board.css
+++ b/web/board.css
@@ -320,11 +320,9 @@ html.board-high-contrast .board-filter-frame.board-filter-frame.board-filter-fra
.followmanage.followmanage{width:100%;max-width:1120px}
.followmanage .fmain{width:100%;max-width:1120px;margin-inline:auto;gap:20px}
.followmanage .fmain>.fsec{border:0;border-radius:18px;background:var(--ground);overflow:visible}
-.followmanage .fmain>.fsec>.fsechead{background:transparent;padding:20px 24px 8px;border:0;border-radius:18px 18px 0 0;min-height:56px}
-.followmanage .fsechead h3{font-size:16px;font-weight:500;letter-spacing:0;line-height:24px}
+
.configfieldset.configfieldset:not([data-fieldset-type])>.geist-fieldset-footer,.cleanupfieldset.cleanupfieldset>.geist-fieldset-footer{background:var(--board-card-foot)}
-.followmanage .fmain>.fsec>.frows{padding:8px 24px}
-@media(max-width:760px){.followmanage .fmain>.fsec>.fsechead{padding:16px}.followmanage .fmain>.fsec>.frows{padding:8px 16px}}
+
.gridstack .card .pic{border-radius:var(--surface-radius);overflow:hidden}
.top{isolation:isolate}
body.board-scrolled .top{box-shadow:none;border-bottom:0}
@@ -358,7 +356,7 @@ body{background:var(--page)}
/* One sidebar, two states. Navigation and filters share the expanded panel. */
.followmanage .fmain>.fsec{padding:0}
-.followmanage .fmain>.fsec>.fsechead{margin:0}
+
:root{--railW:88px;--board-content:1120px}
body.drawer-open{--railW:296px}
.drawer{left:12px;top:12px;bottom:12px;width:272px;background:var(--ground);backdrop-filter:none;border:1px solid var(--line);border-radius:24px;transform:translateX(calc(-100% - 16px));box-shadow:0 2px 4px #00000003;transition:none}
@@ -977,7 +975,7 @@ html.board-high-contrast .settingscard.settingscard>.board-local-nav{background:
.configfieldset-heading{border:0;padding-bottom:0}.configfieldset{border:0}.configfieldset>.geist-fieldset-footer{border:0}.configfieldset .configfieldset-heading h2{margin:0}
.board-follow-list{display:grid;border-radius:16px;background:var(--ground);padding:8px 16px}.board-follow-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 12px;font-size:13px}.board-follow-selection>label{display:flex;gap:8px;align-items:center}.board-follow-selection>span{margin-right:auto;color:var(--muted)}
@media(max-width:760px){.board-follow-list{padding:8px}}
-@media(max-width:760px){body #manageTitle{width:100%}.followmanage .fsechead{gap:8px}}
+@media(max-width:760px){body #manageTitle{width:100%}}
/* 强调色的十一级色阶。机制照搬 BoardUI:主按钮、焦点环、链接、开关、选中态全都引用
`--color-accent-*`,换强调色就是把这十一个变量整组指到另一个色相,组件规则一个字不改。
@@ -1030,7 +1028,7 @@ html.board-high-contrast .settingscard.settingscard>.board-local-nav{background:
面板、筛选条、交集条和标签骨架都从它取值,一处改完五处一起走。 */
:root{--tag-radius:8px}
body,.disp{font-family:var(--board-font);letter-spacing:0}body{font:var(--board-body)}button,input,textarea,select{font-family:var(--board-font)}
-.pagetitle,.listtitle,body #manageTitle,.index .ihead h2,.indexheading,.playlistpage h2{font:var(--board-title);letter-spacing:0}.settingscard .settingshead h2,.configfieldset h2,.configfieldset h3,.cleanupfieldset h3,.followmanage .fsechead h3,.resourcesync>h2{font:var(--board-heading);letter-spacing:0}.metricstrip>button .board-stat-value,.tastesummary>.board-stat-value{font:var(--board-figure);letter-spacing:0}.drawer .dnav button,.board-library-rows button,.settingrow b{font:var(--board-body)}.fmeta,.settingrow small{font:var(--board-compact)}.board-stat-footer,.board-watch-measures small,.insighttoolbar p{font:var(--board-caption);letter-spacing:.15px}
+.pagetitle,.listtitle,body #manageTitle,.index .ihead h2,.indexheading,.playlistpage h2{font:var(--board-title);letter-spacing:0}.settingscard .settingshead h2,.configfieldset h2,.configfieldset h3,.cleanupfieldset h3,.resourcesync>h2{font:var(--board-heading);letter-spacing:0}.metricstrip>button .board-stat-value,.tastesummary>.board-stat-value{font:var(--board-figure);letter-spacing:0}.drawer .dnav button,.board-library-rows button,.settingrow b{font:var(--board-body)}.fmeta,.settingrow small{font:var(--board-compact)}.board-stat-footer,.board-watch-measures small,.insighttoolbar p{font:var(--board-caption);letter-spacing:.15px}
.geist-button,.resourceaction{background-color:var(--color-background-primary-default);border-color:var(--color-border-button-default);color:var(--color-text-primary);transition:background-color .15s ease,border-color .15s ease,color .15s ease}
/* 悬停只抬填充,那圈线一步不动:按钮静止态已经带一圈 1px,悬停再把它加深,
鼠标扫过一排次级键就是一排边框忽明忽暗,而键本身并没有变化。 */
@@ -1051,7 +1049,6 @@ body,.disp{font-family:var(--board-font);letter-spacing:0}body{font:var(--board-
.skeleton-segments>span{display:flex;align-items:center;padding:4px 10px;min-height:28px;border-radius:6px;color:var(--color-text-secondary);font:var(--board-body);white-space:nowrap}
.skeleton-segments>span.skeleton-segment-selected{color:var(--color-text-primary);font:var(--board-body-medium);background:var(--color-background-primary-default);box-shadow:var(--elevation-xs)}
.board-page-skeleton .qualitycover,.board-page-skeleton .pic{height:auto}
-.board-page-skeleton .dupcover{height:auto;min-height:0}
.board-page-skeleton .playlistcreate{min-width:200px}
.board-page-skeleton .mixcopy{flex:1}
.board-page-skeleton .mav{width:38px;height:38px;border-radius:50%}
@@ -1123,7 +1120,6 @@ body :is(button.danger,.batchbar button.danger):not(:disabled):active::before{op
.followmanage .ftableframe{border:1px solid var(--color-separator-border);border-radius:var(--surface-radius);background:var(--color-background-primary-default);overflow:hidden}.followmanage .ftablewrap{border-radius:0;background:transparent}.followmanage .ftable th{border-top:0}
.followmanage .ftable th{color:var(--color-text-tertiary);background:var(--color-background-secondary-default);border-color:var(--color-separator-border)}
.followmanage .ftable tbody tr{border-color:var(--color-separator-border)}
-@media(max-width:760px){.followmanage .fsechead .iconswitch{display:flex}}
/* 导航图形使用同宽槽位;logo 的透明边距按实际可见轮廓适配。 */
.board-home-logo{width:20px;height:20px}.drawer:not(.open) .dnav button:has(.board-home-logo){padding:8px}
@@ -1383,11 +1379,7 @@ body .followmanage .board-pagination>.geist-button{height:32px;min-height:32px;p
/* ── 表格:外框管边线与圆角,里层管横向滚动与两端渐隐。选中行是蓝色 8% 的一层底,不描蓝线(上游选中行样式未取得) ── */
.followmanage .ftable tbody tr{transition:background-color .15s ease}
.followmanage .ftable tbody tr:last-child{border-bottom:0}
-/* ── 分区标题行里的视图开关与同排按钮同高(36px):轨道 3px、选项 30px,图标 16px、1.8 描边与 fbtn 的字形同粗 ── */
-.followmanage .fsechead .iconswitch[data-board-segments]{padding:3px;border-radius:10px;gap:2px}
-.followmanage .fsechead .iconswitch[data-board-segments]>label{width:34px;height:30px;border-radius:7px}
-.followmanage .fsechead .iconswitch[data-board-segments]>.board-segment-thumb{border-radius:7px}
-.followmanage .fsechead .iconswitch svg{width:16px;height:16px;stroke-width:2}
+
/* ── 勾选框(boardui checkbox-glyph.tsx):未选 1px border-checkbox-default 加 shadow-xs,悬停边线深一档、底不变;
选中蓝渐变 + 内嵌高光;勾 2px 圆头,200ms cubic-bezier(.65,0,.35,1) 从零画出。tokens:亮 neutral-300/400,暗 neutral-600/500。
暗档的默认边线比上游 theme.css 的 neutral-700 亮一档:这颗框的底就是卡面色,形状全靠那 1px 说话,
@@ -1485,19 +1477,7 @@ body[data-surface="/review"] .reviewlist{grid-template-columns:repeat(auto-fill,
body .review-skeleton .reviewbulktoolbar{position:static;border-radius:16px;margin-bottom:20px;
padding:8px 12px;background:var(--color-background-full)}
body[data-surface="/duplicates"] #manageLede{display:none}
-/* 重复文件页的骨架:「批量保留」那条占位与分组卡。正文的玻璃条归 React 子树的 `[data-filter-glass]`。 */
-body[data-surface="/duplicates"] .dupactions{margin:0;padding:10px 16px;flex-wrap:wrap;gap:8px 10px;color:var(--glass-text)}
-body[data-surface="/duplicates"] .dupactions h3{margin:0 4px 0 0;font:var(--board-body-medium);color:inherit}
-/* 每组一张卡,头部比正文深一档,两块面自己就分得开,不靠一条细线。深色下正文 primary、头部
- secondary 本来就是这样;浅色下 primary 与页面同是白的,正文于是跟数据管理、复核那几张卡一样
- 落到 secondary,头部再深一档取 tertiary。 */
-body[data-surface="/duplicates"] .dupgroup{margin-bottom:24px;border-color:var(--line-soft);background:var(--color-background-primary-default)}
-body[data-surface="/duplicates"] .duphead{padding:20px;gap:12px;background:var(--color-background-secondary-default)}
-html:not(.dark) body[data-surface="/duplicates"] .dupgroup{background:var(--color-background-secondary-default)}
-html:not(.dark) body[data-surface="/duplicates"] .duphead{background:var(--color-background-tertiary-default)}
-body[data-surface="/duplicates"] .duprow{grid-template-columns:112px minmax(0,1fr) 84px 84px 84px;padding:16px 20px;gap:12px}
-.dupcover{grid-row:span 2;position:relative;aspect-ratio:16/10;padding:0;overflow:hidden;border:0;border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--muted);cursor:pointer;display:grid;place-items:center}
-body[data-surface="/duplicates"] .duppath{grid-column:2/-1}
+
.quality-workspace{max-width:var(--board-content);margin:auto}
body[data-surface="/quality-goals"] .qualitylist{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}
body[data-surface="/quality-goals"] .qualityitem{display:grid;grid-template-columns:150px minmax(0,1fr);grid-template-rows:1fr auto;gap:0 16px;padding:12px;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--surface-radius)}
@@ -1512,6 +1492,12 @@ body[data-surface="/junk-files"] #count{flex-direction:column;align-items:stretc
对不上的左边界。 */
body[data-surface="/junk-files"] :is(#count,#grid,#loadSentinel){width:100%;max-width:var(--board-content);margin-inline:auto}
body:is([data-surface="/junk-files"],[data-surface="/trash"]) .gridstack>.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}
+body[data-surface="/trash"] #grid{width:100%;max-width:var(--board-content);margin-inline:auto}
+/* 任务卡等待态与正文都在底部分隔栏放操作。 */
+[data-skeleton="cleanup"] [data-fieldset-stack]{display:flex;flex-direction:column;align-items:stretch}
+[data-skeleton="cleanup"] [data-fieldset-stack]>:is([data-geist-fieldset-content],.resourcesyncbody){padding:20px 20px 16px;min-height:120px}
+[data-skeleton="cleanup"] [data-fieldset-stack]>[data-geist-fieldset-footer]{padding:12px 20px;min-height:56px;border-top:1px solid var(--color-border-button-default);background:var(--board-card-foot);justify-content:flex-end}
+@media(max-width:760px){[data-skeleton="cleanup"] [data-fieldset-stack]>:is([data-geist-fieldset-content],.resourcesyncbody){padding:18px;min-height:0}[data-skeleton="cleanup"] [data-fieldset-stack]>[data-geist-fieldset-footer]{padding-inline:18px}}
body[data-surface="/trash"] #manageLede{padding:20px 24px;background:var(--color-background-primary-default);border-radius:var(--surface-radius);gap:16px;flex-wrap:wrap}
body[data-surface="/trash"] #manageLede>span{font:var(--board-heading)}
@media(max-width:900px){
@@ -1519,15 +1505,12 @@ body[data-surface="/trash"] #manageLede>span{font:var(--board-heading)}
body[data-surface="/review"] .review-workspace>.reviewcontrols{position:static;grid-column:1;grid-row:auto!important;margin-bottom:16px}
body[data-surface="/review"] .reviewtabs{flex-direction:row;flex-wrap:wrap}
body[data-surface="/review"] .review-workspace>:is(.reviewsection,.reviewbulktoolbar){grid-column:1}
- body[data-surface="/duplicates"] .duprow{grid-template-columns:88px minmax(0,1fr) auto auto}
- body[data-surface="/duplicates"] .dupcover{grid-row:span 2}
- body[data-surface="/duplicates"] .duppath{grid-column:1/-1}
+
}
@media(max-width:600px){
.collection-summary{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}
body[data-surface="/review"] .reviewtabs button{min-height:36px;padding:8px}
- body[data-surface="/duplicates"] .duphead{padding:16px}
- body[data-surface="/duplicates"] .duprow{padding:16px}
+
}
/* 批量条:隐藏的键真的隐藏(Board 的 inline-flex 曾压过 hidden);「加入回收站」用 error 按钮的红色渐变。 */
/* 批量条上那颗只是不在上面那份尺寸名单里,面色跟站内每一颗危险键同一份。 */
@@ -1569,20 +1552,18 @@ body .batchbar button[hidden],body .batchbar button.danger[hidden]{display:none}
.fmanagenav>button>span{padding:1px 5px;border-radius:var(--badge-radius);background:var(--picked);color:var(--muted);font:var(--board-caption);font-variant-numeric:tabular-nums}
.followmanage .fmain>[data-follow-panel][hidden]{display:none}
.followmanage .fmain>[data-follow-panel=sources]{background:transparent}
-.followmanage .fmain>[data-follow-panel=sources]>.fsechead{padding:0 0 16px;min-height:48px;gap:10px}
-.followmanage [data-follow-panel=sources]>.fsechead h3{font:var(--board-body-medium)}
+
.followmanage .fmain>[data-follow-panel=sources]>.board-follow-selection{padding:12px 16px;background:var(--ground);border-radius:var(--surface-radius) var(--surface-radius) 0 0;border-bottom:1px solid var(--line-soft)}
.followmanage [data-follow-panel=sources] .board-follow-list{gap:0;background:var(--ground);border-radius:0 0 var(--surface-radius) var(--surface-radius);overflow:hidden}
.followmanage [data-follow-panel=sources] .ftableframe{border-top:0;border-radius:0 0 var(--surface-radius) var(--surface-radius)}
.followmanage .fmain>[data-follow-panel=add]{max-width:812px;width:100%;justify-self:center}
-.followmanage .fmain>[data-follow-panel=credentials]>.frows{gap:0;background:var(--ground);border-radius:var(--surface-radius);overflow:hidden}
+
@media(max-width:760px){
.followmanage .fmanageoverview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fmanageoverview>div{padding:16px;gap:8px}
.followmanage .fmanagenav{gap:4px}
.fmanagenav>button{padding-inline:8px;gap:6px}
- .followmanage .fmain>[data-follow-panel=sources]>.fsechead{padding:0 0 12px}
- .followmanage [data-follow-panel=sources]>.fsechead h3{flex-basis:100%}
+
.followmanage .fmain>[data-follow-panel=sources]>.board-follow-selection{padding:12px}
}
diff --git a/web/css/05-insights.css b/web/css/05-insights.css
index 67efc15a2..4d3399958 100644
--- a/web/css/05-insights.css
+++ b/web/css/05-insights.css
@@ -1,6 +1,6 @@
/* 统计页与口味页的等待态版式:指标带、主详情、同层数据面板。
两页的正文都归 React(ADR-0031),这里留下的是遗留壳铺的那张骨架读到的层级。 */
-.insightpage,.tastepage{width:min(1100px,100%);margin:0 auto;padding:0 0 48px;min-width:0}.statsdashboard{display:grid;gap:16px}
+.insightpage,.tastepage{width:min(1100px,100%);margin:0 auto;padding:0 0 48px;min-width:0}
.insighttoolbar,.tastehead{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap}
.insighttoolbar p{margin:0;color:var(--muted);font-size:var(--fs-xs)}
.insightswitch{display:inline-flex;padding:3px;border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--ground)}.insightswitch label{cursor:pointer}.insightswitch input{position:absolute;opacity:0;pointer-events:none}.insightswitch span{height:30px;display:grid;place-items:center;padding:0 12px;border-radius:var(--control-radius);color:var(--muted);font-size:var(--fs-sm)}.insightswitch input:checked+span{background:var(--picked);color:var(--ink);font-weight:500}.insightswitch input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:-2px}
diff --git a/web/css/11-identity.css b/web/css/11-identity.css
index e37104261..ddf7a695b 100644
--- a/web/css/11-identity.css
+++ b/web/css/11-identity.css
@@ -7,19 +7,7 @@
.listtitle,.managetitle,.follow>.pagetitle{margin:0 0 20px}
.managetitle:has(+.pagelede:not([hidden])){margin-bottom:8px}
.listtitle[hidden],.managetitle[hidden]{display:none}
-/* 重复文件页的正文归 React 子树(ADR-0031)。下面几条只服务遗留骨架,「批量保留」那条的
- 几何与材质归 board.css 的 `body[data-surface="/duplicates"]` 一组。 */
-.dupactions{display:flex;align-items:center;gap:8px;margin-bottom:16px}
-.dupgroup{border:1px solid var(--overlay-10);border-radius:var(--surface-radius);margin-bottom:12px;overflow:hidden}
-.duphead{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--overlay-5);flex-wrap:wrap}
-.duprow{display:grid;grid-template-columns:96px minmax(0,1fr) 84px 84px 84px;gap:10px;
- align-items:center;padding:7px 12px;border-top:1px solid var(--overlay-5)}
-.duppath{grid-column:2/-1;min-width:0;overflow:hidden;white-space:nowrap;
- padding-top:2px;color:var(--muted)}
-.dupname{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-align:left;
- border:0;background:transparent;color:inherit;cursor:pointer;padding:0}
-.dupmarks{display:flex;flex:none;gap:4px}
-.dupmarks:empty{display:none}
+
/* 高清版目标页的正文归 React 子树(ADR-0031)。这两条只服务遗留骨架的那几张空卡,
列数、间距与卡片几何由 `board.css` 的 `body[data-surface="/quality-goals"]` 那组给。 */
.qualitylist{display:grid}
diff --git a/web/css/22-followmanage.css b/web/css/22-followmanage.css
index 26db134c9..9a37a69ec 100644
--- a/web/css/22-followmanage.css
+++ b/web/css/22-followmanage.css
@@ -12,20 +12,6 @@
/* 容器:发丝边 + 比页面亮一档的表面。内部的行不再各自套框。 */
.fsec{min-width:0;border:1px solid var(--field-ring);border-radius:var(--surface-radius);
background:var(--ground);padding:14px 16px 16px}
-/* 面板上下异色:头部条通到卡边(负边距抵消内边距),正文是全站最亮的 --ground,
- 那条横条落到 --page 并带一条发丝线;圆角随卡收口。 */
-.fsechead{display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-sizing:border-box;min-height:56px;
- margin:-14px -16px 12px;padding:11px 16px;background:var(--overlay-5);
- border-bottom:1px solid var(--line-soft);border-radius:calc(var(--surface-radius) - 1px) calc(var(--surface-radius) - 1px) 0 0}
-.fsechead h3{margin:0;font-size:var(--fs-md);font-weight:600;letter-spacing:.01em}
-/* 排序框照 Geist Select 的 prefix 做法:图标压在框内左侧,不在框外挂一个文字标签。
- Geist 的文字 Label 是块级、排在控件上方(block ... mb-2),行内并排那种写法它没有;
- 而工具行里既没有上方空间,图标又足够把下拉框和普通按钮区分开。 */
-/* 版式开关和排序框、按钮同处分区标题行,一起收到 --control-h 上(内边距 2px + 1px 边框
- 凑齐同一个外高)。这一行不给自己开小一号的档:同排三个控件里只有下拉缩了尺寸和字号,
- 读起来就是一个点不动的说明标签,而它恰恰是这行里唯一能改变列表内容的控件。 */
-.fsechead .iconswitch{display:inline-flex;gap:2px;flex:none;padding:2px}
-.fsechead .iconswitch label{width:34px;height:32px}
/* Geist Note:字段、卡片、分区旁的持久上下文,以及需要用户处理的失败,全部走这里。
瞬时回执用 toast,销毁确认用 dialog/confirm。整页范围的失败也是这个盒子,只是多
@@ -70,17 +56,11 @@
总在同一条竖线上,换行之后也还在这一横条的右端。 */
@media(max-width:600px){.project-banner{justify-content:flex-start}.project-banner>a{margin-left:auto}}
-
/* 检查失败明细持续保留到状态解决,复用 Note 的边界、图标和语义色。 */
.fwarn{grid-template-columns:16px minmax(0,1fr);margin:10px 0 14px}
.fwarn>span{min-width:0}
.fwarn p{margin:0}
-/* 卡片内部的行:只用分隔线,不套框——框里再套框正是要避开的那条。 */
-/* grid 项默认 min-width:auto,最宽的一行会把整列撑出容器——窄的那一栏尤其明显。
- 容器和每一项都要显式 min-width:0 才会真的收缩。 */
-.frows{display:grid;min-width:0}
-.frows>*{min-width:0}
/* 表格视图。数值取自 boardui.com/components/data-table 的 `.bui-table`(2026-09-08,
登记见 docs/BOARD_UI.md):表头与格子都是 10px 12px 内边距、14/20、竖直居中;表头
500 字重、次要字色、次级底色、上下各一条分隔线;正文行只有一条下边线,悬停不换底。
@@ -92,12 +72,6 @@
border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.ftable tbody tr{border-bottom:1px solid var(--line-soft)}
.ftable tbody tr:last-child{border-bottom:0}
-.frow{display:flex;align-items:center;gap:12px;padding:9px 0;flex-wrap:wrap;
- border-bottom:1px solid var(--border-10)}
-.frows>.frow:last-child{border-bottom:0}
-.frows>.frow:last-child[open]{border-bottom:0}
-.frow>b{flex:1 1 180px;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;
- white-space:nowrap}
/* 进度面板与它上下的分区是同一档容器:发丝边 --field-ring 加 --ground 的面。
`--border-10` 配 `--surface` 会让它在同一列里比 `.fsec` 亮一档、边又淡一档,
@@ -120,8 +94,7 @@
@media (max-width:640px){
.fsec{padding:12px 13px 14px}
- .fsechead{margin:-12px -13px 12px;padding:12px 13px}
- .frow{gap:8px}
+
}
/* 关注页底部:两个翻页动作同属列表末尾,放在一条底栏;
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index cdd87d331..6e48c7a78 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\.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}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-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-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{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);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;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}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:hover [data-follow-collection]{display:none}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@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 #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [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{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-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\.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}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-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-background-tertiary-default{color:var(--color-background-tertiary-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-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{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);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;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}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:hover [data-follow-collection]{display:none}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@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 #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [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);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-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 10a3cb8fd..7b9c8a44e 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -9212,7 +9212,7 @@ function Eg() {
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var Dg = Symbol.for("react-aria.i18n.locale"), Og = Symbol.for("react-aria.i18n.strings"), kg = void 0, Ag = class e {
+var uee = Symbol.for("react-aria.i18n.locale"), Dg = Symbol.for("react-aria.i18n.strings"), Og = void 0, kg = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -9223,39 +9223,39 @@ var Dg = Symbol.for("react-aria.i18n.locale"), Og = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = jg(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = Ag(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[Dg];
- if (kg === void 0) {
- let t = window[Og];
+ let n = window[uee];
+ if (Og === void 0) {
+ let t = window[Dg];
if (!t) return null;
- kg = {};
- for (let r in t) kg[r] = new e({ [n]: t[r] }, n);
+ Og = {};
+ for (let r in t) Og[r] = new e({ [n]: t[r] }, n);
}
- let r = kg?.[t];
+ let r = Og?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function jg(e, t, n = "en-US") {
+function Ag(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = Mg(e), i = Ng(e);
+ let r = jg(e), i = Mg(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function Mg(e) {
+function jg(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Ng(e) {
+function Mg(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Pg = /* @__PURE__ */ new Map(), Fg = /* @__PURE__ */ new Map(), uee = class {
+var Ng = /* @__PURE__ */ new Map(), Pg = /* @__PURE__ */ new Map(), dee = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -9266,37 +9266,37 @@ var Pg = /* @__PURE__ */ new Map(), Fg = /* @__PURE__ */ new Map(), uee = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Pg.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Pg.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Ng.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ng.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Fg.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Fg.set(this.locale, t)), t.format(e);
+ let t = Pg.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Pg.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Ig = /* @__PURE__ */ new WeakMap();
-function dee(e) {
- let t = Ig.get(e);
- return t || (t = new Ag(e), Ig.set(e, t)), t;
+}, Fg = /* @__PURE__ */ new WeakMap();
+function fee(e) {
+ let t = Fg.get(e);
+ return t || (t = new kg(e), Fg.set(e, t)), t;
}
-function fee(e, t) {
- return t && Ag.getGlobalDictionaryForPackage(t) || dee(e);
+function pee(e, t) {
+ return t && kg.getGlobalDictionaryForPackage(t) || fee(e);
}
-function Lg(e, t) {
- let { locale: n } = Eg(), r = fee(e, t);
- return (0, I.useMemo)(() => new uee(n, r), [n, r]);
+function Ig(e, t) {
+ let { locale: n } = Eg(), r = pee(e, t);
+ return (0, I.useMemo)(() => new dee(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var pee = /* @__PURE__ */ new Set(["id"]), mee = /* @__PURE__ */ new Set([
+var mee = /* @__PURE__ */ new Set(["id"]), hee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), hee = /* @__PURE__ */ new Set([
+]), gee = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -9304,52 +9304,52 @@ var pee = /* @__PURE__ */ new Set(["id"]), mee = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), gee = /* @__PURE__ */ new Set([
+]), _ee = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), Rg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), _ee = /^(data-.*)$/;
-function zg(e, t = {}) {
+]), Lg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), vee = /^(data-.*)$/;
+function Rg(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (pee.has(t) || n && mee.has(t) || r && hee.has(t) || i && gee.has(t) || a && (Rg.has(t) || t.endsWith("Capture") && Rg.has(t.slice(0, -7))) || o?.has(t) || _ee.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (mee.has(t) || n && hee.has(t) || r && gee.has(t) || i && _ee.has(t) || a && (Lg.has(t) || t.endsWith("Capture") && Lg.has(t.slice(0, -7))) || o?.has(t) || vee.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Bg = "default", Vg = "", Hg = /* @__PURE__ */ new WeakMap();
-function vee(e) {
+var zg = "default", Bg = "", Vg = /* @__PURE__ */ new WeakMap();
+function yee(e) {
if (rm() && am()) {
- if (Bg === "default") {
+ if (zg === "default") {
let t = xp(e);
- Vg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ Bg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- Bg = "disabled";
+ zg = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Hg.set(e, e.style[t]), e.style[t] = "none";
+ Vg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Ug(e) {
+function Hg(e) {
if (rm() && am()) {
- if (Bg !== "disabled") return;
- Bg = "restoring", setTimeout(() => {
+ if (zg !== "disabled") return;
+ zg = "restoring", setTimeout(() => {
oh(() => {
- if (Bg === "restoring") {
+ if (zg === "restoring") {
let t = xp(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Vg || ""), Vg = "", Bg = "default";
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Bg || ""), Bg = "", zg = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Hg.has(e)) {
- let t = Hg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Hg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Vg.has(e)) {
+ let t = Vg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Vg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function yee(e, t) {
+function bee(e, t) {
let n = Sp(t), r = xp(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
@@ -9357,18 +9357,18 @@ function yee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Wg = /* @__PURE__ */ new WeakMap();
-function Gg(e) {
- let t = xp(e), n = Wg.get(t);
- return n ??= yee("csp-nonce", t), n !== void 0 && Wg.set(t, n), n;
+var Ug = /* @__PURE__ */ new WeakMap();
+function Wg(e) {
+ let t = xp(e), n = Ug.get(t);
+ return n ??= bee("csp-nonce", t), n !== void 0 && Ug.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var Kg = I.createContext({ register: () => {} });
-Kg.displayName = "PressResponderContext";
+var Gg = I.createContext({ register: () => {} });
+Gg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function qg() {
+function Kg() {
let e = (0, I.useRef)(/* @__PURE__ */ new Map()), t = (0, I.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -9395,15 +9395,15 @@ function qg() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Jg(e) {
- let t = (0, I.useContext)(Kg);
+function qg(e) {
+ let t = (0, I.useContext)(Gg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
return Lh(t, e.ref), e;
}
-var Yg = class {
+var Jg = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -9416,9 +9416,9 @@ var Yg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Xg = Symbol("linkClicked"), Zg = "react-aria-pressable-style", Qg = "data-react-aria-pressable";
-function $g(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Jg(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
+}, Yg = Symbol("linkClicked"), Xg = "react-aria-pressable-style", Zg = "data-react-aria-pressable";
+function Qg(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = qg(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9428,12 +9428,12 @@ function $g(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = qg(), y = (0, I.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Kg(), y = (0, I.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new Yg("pressstart", t, e);
+ let n = new Jg("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9447,11 +9447,11 @@ function $g(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new Yg("pressend", r, e);
+ let t = new Jg("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new Yg("press", r, e);
+ let n = new Jg("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9465,14 +9465,14 @@ function $g(e) {
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new Yg("pressup", t, e);
+ let r = new Jg("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, I.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(n_(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Ug(t.target);
+ t.didFirePressStart && t.pointerType != null && b(t_(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Hg(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9502,13 +9502,13 @@ function $g(e) {
}, [s, o]), O = (0, I.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (t_(t.nativeEvent, t.currentTarget) && jp(t.currentTarget, V(t))) {
- r_(V(t), t.key) && t.preventDefault();
+ if (e_(t.nativeEvent, t.currentTarget) && jp(t.currentTarget, V(t))) {
+ n_(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
_(xp(t.currentTarget), "keyup", ch((t) => {
- t_(t, i) && !t.repeat && jp(i, V(t)) && e.target && S(n_(e.target, t), "keyboard");
+ e_(t, i) && !t.repeat && jp(i, V(t)) && e.target && S(t_(e.target, t), "keyboard");
}, n), !0), r && t.stopPropagation(), t.metaKey && em() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
@@ -9519,17 +9519,17 @@ function $g(e) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(n_(t.currentTarget, t), r), a = x(n_(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(t_(t.currentTarget, t), r), a = x(t_(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && t_(t, e.target)) {
- r_(V(t), t.key) && t.preventDefault();
+ if (e.isPressed && e.target && e_(t, e.target)) {
+ n_(V(t), t.key) && t.preventDefault();
let n = V(t), r = jp(e.target, n);
- x(n_(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && e_(e.target) && jp(e.target, n) && !t[Xg] && (t[Xg] = !0, mm(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ x(t_(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && $g(e.target) && jp(e.target, n) && !t[Yg] && (t[Yg] = !0, mm(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9546,7 +9546,7 @@ function $g(e) {
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || vee(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || yee(e.target), i = y(t, e.pointerType);
let a = V(t);
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(xp(t.currentTarget), "pointerup", n, !1), _(xp(t.currentTarget), "pointercancel", r, !1);
}
@@ -9562,9 +9562,9 @@ function $g(e) {
}, t.onPointerUp = (t) => {
!jp(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(n_(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(t_(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(n_(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(t_(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
@@ -9598,13 +9598,13 @@ function $g(e) {
return (0, I.useEffect)(() => {
if (!f) return;
let e = xp(f.current);
- if (!e || !e.head || e.getElementById(Zg)) return;
+ if (!e || !e.head || e.getElementById(Xg)) return;
let t = e.createElement("style");
- t.id = Zg;
- let n = Gg(e);
+ t.id = Xg;
+ let n = Wg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Qg}] {
+ [${Zg}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -9612,23 +9612,23 @@ function $g(e) {
}, [f]), (0, I.useEffect)(() => {
let e = g.current;
return () => {
- d || Ug(e.target ?? void 0);
+ d || Hg(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, O, { [Qg]: !0 })
+ pressProps: H(p, O, { [Zg]: !0 })
};
}
-function e_(e) {
+function $g(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function t_(e, t) {
+function e_(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Sp(i).HTMLInputElement && !i_(i, n) || i instanceof Sp(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && e_(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Sp(i).HTMLInputElement && !r_(i, n) || i instanceof Sp(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && $g(i)) && n !== "Enter");
}
-function n_(e, t) {
+function t_(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9641,13 +9641,13 @@ function n_(e, t) {
key: t.key
};
}
-function bee(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !e_(e);
+function xee(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !$g(e);
}
-function r_(e, t) {
- return em() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !i_(e, t) : bee(e);
+function n_(e, t) {
+ return em() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !r_(e, t) : xee(e);
}
-var xee = /* @__PURE__ */ new Set([
+var See = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9658,12 +9658,12 @@ var xee = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function i_(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : xee.has(e.type);
+function r_(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : See.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function See(e, t) {
+function Cee(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9685,7 +9685,7 @@ function See(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = $g({
+ let { pressProps: _, isPressed: v } = Qg({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9697,7 +9697,7 @@ function See(e, t) {
ref: t
}), { focusableProps: y } = Bh(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, zg(e, { labelable: !0 }));
+ let b = H(y, _, Rg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9712,7 +9712,7 @@ function See(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Cee = class {
+var wee = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9815,45 +9815,45 @@ var Cee = class {
return null;
}
};
-function a_(e, t, n, r) {
- return Ap() ? new Cee(e, t, n, r) : e.createTreeWalker(t, n, r);
+function i_(e, t, n, r) {
+ return Ap() ? new wee(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var o_ = /*#__PURE__*/ I.createContext(null), s_ = "react-aria-focus-scope-restore", c_ = null;
-function l_(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(o_) || {}, l = (0, I.useMemo)(() => new C_({ scopeRef: s }), [s]);
+var a_ = /*#__PURE__*/ I.createContext(null), o_ = "react-aria-focus-scope-restore", s_ = null;
+function c_(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(a_) || {}, l = (0, I.useMemo)(() => new S_({ scopeRef: s }), [s]);
Gp(() => {
- let e = c || w_.root;
- if (w_.getTreeNode(e.scopeRef) && c_ && !h_(c_, e.scopeRef)) {
- let t = w_.getTreeNode(c_);
+ let e = c || C_.root;
+ if (C_.getTreeNode(e.scopeRef) && s_ && !m_(s_, e.scopeRef)) {
+ let t = C_.getTreeNode(s_);
t && (e = t);
}
- e.addChild(l), w_.addNode(l);
+ e.addChild(l), C_.addNode(l);
}, [l, c]), Gp(() => {
- let e = w_.getTreeNode(s);
+ let e = C_.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), Gp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(s_, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(o_, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(s_, n);
+ for (let e of t) e.removeEventListener(o_, n);
};
- }, [t]), Aee(s, r, n), Dee(s, n), jee(s, r, n), kee(s, i), (0, I.useEffect)(() => {
+ }, [t]), jee(s, r, n), Oee(s, n), Mee(s, r, n), Aee(s, i), (0, I.useEffect)(() => {
let e = Mp(xp(s.current ? s.current[0] : void 0)), t = null;
- if (p_(e, s.current)) {
- for (let n of w_.traverse()) n.scopeRef && p_(e, n.scopeRef.current) && (t = n);
- t === w_.getTreeNode(s) && (c_ = t.scopeRef);
+ if (f_(e, s.current)) {
+ for (let n of C_.traverse()) n.scopeRef && f_(e, n.scopeRef.current) && (t = n);
+ t === C_.getTreeNode(s) && (s_ = t.scopeRef);
}
}, [s]), Gp(() => () => {
- let e = w_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === c_ || h_(s, c_)) && (!e || w_.getTreeNode(e)) && (c_ = e), w_.removeTreeNode(s);
+ let e = C_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === s_ || m_(s, s_)) && (!e || C_.getTreeNode(e)) && (s_ = e), C_.removeTreeNode(s);
}, [s]);
- let u = (0, I.useMemo)(() => wee(s), []), d = (0, I.useMemo)(() => ({
+ let u = (0, I.useMemo)(() => Tee(s), []), d = (0, I.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ I.createElement(o_.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
+ return /*#__PURE__*/ I.createElement(a_.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9863,68 +9863,68 @@ function l_(e) {
ref: o
}));
}
-function wee(e) {
+function Tee(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[0].previousElementSibling, l = x_(u_(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[0].previousElementSibling, l = b_(l_(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = p_(s, n) ? s : c;
+ l.currentNode = f_(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && g_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && h_(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = x_(u_(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = b_(l_(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = p_(s, n) ? s : c;
+ l.currentNode = f_(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && g_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && h_(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = x_(u_(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = b_(l_(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && g_(o, !0), o;
+ return o && h_(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = x_(u_(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = b_(l_(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && g_(o, !0), o;
+ return o && h_(o, !0), o;
}
};
}
-function u_(e) {
+function l_(e) {
return e[0].parentElement;
}
-function d_(e) {
- let t = w_.getTreeNode(c_);
+function u_(e) {
+ let t = C_.getTreeNode(s_);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Tee(e) {
+function Eee(e) {
if (!e.form) return Array.from(xp(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = Sp(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Eee(e) {
+function Dee(e) {
if (e.checked) return !0;
- let t = Tee(e);
+ let t = Eee(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Dee(e, t) {
+function Oee(e, t) {
let n = (0, I.useRef)(void 0), r = (0, I.useRef)(void 0);
Gp(() => {
let i = e.current;
@@ -9933,23 +9933,23 @@ function Dee(e, t) {
return;
}
let a = xp(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !d_(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !u_(e) || t.isComposing) return;
let n = Mp(a), r = e.current;
- if (!r || !p_(n, r)) return;
- let i = x_(u_(r), { tabbable: !0 }, r);
+ if (!r || !f_(n, r)) return;
+ let i = b_(l_(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (g_(o, !0), o instanceof Sp(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (h_(o, !0), o instanceof Sp(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!c_ || h_(c_, e)) && p_(V(t), e.current) ? (c_ = e, n.current = V(t)) : d_(e) && !m_(V(t), e) ? n.current ? g_(n.current) : c_ && c_.current && v_(c_.current) : d_(e) && (n.current = V(t));
+ (!s_ || m_(s_, e)) && f_(V(t), e.current) ? (s_ = e, n.current = V(t)) : u_(e) && !p_(V(t), e) ? n.current ? h_(n.current) : s_ && s_.current && __(s_.current) : u_(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = Ym(), i = (r === "virtual" || r === null) && sm() && om(), o = Mp(a);
- if (!i && o && d_(e) && !m_(o, e)) {
- c_ = e;
+ if (!i && o && u_(e) && !p_(o, e)) {
+ s_ = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, g_(n.current)) : c_.current && v_(c_.current);
+ r && r.isConnected ? (n.current = r, h_(n.current)) : s_.current && __(s_.current);
}
});
};
@@ -9960,29 +9960,29 @@ function Dee(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function f_(e) {
- return m_(e);
+function d_(e) {
+ return p_(e);
}
-function p_(e, t) {
+function f_(e, t) {
return !e || !t ? !1 : t.some((t) => jp(t, e));
}
-function m_(e, t = null) {
+function p_(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of w_.traverse(w_.getTreeNode(t))) if (n && p_(e, n.current)) return !0;
+ for (let { scopeRef: n } of C_.traverse(C_.getTreeNode(t))) if (n && f_(e, n.current)) return !0;
return !1;
}
-function Oee(e) {
- return m_(e, c_);
+function kee(e) {
+ return p_(e, s_);
}
-function h_(e, t) {
- let n = w_.getTreeNode(t)?.parent;
+function m_(e, t) {
+ let n = C_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function g_(e, t = !1) {
+function h_(e, t = !1) {
if (e != null && !t) try {
sh(e);
} catch {}
@@ -9990,27 +9990,27 @@ function g_(e, t = !1) {
e.focus();
} catch {}
}
-function __(e, t = !0) {
- let n = e[0].previousElementSibling, r = u_(e), i = x_(r, { tabbable: t }, e);
+function g_(e, t = !0) {
+ let n = e[0].previousElementSibling, r = l_(e), i = b_(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = u_(e), i = x_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = l_(e), i = b_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function v_(e, t = !0) {
- g_(__(e, t));
+function __(e, t = !0) {
+ h_(g_(e, t));
}
-function kee(e, t) {
+function Aee(e, t) {
let n = I.useRef(t);
(0, I.useEffect)(() => {
- n.current && (c_ = e, !p_(Mp(xp(e.current ? e.current[0] : void 0)), c_.current) && e.current && v_(e.current)), n.current = !1;
+ n.current && (s_ = e, !f_(Mp(xp(e.current ? e.current[0] : void 0)), s_.current) && e.current && __(e.current)), n.current = !1;
}, [e]);
}
-function Aee(e, t, n) {
+function jee(e, t, n) {
Gp(() => {
if (t || n) return;
let r = e.current, i = xp(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- p_(n, e.current) ? c_ = e : f_(n) || (c_ = null);
+ f_(n, e.current) ? s_ = e : d_(n) || (s_ = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -10021,21 +10021,21 @@ function Aee(e, t, n) {
n
]);
}
-function y_(e) {
- let t = w_.getTreeNode(c_);
+function v_(e) {
+ let t = C_.getTreeNode(s_);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function jee(e, t, n) {
+function Mee(e, t, n) {
let r = (0, I.useRef)(typeof document < "u" ? Mp(xp(e.current ? e.current[0] : void 0)) : null);
Gp(() => {
let r = e.current, i = xp(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!c_ || h_(c_, e)) && p_(Mp(i), e.current) && (c_ = e);
+ (!s_ || m_(s_, e)) && f_(Mp(i), e.current) && (s_ = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -10044,20 +10044,20 @@ function jee(e, t, n) {
let r = xp(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !d_(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !u_(e) || t.isComposing) return;
let n = r.activeElement;
- if (!m_(n, e) || !y_(e)) return;
- let i = w_.getTreeNode(e);
+ if (!p_(n, e) || !v_(e)) return;
+ let i = C_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = x_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = b_(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !m_(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !p_(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (m_(s, e));
- t.preventDefault(), t.stopPropagation(), s ? g_(s, !0) : f_(a) ? g_(a, !0) : n.blur();
+ while (p_(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? h_(s, !0) : d_(a) ? h_(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -10070,28 +10070,28 @@ function jee(e, t, n) {
]), Gp(() => {
let n = xp(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = w_.getTreeNode(e);
+ let i = C_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = w_.getTreeNode(e);
+ let r = C_.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = Mp(n);
- if (t && i && (a && m_(a, e) || a === n.body && y_(e))) {
- let t = w_.clone();
+ if (t && i && (a && p_(a, e) || a === n.body && v_(e))) {
+ let t = C_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- b_(n.nodeToRestore);
+ y_(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && w_.getTreeNode(n.scopeRef)) {
- let e = __(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && C_.getTreeNode(n.scopeRef)) {
+ let e = g_(n.scopeRef.current, !0);
if (e) {
- b_(e);
+ y_(e);
return;
}
}
@@ -10103,21 +10103,21 @@ function jee(e, t, n) {
};
}, [e, t]);
}
-function b_(e) {
- e.dispatchEvent(new CustomEvent(s_, {
+function y_(e) {
+ e.dispatchEvent(new CustomEvent(o_, {
bubbles: !0,
cancelable: !0
- })) && g_(e);
+ })) && h_(e);
}
-function x_(e, t, n) {
- let r = t?.tabbable ? Up : Hp, i = xp(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = a_(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return jp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Eee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || p_(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function b_(e, t, n) {
+ let r = t?.tabbable ? Up : Hp, i = xp(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = i_(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return jp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Dee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || f_(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var S_ = class e {
+var x_ = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new C_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new S_({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -10128,7 +10128,7 @@ var S_ = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new C_({ scopeRef: e });
+ let i = new S_({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -10139,7 +10139,7 @@ var S_ = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && p_(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && f_(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -10151,7 +10151,7 @@ var S_ = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, C_ = class {
+}, S_ = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -10161,13 +10161,13 @@ var S_ = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, w_ = new S_(), T_ = 7e3, E_ = null;
-function D_(e, t = "assertive", n = T_) {
- E_ ? E_.announce(e, t, n) : (E_ = new O_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? E_.announce(e, t, n) : setTimeout(() => {
- E_?.isAttached() && E_?.announce(e, t, n);
+}, C_ = new x_(), w_ = 7e3, T_ = null;
+function E_(e, t = "assertive", n = w_) {
+ T_ ? T_.announce(e, t, n) : (T_ = new D_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? T_.announce(e, t, n) : setTimeout(() => {
+ T_?.isAttached() && T_?.announce(e, t, n);
}, 100));
}
-var O_ = class {
+var D_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -10192,7 +10192,7 @@ var O_ = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = T_) {
+ announce(e, t = "assertive", n = w_) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -10205,7 +10205,7 @@ var O_ = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function k_(e, t) {
+function O_(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = _g(e);
(0, I.useEffect)(() => (n.current = !0, () => {
n.current = !1;
@@ -10216,31 +10216,31 @@ function k_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function A_(e, t) {
+function k_(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function j_(e, t) {
+function A_(e, t) {
let n = e;
- for (A_(n, t) && (n = n.parentElement); n && !A_(n, t);) n = n.parentElement;
+ for (k_(n, t) && (n = n.parentElement); n && !k_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function M_(e, t) {
+function j_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (A_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (k_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function N_(e, t, n = {}) {
- e !== t && Mee(e, t, t.getBoundingClientRect(), n);
+function M_(e, t, n = {}) {
+ e !== t && Nee(e, t, t.getBoundingClientRect(), n);
}
-function Mee(e, t, n, r = {}) {
+function Nee(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, F = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
rm() && am() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
let ae = k < ne || A > F, oe = j < re || M > ie;
@@ -10263,7 +10263,7 @@ function Mee(e, t, n, r = {}) {
top: o
});
}
-function P_(e, t = {}) {
+function N_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -10276,46 +10276,46 @@ function P_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = M_(e, !0);
- for (let t of i) N_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = j_(e, !0);
+ for (let t of i) M_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? M_(n, !0) : [];
- for (let e of i) N_(e, n, {
+ i = n ? j_(n, !0) : [];
+ for (let e of i) M_(e, n, {
block: "center",
inline: "center"
});
- for (let t of M_(e, !0)) N_(t, e);
+ for (let t of j_(e, !0)) M_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Nee = 0, F_ = /* @__PURE__ */ new Map();
-function I_(e) {
+var Pee = 0, P_ = /* @__PURE__ */ new Map();
+function F_(e) {
let [t, n] = (0, I.useState)();
return Gp(() => {
if (!e) return;
- let t = F_.get(e);
+ let t = P_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Nee++}`;
+ let r = `react-aria-description-${Pee++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, F_.set(e, t);
+ }, P_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), F_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), P_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function L_(e, t, n) {
+function I_(e, t, n) {
let r = _g((e) => {
n && !e.defaultPrevented && n(t);
});
@@ -10328,12 +10328,12 @@ function L_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function R_(e, t, n) {
+function L_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
Gp(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Fee(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Iee(n.current));
}
});
let a = (0, I.useRef)(!1), o = _g(() => {
@@ -10341,7 +10341,7 @@ function R_(e, t, n) {
}), s = _g((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Iee(r) === n.current && (i ? i() : n.current?.focus(), Xm("keyboard")), e.preventDefault();
+ !e.defaultPrevented && n && r && Lee(r) === n.current && (i ? i() : n.current?.focus(), Xm("keyboard")), e.preventDefault();
}), c = _g(() => {
t.commitValidation();
});
@@ -10356,7 +10356,7 @@ function R_(e, t, n) {
};
}, [n, r]);
}
-function Pee(e) {
+function Fee(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10372,14 +10372,14 @@ function Pee(e) {
valid: t.valid
};
}
-function Fee(e) {
+function Iee(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Pee(e),
+ validationDetails: Fee(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Iee(e) {
+function Lee(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10388,7 +10388,7 @@ function Iee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Lee(e = !0) {
+function Ree(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -10396,8 +10396,8 @@ function Lee(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function z_(e = !0) {
- let t = mh(), [n, r] = Lee(e);
+function R_(e = !0) {
+ let t = mh(), [n, r] = Ree(e);
return {
id: r ? t : void 0,
ref: n
@@ -10405,7 +10405,7 @@ function z_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var B_ = {
+var z_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10417,18 +10417,18 @@ var B_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, V_ = {
- ...B_,
+}, B_ = {
+ ...z_,
customError: !0,
valid: !1
-}, H_ = {
+}, V_ = {
isInvalid: !1,
- validationDetails: B_,
+ validationDetails: z_,
validationErrors: []
-}, Ree = (0, I.createContext)({}), U_ = "__reactAriaFormValidationState";
-function W_(e) {
+}, zee = (0, I.createContext)({}), H_ = "__reactAriaFormValidationState";
+function U_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[U_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[H_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10437,71 +10437,71 @@ function W_(e) {
commitValidation: a
};
}
- return zee(e);
+ return Bee(e);
}
-function zee(e) {
+function Bee(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: V_
- }, l = (0, I.useMemo)(() => !o || i == null ? null : K_(Bee(o, i)), [o, i]);
+ validationDetails: B_
+ }, l = (0, I.useMemo)(() => !o || i == null ? null : G_(Vee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, I.useContext)(Ree), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => G_(u[e])) : G_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
+ let u = (0, I.useContext)(zee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => W_(u[e])) : W_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, I.useMemo)(() => K_(m ? [] : d), [m, d]), _ = (0, I.useRef)(H_), [v, y] = (0, I.useState)(H_), b = (0, I.useRef)(H_), x = () => {
+ let g = (0, I.useMemo)(() => G_(m ? [] : d), [m, d]), _ = (0, I.useRef)(V_), [v, y] = (0, I.useState)(V_), b = (0, I.useRef)(V_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- q_(e, b.current) || (b.current = e, y(e));
+ K_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, I.useState)(!1);
return (0, I.useEffect)(x), {
- realtimeValidation: c || g || l || a || H_,
+ realtimeValidation: c || g || l || a || V_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !q_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !K_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = H_;
- q_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = V_;
+ K_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function G_(e) {
+function W_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Bee(e, t) {
+function Vee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return G_(n);
+ if (n && typeof n != "boolean") return W_(n);
}
return [];
}
-function K_(e) {
+function G_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: V_
+ validationDetails: B_
} : null;
}
-function q_(e, t) {
+function K_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function J_(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = W_({
+function q_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = U_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- R_(e, b, n);
+ L_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
- }, { pressProps: T, isPressed: E } = $g({
+ }, { pressProps: T, isPressed: E } = Qg({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10509,7 +10509,7 @@ function J_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, I.useState)(!1), { pressProps: k } = $g({
+ }), [D, O] = (0, I.useState)(!1), { pressProps: k } = Qg({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10538,13 +10538,13 @@ function J_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [U_]: i } = e, { commitValidation: a } = i || b;
+ let { [H_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = Bh(e, n), j = H(T, A), M = zg(e, { labelable: !0 });
- L_(n, t.defaultSelected, t.setSelected);
- let N = z_(), ee = z_();
+ }), { focusableProps: A } = Bh(e, n), j = H(T, A), M = Rg(e, { labelable: !0 });
+ I_(n, t.defaultSelected, t.setSelected);
+ let N = R_(), ee = R_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10581,8 +10581,8 @@ function J_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function Y_(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = J_(e, t, n), { isIndeterminate: m } = e;
+function J_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = q_(e, t, n), { isIndeterminate: m } = e;
return (0, I.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10601,10 +10601,10 @@ function Y_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Vee = /* @__PURE__ */ new WeakMap();
+var Hee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function X_(e) {
+function Y_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
t = mh(t);
let o = mh(), s = {};
@@ -10624,8 +10624,8 @@ function X_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function Z_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = X_(e), s = gh([
+function X_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Y_(e), s = gh([
!!t,
!!n,
r,
@@ -10649,8 +10649,8 @@ function Z_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function Q_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = qg(), c = (0, I.useCallback)((e) => {
+function Z_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Kg(), c = (0, I.useCallback)((e) => {
jp(e.currentTarget, V(e)) && a.current.isFocusWithin && !jp(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
@@ -10690,14 +10690,14 @@ function Q_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Hee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
-function $_(e, t, n) {
+var Uee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
+function Q_(e, t, n) {
let [r, i] = (0, I.useState)(e || t), a = (0, I.useRef)(r), o = (0, I.useRef)(e !== void 0), s = e !== void 0;
(0, I.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Hee(() => {
+ Uee(() => {
a.current = c;
});
let [, l] = (0, I.useReducer)(() => ({}), {});
@@ -10708,8 +10708,8 @@ function $_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function ev(e = {}) {
- let { isReadOnly: t } = e, [n, r] = $_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
+function $_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = Q_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
function a(e) {
t || r(e);
}
@@ -10725,26 +10725,26 @@ function ev(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Uee(e, t, n) {
- let r = ev({
+function Wee(e, t, n) {
+ let r = $_({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Vee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Hee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = W_({
+ let { realtimeValidation: l } = U_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, I.useRef)(H_), d = () => {
+ }), u = (0, I.useRef)(V_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, I.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Y_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = J_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10752,7 +10752,7 @@ function Uee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [U_]: {
+ [H_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10776,12 +10776,12 @@ function Uee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function tv(e, t = -Infinity, n = Infinity) {
+function ev(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var nv = {
+var tv = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10793,38 +10793,38 @@ var nv = {
width: "1px",
whiteSpace: "nowrap"
};
-function rv(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = Q_({
+function nv(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = Z_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, I.useMemo)(() => r ? t : t ? {
- ...nv,
+ ...tv,
...t
- } : nv, [r]);
+ } : tv, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function iv(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = rv(e);
+function rv(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = nv(e);
return /*#__PURE__*/ I.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Wee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = $_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Bh(e, t), d = W_({
+function Gee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Q_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Bh(e, t), d = U_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Z_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = X_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = zg(e, { labelable: !0 }), b = {
+ }), y = Rg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, I.useState)(c);
- return L_(t, e.defaultValue ?? x, l), R_(e, d, t), {
+ return I_(t, e.defaultValue ?? x, l), L_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10871,13 +10871,13 @@ function Wee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Gee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function av(e) {
+var Kee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function iv(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var ov = /* @__PURE__ */ new WeakMap(), sv = [];
-function cv(e, t) {
- let n = Sp(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Gee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var av = /* @__PURE__ */ new WeakMap(), ov = [];
+function sv(e, t) {
+ let n = Sp(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Kee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
if (Ap()) {
@@ -10893,19 +10893,19 @@ function cv(e, t) {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
for (let t of o) if (jp(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = a_(xp(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = i_(xp(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = ov.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ov.set(e, t + 1));
+ let t = av.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), av.set(e, t + 1));
};
- sv.length && sv[sv.length - 1].disconnect(), d(i);
+ ov.length && ov[ov.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && av(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && iv(e) ? o.add(e) : e instanceof Element && d(e);
if (Ap()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10922,7 +10922,7 @@ function cv(e, t) {
if (Ap()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && av(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && iv(e) ? o.add(e) : e instanceof Element && d(e);
if (Ap()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10949,59 +10949,59 @@ function cv(e, t) {
p.disconnect();
}
};
- return sv.push(h), () => {
+ return ov.push(h), () => {
if (p.disconnect(), Ap()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = ov.get(e);
- t != null && (t === 1 ? (l(e, !1), ov.delete(e)) : ov.set(e, t - 1));
+ let t = av.get(e);
+ t != null && (t === 1 ? (l(e, !1), av.delete(e)) : av.set(e, t - 1));
}
- h === sv[sv.length - 1] ? (sv.pop(), sv.length && sv[sv.length - 1].observe()) : sv.splice(sv.indexOf(h), 1);
+ h === ov[ov.length - 1] ? (ov.pop(), ov.length && ov[ov.length - 1].observe()) : ov.splice(ov.indexOf(h), 1);
};
}
-function Kee(e) {
- let t = sv[sv.length - 1];
+function qee(e) {
+ let t = ov[ov.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var lv = /* @__PURE__ */ new WeakMap();
-function uv(e) {
+var cv = /* @__PURE__ */ new WeakMap();
+function lv(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function dv(e, t) {
- let n = lv.get(e);
+function uv(e, t) {
+ let n = cv.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${uv(t)}`;
+ return `${n.id}-option-${lv(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function fv(e) {
+function dv(e) {
return im() ? e.altKey : e.ctrlKey;
}
-function pv(e, t) {
+function fv(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var mv = /* @__PURE__ */ new WeakMap();
-function hv(e) {
+var pv = /* @__PURE__ */ new WeakMap();
+function mv(e) {
let t = mh();
- return mv.set(e, t), t;
+ return pv.set(e, t), t;
}
-function gv(e) {
- return mv.get(e);
+function hv(e) {
+ return pv.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var _v = class {
+var gv = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : pv(this.ref, e);
+ let n = e == null ? null : fv(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -11027,12 +11027,12 @@ var _v = class {
height: e?.clientHeight ?? 0
};
}
-}, vv = class {
+}, _v = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new _v(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new _v(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new gv(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new gv(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -11072,14 +11072,14 @@ var _v = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = pv(this.ref, e);
+ let t = this.getNextKey(e), n = fv(this.ref, e);
if (t != null) {
- let e = pv(this.ref, t);
+ let e = fv(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = pv(this.ref, r);
+ let e = fv(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -11113,7 +11113,7 @@ var _v = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !A_(t)) return this.getFirstKey();
+ if (t && !k_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -11128,7 +11128,7 @@ var _v = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !A_(t)) return this.getLastKey();
+ if (t && !k_(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -11151,184 +11151,184 @@ var _v = class {
}
return null;
}
-}, yv = {};
-yv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, vv = {};
+vv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var bv = {};
-bv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var yv = {};
+yv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var xv = {};
-xv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var bv = {};
+bv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var Sv = {};
-Sv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var xv = {};
+xv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var Cv = {};
-Cv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Sv = {};
+Sv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var wv = {};
-wv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Cv = {};
+Cv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Tv = {};
-Tv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var wv = {};
+wv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var Ev = {};
-Ev = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Tv = {};
+Tv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var Dv = {};
-Dv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Ev = {};
+Ev = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var Ov = {};
-Ov = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Dv = {};
+Dv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var kv = {};
-kv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Ov = {};
+Ov = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var Av = {};
-Av = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var kv = {};
+kv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var jv = {};
-jv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Av = {};
+Av = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var Mv = {};
-Mv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var jv = {};
+jv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var Nv = {};
-Nv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Mv = {};
+Mv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var Pv = {};
-Pv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Nv = {};
+Nv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Fv = {};
-Fv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Pv = {};
+Pv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Iv = {};
-Iv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Fv = {};
+Fv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Lv = {};
-Lv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Iv = {};
+Iv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var Rv = {};
-Rv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Lv = {};
+Lv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var zv = {};
-zv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Rv = {};
+Rv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Bv = {};
-Bv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var zv = {};
+zv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Vv = {};
-Vv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Bv = {};
+Bv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Hv = {};
-Hv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Vv = {};
+Vv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var Uv = {};
-Uv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Hv = {};
+Hv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Wv = {};
-Wv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Uv = {};
+Uv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Gv = {};
-Gv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Wv = {};
+Wv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Kv = {};
-Kv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Gv = {};
+Gv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var qv = {};
-qv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Kv = {};
+Kv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Jv = {};
-Jv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var qv = {};
+qv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Yv = {};
-Yv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Jv = {};
+Jv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Xv = {};
-Xv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Yv = {};
+Yv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Zv = {};
-Zv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Xv = {};
+Xv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Qv = {};
-Qv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Zv = {};
+Zv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var $v = {};
-$v = {
- "ar-AE": yv,
- "bg-BG": bv,
- "cs-CZ": xv,
- "da-DK": Sv,
- "de-DE": Cv,
- "el-GR": wv,
- "en-US": Tv,
- "es-ES": Ev,
- "et-EE": Dv,
- "fi-FI": Ov,
- "fr-FR": kv,
- "he-IL": Av,
- "hr-HR": jv,
- "hu-HU": Mv,
- "it-IT": Nv,
- "ja-JP": Pv,
- "ko-KR": Fv,
- "lt-LT": Iv,
- "lv-LV": Lv,
- "nb-NO": Rv,
- "nl-NL": zv,
- "pl-PL": Bv,
- "pt-BR": Vv,
- "pt-PT": Hv,
- "ro-RO": Uv,
- "ru-RU": Wv,
- "sk-SK": Gv,
- "sl-SI": Kv,
- "sr-SP": qv,
- "sv-SE": Jv,
- "tr-TR": Yv,
- "uk-UA": Xv,
- "zh-CN": Zv,
- "zh-TW": Qv
+var Qv = {};
+Qv = {
+ "ar-AE": vv,
+ "bg-BG": yv,
+ "cs-CZ": bv,
+ "da-DK": xv,
+ "de-DE": Sv,
+ "el-GR": Cv,
+ "en-US": wv,
+ "es-ES": Tv,
+ "et-EE": Ev,
+ "fi-FI": Dv,
+ "fr-FR": Ov,
+ "he-IL": kv,
+ "hr-HR": Av,
+ "hu-HU": jv,
+ "it-IT": Mv,
+ "ja-JP": Nv,
+ "ko-KR": Pv,
+ "lt-LT": Fv,
+ "lv-LV": Iv,
+ "nb-NO": Lv,
+ "nl-NL": Rv,
+ "pl-PL": zv,
+ "pt-BR": Bv,
+ "pt-PT": Vv,
+ "ro-RO": Hv,
+ "ru-RU": Uv,
+ "sk-SK": Wv,
+ "sl-SI": Gv,
+ "sr-SP": Kv,
+ "sv-SE": qv,
+ "tr-TR": Jv,
+ "uk-UA": Yv,
+ "zh-CN": Xv,
+ "zh-TW": Zv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var qee = 500;
-function ey(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = qee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = qg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = $g({
+var Jee = 500;
+function $v(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Jee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Kg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Qg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -11356,12 +11356,12 @@ function ey(e) {
});
}
});
- return { longPressProps: H(f, I_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, F_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Jee(e) {
- let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = ey({
+function Yee(e) {
+ let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = $v({
onLongPressStart() {
n.current = !1;
},
@@ -11404,13 +11404,13 @@ function Jee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var ty = /* @__PURE__ */ new WeakMap();
-function Yee(e) {
+var ey = /* @__PURE__ */ new WeakMap();
+function Xee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, I.useEffect)(() => !n || r === null ? void 0 : Dp(Np(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !jp(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || ty.get(t.current);
+ let i = r || ey.get(t.current);
i && i();
}, !0), [
n,
@@ -11420,10 +11420,10 @@ function Yee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Xee(e, t, n) {
+function Zee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, I.useEffect)(() => {
- n && n.current && ty.set(n.current, t.close);
+ n && n.current && ey.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -11440,11 +11440,11 @@ function Xee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Zee(e) {
+function Qee(e) {
return e && e.__esModule ? e.default : e;
}
-function ny(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = mh(), { triggerProps: s, overlayProps: c } = Xee({ type: r }, t, n), l = (e, n, r = "first") => {
+function ty(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = mh(), { triggerProps: s, overlayProps: c } = Zee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = Fh({
@@ -11459,7 +11459,7 @@ function ny(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Lg(Zee($v), "@react-aria/menu"), { longPressProps: f } = ey({
+ }), d = Ig(Qee(Qv), "@react-aria/menu"), { longPressProps: f } = $v({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11478,7 +11478,7 @@ function ny(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = Jee({ onContextMenu(e) {
+ let { contextMenuProps: m } = Yee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11523,8 +11523,8 @@ function ny(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var ry = 1e3;
-function iy(e) {
+var ny = 1e3;
+function ry(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, I.useRef)({
search: "",
timeout: void 0
@@ -11543,11 +11543,11 @@ function iy(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, ry);
+ }, ny);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Qee(e.key);
+ let a = $ee(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jp(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);
@@ -11559,17 +11559,17 @@ function iy(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, ry);
+ }, ny);
}
} : void 0
} };
}
-function Qee(e) {
+function $ee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function ay(e, t) {
+function iy(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null);
Gp(() => (n.current = !0, () => {
n.current = !1;
@@ -11579,14 +11579,14 @@ function ay(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function oy(e) {
+function ay(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 } = Eg(), _ = fm(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !fv(e)) {
+ if (t.isLink(n) && m === "selection" && l && !dv(e)) {
(0, Yh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = pv(r, n), o = t.getItemProps(n);
+ let a = fv(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11598,7 +11598,7 @@ function oy(e) {
t.extendSelection(n);
return;
}
- if (l && !fv(e)) {
+ if (l && !dv(e)) {
t.replaceSelection(n);
return;
}
@@ -11698,7 +11698,7 @@ function oy(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = x_(r.current, { tabbable: !0 }), t, n;
+ let e = b_(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -11761,8 +11761,8 @@ function oy(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);
if (t.focusedKey != null && p.current) {
- let e = pv(r, t.focusedKey);
- e instanceof HTMLElement && (!Pp(e) && !d && gp(e), (i === "keyboard" || h && i === "virtual") && P_(e, { containingElement: r.current }));
+ let e = fv(r, t.focusedKey);
+ e instanceof HTMLElement && (!Pp(e) && !d && gp(e), (i === "keyboard" || h && i === "virtual") && N_(e, { containingElement: r.current }));
}
}, P = (e) => {
jp(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
@@ -11772,14 +11772,14 @@ function oy(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let F = n.getFirstKey?.() ?? null;
- ay(() => {
+ iy(() => {
if (ne.current) {
if (F == null) {
let e = Mp();
fg(r.current), mg(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(F), ne.current = !1;
}
- }, [F, t.collection.size]), ay(() => {
+ }, [F, t.collection.size]), iy(() => {
t.collection.size > 0 && (ne.current = !1);
}, [t.focusedKey]), vg(r, tee, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -11802,10 +11802,10 @@ function oy(e) {
let ae = (0, I.useRef)(t.focusedKey), oe = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = Ym(), n = pv(r, t.focusedKey);
+ let e = Ym(), n = fv(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (N_(p.current, n), e !== "virtual" && P_(n, { containingElement: r.current }));
+ p.current && (M_(p.current, n), e !== "virtual" && N_(n, { containingElement: r.current }));
}));
}
!d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && sh(r.current), ae.current = t.focusedKey, ie.current = !1;
@@ -11821,14 +11821,14 @@ function oy(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = iy({
+ }, { typeSelectProps: ce } = ry({
keyboardDelegate: n,
selectionManager: t
});
u || (se = H(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = hv(t.collection);
+ let ue = mv(t.collection);
return { collectionProps: H(se, {
tabIndex: le,
"data-collection": ue
@@ -11836,13 +11836,13 @@ function oy(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function sy(e, t) {
+function oy(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function cy(e) {
- return ly(e, 0);
+function sy(e) {
+ return cy(e, 0);
}
-function ly(e, t) {
+function cy(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11850,45 +11850,45 @@ function ly(e, t) {
n++;
}
}
-function uy(e) {
+function ly(e) {
let t;
for (let n of e) t = n;
return t;
}
-function dy(e, t, n) {
+function uy(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...fy(e, t), t], i = [...fy(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...dy(e, t), t], i = [...dy(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 fy(e, t) {
+function dy(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 py = /* @__PURE__ */ new WeakMap();
-function my(e) {
- let t = py.get(e);
+var fy = /* @__PURE__ */ new WeakMap();
+function py(e) {
+ let t = fy.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(sy(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(oy(i, e)) : i.type === "item" && n++;
};
- return r(e), py.set(e, n), n;
+ return r(e), fy.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var hy = /* @__PURE__ */ new Map();
-function gy(e) {
+var my = /* @__PURE__ */ new Map();
+function hy(e) {
let { locale: t } = Eg(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (hy.has(n)) return hy.get(n);
+ if (my.has(n)) return my.get(n);
let r = new Intl.Collator(t, e);
- return hy.set(n, r), r;
+ return my.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var $ee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, I.useRef)(!1), i = (0, I.useContext)(Kg), a = H(i || {}, {
+var ete = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, I.useRef)(!1), i = (0, I.useContext)(Gg), a = H(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
@@ -11896,46 +11896,46 @@ var $ee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
});
return a.ref = Ih(n || i?.ref), Lh(i, a.ref), (0, I.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ I.createElement(Kg.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ I.createElement(Gg.Provider, { value: a }, e);
});
-function ete({ children: e }) {
+function tte({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ I.createElement(Kg.Provider, { value: t }, e);
+ return /*#__PURE__*/ I.createElement(Gg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var _y = /*#__PURE__*/ (0, I.createContext)({});
-function vy(e) {
- let { getContainer: t } = e, { getContainer: n } = yy();
- return /*#__PURE__*/ I.createElement(_y.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var gy = /*#__PURE__*/ (0, I.createContext)({});
+function _y(e) {
+ let { getContainer: t } = e, { getContainer: n } = vy();
+ return /*#__PURE__*/ I.createElement(gy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function yy() {
- return (0, I.useContext)(_y) ?? {};
+function vy() {
+ return (0, I.useContext)(gy) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var by = /*#__PURE__*/ I.createContext(null);
-function xy(e) {
+var yy = /*#__PURE__*/ I.createContext(null);
+function by(e) {
let t = jm(), { 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 } = yy();
+ }), [i, a]), { getContainer: s } = vy();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(l_, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(c_, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(by.Provider, { value: o }, /*#__PURE__*/ I.createElement(ete, null, /*#__PURE__*/ I.createElement(Rh.Provider, { value: null }, c))), /*#__PURE__*/ Yh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(yy.Provider, { value: o }, /*#__PURE__*/ I.createElement(tte, null, /*#__PURE__*/ I.createElement(Rh.Provider, { value: null }, c))), /*#__PURE__*/ Yh.createPortal(c, n);
}
-function Sy() {
- let e = (0, I.useContext)(by)?.setContain;
+function xy() {
+ let e = (0, I.useContext)(yy)?.setContain;
Gp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Cy(e, t) {
+function Sy(e, t) {
let { role: n = "dialog" } = e, r = gh();
r = e["aria-label"] ? void 0 : r;
let i = gh();
@@ -11951,11 +11951,11 @@ function Cy(e, t) {
clearTimeout(e);
};
}
- }, [t]), Sy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), xy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...zg(e, { labelable: !0 }),
+ ...Rg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11970,7 +11970,7 @@ function Cy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function wy(e = {}) {
+function Cy(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
isFocusVisible: t || Jm()
@@ -11986,7 +11986,7 @@ function wy(e = {}) {
let { focusProps: d } = xh({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = Q_({
+ }), { focusWithinProps: f } = Z_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11998,36 +11998,36 @@ function wy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Ty(e = {}) {
+function wy(e = {}) {
let { locale: t } = Eg();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var Ey = !1, Dy = 0;
-function Oy() {
- Ey = !0, setTimeout(() => {
- Ey = !1;
+var Ty = !1, Ey = 0;
+function Dy() {
+ Ty = !0, setTimeout(() => {
+ Ty = !1;
}, 500);
}
-function ky(e) {
- e.pointerType === "touch" && Oy();
+function Oy(e) {
+ e.pointerType === "touch" && Dy();
}
-function Ay() {
+function ky() {
let e = xp(null);
- if (e !== void 0) return Dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ky), Dy++, () => {
- Dy--, !(Dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ky);
+ if (e !== void 0) return Ey === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Oy), Ey++, () => {
+ Ey--, !(Ey > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Oy);
};
}
-function jy(e) {
+function Ay(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)(Ay, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = qg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
+ (0, I.useEffect)(ky, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Kg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !jp(e.currentTarget, V(e))) return;
s.isHovered = !0;
@@ -12048,7 +12048,7 @@ function jy(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- Ey && t.pointerType === "mouse" || e(t, t.pointerType);
+ Ty && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && jp(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -12073,12 +12073,12 @@ function jy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function My(e) {
+function jy(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = _g((e) => {
- n && Ny(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && My(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = _g((e) => {
n && n(e);
});
@@ -12088,7 +12088,7 @@ function My(e) {
let n = t.current, i = xp(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && Ny(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);
@@ -12096,7 +12096,7 @@ function My(e) {
}
}, [t, r]);
}
-function Ny(e, t) {
+function My(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -12107,8 +12107,8 @@ function Ny(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var Py = {};
-Py = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -12122,8 +12122,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var Fy = {};
-Fy = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -12137,8 +12137,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var Iy = {};
-Iy = {
+var Fy = {};
+Fy = {
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",
@@ -12152,8 +12152,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var Ly = {};
-Ly = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -12167,8 +12167,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var Ry = {};
-Ry = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -12182,8 +12182,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var zy = {};
-zy = {
+var Ry = {};
+Ry = {
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: "Επιλογή",
@@ -12197,8 +12197,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var By = {};
-By = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -12212,8 +12212,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Vy = {};
-Vy = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -12227,8 +12227,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Hy = {};
-Hy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -12242,8 +12242,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Uy = {};
-Uy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -12257,8 +12257,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Wy = {};
-Wy = {
+var Uy = {};
+Uy = {
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",
@@ -12272,8 +12272,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Gy = {};
-Gy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -12287,8 +12287,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Ky = {};
-Ky = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -12302,8 +12302,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var qy = {};
-qy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -12317,8 +12317,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Jy = {};
-Jy = {
+var qy = {};
+qy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -12332,8 +12332,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Yy = {};
-Yy = {
+var Jy = {};
+Jy = {
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: "選択",
@@ -12347,8 +12347,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Xy = {};
-Xy = {
+var Yy = {};
+Yy = {
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: "선택",
@@ -12362,8 +12362,8 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Zy = {};
-Zy = {
+var Xy = {};
+Xy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12377,8 +12377,8 @@ Zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Qy = {};
-Qy = {
+var Zy = {};
+Zy = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12392,8 +12392,8 @@ Qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var $y = {};
-$y = {
+var Qy = {};
+Qy = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12407,8 +12407,8 @@ $y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var eb = {};
-eb = {
+var $y = {};
+$y = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12422,8 +12422,8 @@ eb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var tb = {};
-tb = {
+var eb = {};
+eb = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12437,8 +12437,8 @@ tb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var nb = {};
-nb = {
+var tb = {};
+tb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12452,8 +12452,8 @@ nb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var rb = {};
-rb = {
+var nb = {};
+nb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12467,8 +12467,8 @@ rb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var ib = {};
-ib = {
+var rb = {};
+rb = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12482,8 +12482,8 @@ ib = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var ab = {};
-ab = {
+var ib = {};
+ib = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12497,8 +12497,8 @@ ab = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var ob = {};
-ob = {
+var ab = {};
+ab = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12512,8 +12512,8 @@ ob = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var sb = {};
-sb = {
+var ob = {};
+ob = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12527,8 +12527,8 @@ sb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var cb = {};
-cb = {
+var sb = {};
+sb = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12542,8 +12542,8 @@ cb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var lb = {};
-lb = {
+var cb = {};
+cb = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12557,8 +12557,8 @@ lb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var ub = {};
-ub = {
+var lb = {};
+lb = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12572,8 +12572,8 @@ ub = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var db = {};
-db = {
+var ub = {};
+ub = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12587,8 +12587,8 @@ db = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var fb = {};
-fb = {
+var db = {};
+db = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12602,8 +12602,8 @@ fb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var pb = {};
-pb = {
+var fb = {};
+fb = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12617,55 +12617,55 @@ pb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var mb = {};
-mb = {
- "ar-AE": Py,
- "bg-BG": Fy,
- "cs-CZ": Iy,
- "da-DK": Ly,
- "de-DE": Ry,
- "el-GR": zy,
- "en-US": By,
- "es-ES": Vy,
- "et-EE": Hy,
- "fi-FI": Uy,
- "fr-FR": Wy,
- "he-IL": Gy,
- "hr-HR": Ky,
- "hu-HU": qy,
- "it-IT": Jy,
- "ja-JP": Yy,
- "ko-KR": Xy,
- "lt-LT": Zy,
- "lv-LV": Qy,
- "nb-NO": $y,
- "nl-NL": eb,
- "pl-PL": tb,
- "pt-BR": nb,
- "pt-PT": rb,
- "ro-RO": ib,
- "ru-RU": ab,
- "sk-SK": ob,
- "sl-SI": sb,
- "sr-SP": cb,
- "sv-SE": lb,
- "tr-TR": ub,
- "uk-UA": db,
- "zh-CN": fb,
- "zh-TW": pb
+var pb = {};
+pb = {
+ "ar-AE": Ny,
+ "bg-BG": Py,
+ "cs-CZ": Fy,
+ "da-DK": Iy,
+ "de-DE": Ly,
+ "el-GR": Ry,
+ "en-US": zy,
+ "es-ES": By,
+ "et-EE": Vy,
+ "fi-FI": Hy,
+ "fr-FR": Uy,
+ "he-IL": Wy,
+ "hr-HR": Gy,
+ "hu-HU": Ky,
+ "it-IT": qy,
+ "ja-JP": Jy,
+ "ko-KR": Yy,
+ "lt-LT": Xy,
+ "lv-LV": Zy,
+ "nb-NO": Qy,
+ "nl-NL": $y,
+ "pl-PL": eb,
+ "pt-BR": tb,
+ "pt-PT": nb,
+ "ro-RO": rb,
+ "ru-RU": ib,
+ "sk-SK": ab,
+ "sl-SI": ob,
+ "sr-SP": sb,
+ "sv-SE": cb,
+ "tr-TR": lb,
+ "uk-UA": ub,
+ "zh-CN": db,
+ "zh-TW": fb
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function tte(e) {
+function nte(e) {
return e && e.__esModule ? e.default : e;
}
-function nte(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Lg(tte(mb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+function rte(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Ig(nte(pb), "@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 = hb(i, a.current), o = hb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = mb(i, a.current), o = mb(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)) {
@@ -12685,7 +12685,7 @@ function nte(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && D_(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && E_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12696,7 +12696,7 @@ function nte(e, t) {
n,
r
]);
- k_(() => {
+ O_(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12704,7 +12704,7 @@ function nte(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function hb(e, t) {
+function mb(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);
@@ -12712,13 +12712,13 @@ function hb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function gb(e, t) {
+function hb(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
return Gp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = x_(e.current, { tabbable: !0 });
+ let t = b_(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12737,12 +12737,12 @@ function gb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function rte(e) {
+function ite(e) {
return e && e.__esModule ? e.default : e;
}
-function ite(e) {
- let t = Lg(rte(mb), "@react-aria/grid"), n = Zm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return I_((0, I.useMemo)(() => {
+function ate(e) {
+ let t = Ig(ite(pb), "@react-aria/grid"), n = Zm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return F_((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;
}, [
@@ -12755,11 +12755,11 @@ function ite(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function _b(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = gy({
+function gb(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = hy({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new vv({
+ }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new _v({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12776,7 +12776,7 @@ function _b(e) {
c,
l,
s
- ]), { collectionProps: d } = oy({
+ ]), { collectionProps: d } = ay({
...e,
ref: i,
selectionManager: t,
@@ -12786,11 +12786,11 @@ function _b(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function vb(e) {
+function _b(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 = fm();
t = mh(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && fv(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && dv(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12833,22 +12833,22 @@ function vb(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 || bb(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || yb(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" && !yb(e.key)) return;
+ if (e.pointerType === "keyboard" && !vb(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 || bb(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || yb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && yb(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 && vb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = gv(n.collection);
+ let A = hv(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12864,9 +12864,9 @@ function vb(e) {
"onPressUp",
"onClick"
]) D[e] && (k[e] = ch(k[e], D[e]));
- let { pressProps: j, isPressed: M } = $g(k), N = x ? (e) => {
+ let { pressProps: j, isPressed: M } = Qg(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: ee } = ey({
+ } : void 0, { longPressProps: ee } = $v({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -12915,22 +12915,22 @@ function vb(e) {
hasAction: S
};
}
-function yb(e) {
+function vb(e) {
return e === "Enter";
}
-function bb(e) {
+function yb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function ate(e) {
+function ote(e) {
return e && e.__esModule ? e.default : e;
}
-function ote(e, t) {
+function ste(e, t) {
let { key: n } = e, r = t.selectionManager, i = mh(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Lg(ate(mb), "@react-aria/grid").format("select"),
+ "aria-label": Ig(ote(pb), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12938,22 +12938,22 @@ function ote(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function ste(e, t, n) {
- let r = zg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function cte(e, t, n) {
+ let r = Rg(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 } = _b({
+ let { listProps: s } = gb({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = Q_({
+ }), { focusWithinProps: c } = Z_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = mh(e.id);
- lv.set(t, {
+ cv.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12963,7 +12963,7 @@ function ste(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = X_({
+ let { labelProps: u, fieldProps: d } = Y_({
...e,
id: l,
labelElementType: "span"
@@ -12979,7 +12979,7 @@ function ste(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function cte(e) {
+function lte(e) {
let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
@@ -12999,8 +12999,8 @@ function cte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function lte(e, t, n) {
- let { key: r } = e, i = lv.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 = gh(), f = gh(), p = {
+function ute(e, t, n) {
+ let { key: r } = e, i = cv.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 = gh(), f = gh(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -13010,9 +13010,9 @@ function lte(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"] = my(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = py(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = dv(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = vb({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = uv(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = _b({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -13025,12 +13025,12 @@ function lte(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = jy({
+ }), { hoverProps: S } = Ay({
isDisabled: a || !c,
onHoverStart() {
Jm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = zg(m?.props);
+ }), C = Rg(m?.props);
delete C.id;
let w = vm(m?.props);
return {
@@ -13052,13 +13052,13 @@ function lte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var xb = /* @__PURE__ */ new WeakMap();
+var bb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function ute(e, t, n) {
+function dte(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = zg(e, { labelable: !0 }), { listProps: c } = _b({
+ let s = Rg(e, { labelable: !0 }), { listProps: c } = gb({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -13067,7 +13067,7 @@ function ute(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return xb.set(t, {
+ return bb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -13084,8 +13084,8 @@ function ute(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function dte(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 = xb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = fm(), M = () => {
+function fte(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 = bb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = fm(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
@@ -13109,7 +13109,7 @@ function dte(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {
let e = Number(k?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = my(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = py(t.collection);
}
let F = (0, I.useRef)(!1), re = (e) => {
f?.(e), F.current = e;
@@ -13119,7 +13119,7 @@ function dte(e, t, n) {
m?.(e), M(), ym(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = vb({
+ }, { itemProps: se, isFocused: ce } = _b({
id: r,
selectionManager: C,
key: i,
@@ -13128,14 +13128,14 @@ function dte(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = $g({
+ }), { pressProps: le, isPressed: ue } = Qg({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: L } = jy({
+ }), { hoverProps: L } = Ay({
isDisabled: E,
onHoverStart(e) {
!Jm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
@@ -13172,7 +13172,7 @@ function dte(e, t, n) {
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), de = zg(k?.props);
+ }, n), de = Rg(k?.props);
delete de.id;
let fe = vm(k?.props);
return {
@@ -13197,7 +13197,7 @@ function dte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function fte(e) {
+function pte(e) {
let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
@@ -13214,15 +13214,15 @@ function fte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function pte() {
+function mte() {
return window.ResizeObserver !== void 0;
}
-function Sb(e) {
+function xb(e) {
let { ref: t, box: n, onResize: r } = e, i = _g(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if (pte()) {
+ if (mte()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -13238,189 +13238,189 @@ function Sb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var Cb = {};
-Cb = { dismiss: "تجاهل" };
+var Sb = {};
+Sb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var wb = {};
-wb = { dismiss: "Отхвърляне" };
+var Cb = {};
+Cb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Tb = {};
-Tb = { dismiss: "Odstranit" };
+var wb = {};
+wb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var Eb = {};
-Eb = { dismiss: "Luk" };
+var Tb = {};
+Tb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var Db = {};
-Db = { dismiss: "Schließen" };
+var Eb = {};
+Eb = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var Ob = {};
-Ob = { dismiss: "Απόρριψη" };
+var Db = {};
+Db = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var kb = {};
-kb = { dismiss: "Dismiss" };
+var Ob = {};
+Ob = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var Ab = {};
-Ab = { dismiss: "Descartar" };
+var kb = {};
+kb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var jb = {};
-jb = { dismiss: "Lõpeta" };
+var Ab = {};
+Ab = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var Mb = {};
-Mb = { dismiss: "Hylkää" };
+var jb = {};
+jb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var Nb = {};
-Nb = { dismiss: "Rejeter" };
+var Mb = {};
+Mb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var Pb = {};
-Pb = { dismiss: "התעלם" };
+var Nb = {};
+Nb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var Fb = {};
-Fb = { dismiss: "Odbaci" };
+var Pb = {};
+Pb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var Ib = {};
-Ib = { dismiss: "Elutasítás" };
+var Fb = {};
+Fb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Lb = {};
-Lb = { dismiss: "Ignora" };
+var Ib = {};
+Ib = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Rb = {};
-Rb = { dismiss: "閉じる" };
+var Lb = {};
+Lb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var zb = {};
-zb = { dismiss: "무시" };
+var Rb = {};
+Rb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Bb = {};
-Bb = { dismiss: "Atmesti" };
+var zb = {};
+zb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Vb = {};
-Vb = { dismiss: "Nerādīt" };
+var Bb = {};
+Bb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Hb = {};
-Hb = { dismiss: "Lukk" };
+var Vb = {};
+Vb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Ub = {};
-Ub = { dismiss: "Negeren" };
+var Hb = {};
+Hb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Wb = {};
-Wb = { dismiss: "Zignoruj" };
+var Ub = {};
+Ub = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Gb = {};
-Gb = { dismiss: "Descartar" };
+var Wb = {};
+Wb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Kb = {};
-Kb = { dismiss: "Dispensar" };
+var Gb = {};
+Gb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var qb = {};
-qb = { dismiss: "Revocare" };
+var Kb = {};
+Kb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Jb = {};
-Jb = { dismiss: "Пропустить" };
+var qb = {};
+qb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Yb = {};
-Yb = { dismiss: "Zrušiť" };
+var Jb = {};
+Jb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Xb = {};
-Xb = { dismiss: "Opusti" };
+var Yb = {};
+Yb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Zb = {};
-Zb = { dismiss: "Odbaci" };
+var Xb = {};
+Xb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Qb = {};
-Qb = { dismiss: "Avvisa" };
+var Zb = {};
+Zb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var $b = {};
-$b = { dismiss: "Kapat" };
+var Qb = {};
+Qb = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var ex = {};
-ex = { dismiss: "Скасувати" };
+var $b = {};
+$b = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var tx = {};
-tx = { dismiss: "取消" };
+var ex = {};
+ex = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var nx = {};
-nx = { dismiss: "關閉" };
+var tx = {};
+tx = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var rx = {};
-rx = {
- "ar-AE": Cb,
- "bg-BG": wb,
- "cs-CZ": Tb,
- "da-DK": Eb,
- "de-DE": Db,
- "el-GR": Ob,
- "en-US": kb,
- "es-ES": Ab,
- "et-EE": jb,
- "fi-FI": Mb,
- "fr-FR": Nb,
- "he-IL": Pb,
- "hr-HR": Fb,
- "hu-HU": Ib,
- "it-IT": Lb,
- "ja-JP": Rb,
- "ko-KR": zb,
- "lt-LT": Bb,
- "lv-LV": Vb,
- "nb-NO": Hb,
- "nl-NL": Ub,
- "pl-PL": Wb,
- "pt-BR": Gb,
- "pt-PT": Kb,
- "ro-RO": qb,
- "ru-RU": Jb,
- "sk-SK": Yb,
- "sl-SI": Xb,
- "sr-SP": Zb,
- "sv-SE": Qb,
- "tr-TR": $b,
- "uk-UA": ex,
- "zh-CN": tx,
- "zh-TW": nx
+var nx = {};
+nx = {
+ "ar-AE": Sb,
+ "bg-BG": Cb,
+ "cs-CZ": wb,
+ "da-DK": Tb,
+ "de-DE": Eb,
+ "el-GR": Db,
+ "en-US": Ob,
+ "es-ES": kb,
+ "et-EE": Ab,
+ "fi-FI": jb,
+ "fr-FR": Mb,
+ "he-IL": Nb,
+ "hr-HR": Pb,
+ "hu-HU": Fb,
+ "it-IT": Ib,
+ "ja-JP": Lb,
+ "ko-KR": Rb,
+ "lt-LT": zb,
+ "lv-LV": Bb,
+ "nb-NO": Vb,
+ "nl-NL": Hb,
+ "pl-PL": Ub,
+ "pt-BR": Wb,
+ "pt-PT": Gb,
+ "ro-RO": Kb,
+ "ru-RU": qb,
+ "sk-SK": Jb,
+ "sl-SI": Yb,
+ "sr-SP": Xb,
+ "sv-SE": Zb,
+ "tr-TR": Qb,
+ "uk-UA": $b,
+ "zh-CN": ex,
+ "zh-TW": tx
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function mte(e) {
+function hte(e) {
return e && e.__esModule ? e.default : e;
}
-function ix(e) {
- let { onDismiss: t, ...n } = e, r = yg(n, Lg(mte(rx), "@react-aria/overlays").format("dismiss")), i = () => {
+function rx(e) {
+ let { onDismiss: t, ...n } = e, r = yg(n, Ig(hte(nx), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ I.createElement(iv, null, /*#__PURE__*/ I.createElement("button", {
+ return /*#__PURE__*/ I.createElement(rv, null, /*#__PURE__*/ I.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -13432,22 +13432,22 @@ function ix(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var ax = [];
-function ox(e, t) {
+var ix = [];
+function ax(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 && !ax.includes(t)) return ax.push(t), () => {
- let e = ax.indexOf(t);
- e >= 0 && ax.splice(e, 1);
+ if (i && !ix.includes(t)) return ix.push(t), () => {
+ let e = ix.indexOf(t);
+ e >= 0 && ix.splice(e, 1);
};
}, [i, t]);
let l = () => {
- ax[ax.length - 1] === t && n && n();
+ ix[ix.length - 1] === t && n && n();
}, u = (e) => {
- let n = ax[ax.length - 1];
+ let n = ix[ix.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (ax[ax.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (ix[ix.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = Fh({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -13455,15 +13455,15 @@ function ox(e, t) {
}
return !1;
} } });
- My({
+ jy({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = Q_({
+ let { focusWithinProps: p } = Z_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || Oee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || kee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -13476,26 +13476,26 @@ function ox(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var sx = typeof document < "u" && window.visualViewport, cx = 0, lx;
-function ux(e = {}) {
+var ox = typeof document < "u" && window.visualViewport, sx = 0, cx;
+function lx(e = {}) {
let { isDisabled: t } = e;
Gp(() => {
- if (!t) return cx++, cx === 1 && (lx = rm() && am() ? gte() : hte()), () => {
- cx--, cx === 0 && lx();
+ if (!t) return sx++, sx === 1 && (cx = rm() && am() ? _te() : gte()), () => {
+ sx--, sx === 0 && cx();
};
}, [t]);
}
-function hte() {
+function gte() {
let e = window.innerWidth - document.documentElement.clientWidth;
return ch(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Op(document.documentElement, "scrollbar-gutter", "stable") : Op(document.documentElement, "padding-right", `${e}px`)), Op(document.documentElement, "overflow", "hidden"));
}
-function gte() {
+function _te() {
let e = Op(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = A_(r) ? r : j_(r, !0), n = !1;
+ t = k_(r) ? r : A_(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = Gg();
+ }, i = document.createElement("style"), a = Wg();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -13507,7 +13507,7 @@ function gte() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && gg(n) ? (n.focus({ preventScroll: !0 }), dx(n, gg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && gg(n) ? (n.focus({ preventScroll: !0 }), ux(n, gg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13517,7 +13517,7 @@ function gte() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && dx(this, n);
+ }), (!e || !e.preventScroll) && ux(this, n);
}
});
let l = ch(Dp(document, "touchstart", r, {
@@ -13535,18 +13535,18 @@ function gte() {
});
};
}
-function dx(e, t) {
- t || !sx ? fx(e) : sx.addEventListener("resize", () => fx(e), { once: !0 });
+function ux(e, t) {
+ t || !ox ? dx(e) : ox.addEventListener("resize", () => dx(e), { once: !0 });
}
-function fx(e) {
+function dx(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = j_(n);
+ let e = A_(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- sx && (n = Math.min(n, sx.offsetTop + sx.height));
+ ox && (n = Math.min(n, ox.offsetTop + ox.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)),
@@ -13559,14 +13559,14 @@ function fx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function _te(e, t, n) {
- let { overlayProps: r, underlayProps: i } = ox({
+function vte(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = ax({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return ux({ isDisabled: !t.isOpen }), Sy(), (0, I.useEffect)(() => {
- if (t.isOpen && n.current) return cv([n.current], { shouldUseInert: !0 });
+ return lx({ isDisabled: !t.isOpen }), xy(), (0, I.useEffect)(() => {
+ if (t.isOpen && n.current) return sv([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13574,32 +13574,32 @@ function _te(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var px = {
+var fx = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, mx = {
+}, px = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, vte = {
+}, yte = {
top: "left",
left: "top"
-}, hx = {
+}, mx = {
top: "height",
left: "width"
-}, gx = {
+}, hx = {
width: "totalWidth",
height: "totalHeight"
-}, _x = {}, yte = () => typeof document < "u" ? window.visualViewport : null;
-function vx(e, t) {
+}, gx = {}, bte = () => typeof document < "u" ? window.visualViewport : null;
+function _x(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} = wx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = Cx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return am() && (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,
@@ -13610,7 +13610,7 @@ function vx(e, t) {
left: s
};
}
-function bte(e) {
+function xte(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13618,11 +13618,11 @@ function bte(e) {
height: e.scrollHeight
};
}
-function yx(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[hx[e]], l = o[e] + r.scroll[px[e]] + a, u = o[e] + r.scroll[px[e]] + c - a, d = t - s + r.scroll[px[e]] + o[e] - r[px[e]], f = t - s + n + r.scroll[px[e]] + o[e] - r[px[e]];
+function vx(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[mx[e]], l = o[e] + r.scroll[fx[e]] + a, u = o[e] + r.scroll[fx[e]] + c - a, d = t - s + r.scroll[fx[e]] + o[e] - r[fx[e]], f = t - s + n + r.scroll[fx[e]] + o[e] - r[fx[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function xte(e) {
+function Ste(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13631,55 +13631,55 @@ function xte(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function bx(e) {
- if (_x[e]) return _x[e];
- let [t, n] = e.split(" "), r = px[t] || "right", i = vte[r];
- px[n] || (n = "center");
- let a = hx[r], o = hx[i];
- return _x[e] = {
+function yx(e) {
+ if (gx[e]) return gx[e];
+ let [t, n] = e.split(" "), r = fx[t] || "right", i = yte[r];
+ fx[n] || (n = "center");
+ let a = mx[r], o = mx[i];
+ return gx[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, _x[e];
+ }, gx[e];
}
-function xx(e, t, n, r, i, a, o, s, c, l, u) {
+function bx(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] = tv(_[m], v, y), d === p) {
- let t = s ? u[h] : u[gx[h]];
- _[mx[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = ev(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[hx[h]];
+ _[px[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Ste(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[gx.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Cte(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[hx.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 Sx(e, t, n, r, i, a, o, s) {
+function xx(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[mx[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[mx[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[px[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[px[l]] - i);
}
-function Cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = bx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = xx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Sx(s, l, t, i, a + u, v, c, g);
+function wte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = yx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = bx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = xx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = bx(`${mx[S]} ${C}`), r = xx(t, s, n, e, u, d, l, f, m, h, c);
- Sx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = yx(`${px[S]} ${C}`), r = bx(t, s, n, e, u, d, l, f, m, h, c);
+ xx(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 = yx(b, w[b], n[x], s, c, a, l);
+ let O = vx(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Ste(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = xx(t, s, n, v, T, d, l, f, m, h, c), O = yx(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[px[b]], M = j + .5 * t[x], N = m / 2 + h, ee = px[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = tv(tv(M, t[b] + m / 2 - (w[b] + i[px[b]]), t[b] + t[x] - m / 2 - (w[b] + i[px[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 = Cte(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = bx(t, s, n, v, T, d, l, f, m, h, c), O = vx(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[fx[b]], M = j + .5 * t[x], N = m / 2 + h, ee = fx[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = ev(ev(M, t[b] + m / 2 - (w[b] + i[fx[b]]), t[b] + t[x] - m / 2 - (w[b] + i[fx[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, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -13693,17 +13693,17 @@ function Cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function wte(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 = yte(), h = r instanceof HTMLElement ? Tte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? wx(n, !1, p) : Tx(n, h, !1, p);
+function Tte(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 = bte(), h = r instanceof HTMLElement ? Ete(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Cx(n, !1, p) : wx(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 = wx(r, !0), x = xte(r);
+ let b = Cx(r, !0), x = Ste(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = bte(i), C = vx(s, m), w = vx(h, m), T;
+ let S = xte(i), C = _x(s, m), w = _x(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Cx(h, !1);
+ let e = Sx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13715,11 +13715,11 @@ function wte(e) {
left: 0,
width: 0,
height: 0
- } : Tx(s, h, !1);
+ } : wx(s, h, !1);
let E = jp(s, h);
- return Cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return wte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Cx(e, t) {
+function Sx(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,
@@ -13728,8 +13728,8 @@ function Cx(e, t) {
height: a
};
}
-function wx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Cx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Cx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Sx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13737,29 +13737,29 @@ function wx(e, t, n) {
height: o
};
}
-function Tx(e, t, n, r) {
+function wx(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Cx(e, n);
+ if (i.position === "fixed") a = r || Sx(e, n);
else {
- a = wx(e, n, r);
- let i = wx(t, n), o = window.getComputedStyle(t);
+ a = Cx(e, n, r);
+ let i = Cx(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 Tte(e) {
+function Ete(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Ex(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Ex(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Tx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Tx(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Ex(e) {
+function Tx(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 Dx = typeof document < "u" ? window.visualViewport : null;
-function Ete(e) {
+var Ex = typeof document < "u" ? window.visualViewport : null;
+function Dte(e) {
let { direction: t } = Eg(), { 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,
@@ -13777,12 +13777,12 @@ function Ete(e) {
g,
_,
n
- ], S = (0, I.useRef)(Dx?.scale);
+ ], S = (0, I.useRef)(Ex?.scale);
(0, I.useEffect)(() => {
- m && (S.current = Dx?.scale);
+ m && (S.current = Ex?.scale);
}, [m]);
let C = (0, I.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Dx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Ex?.scale !== S.current) return;
let e = null;
if (o.current && Pp(o.current)) {
let t = Mp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13793,8 +13793,8 @@ function Ete(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 = wte({
- placement: Ote(s, t),
+ let y = Tte({
+ placement: kte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13804,7 +13804,7 @@ function Ete(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Cx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Sx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13817,10 +13817,10 @@ function Ete(e) {
}
b(y);
}, x);
- Gp(C, x), Dte(C), Sb({
+ Gp(C, x), Ote(C), xb({
ref: i,
onResize: C
- }), Sb({
+ }), xb({
ref: r,
onResize: C
});
@@ -13833,16 +13833,16 @@ function Ete(e) {
}, n = () => {
w.current && t();
};
- Dx?.addEventListener("resize", t), Dx?.addEventListener("scroll", n);
+ Ex?.addEventListener("resize", t), Ex?.addEventListener("scroll", n);
let r = Dp(Np(window), "scroll", n);
return () => {
- Dx?.removeEventListener("resize", t), Dx?.removeEventListener("scroll", n), r();
+ Ex?.removeEventListener("resize", t), Ex?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, I.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Yee({
+ return Xee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13868,25 +13868,25 @@ function Ete(e) {
updatePosition: C
};
}
-function Dte(e) {
+function Ote(e) {
Gp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Ote(e, t) {
+function kte(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 kte(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 } = ox({
+function Ate(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 } = ax({
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 } = Ete({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Dte({
...c,
targetRef: n,
overlayRef: r,
@@ -13894,15 +13894,15 @@ function kte(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)
});
- ux({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Kee(i?.current ?? r.current) : cv([i?.current ?? r.current], { shouldUseInert: !0 });
+ lx({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? qee(i?.current ?? r.current) : sv([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = Q_(e);
+ let { focusWithinProps: g } = Z_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13913,13 +13913,13 @@ function kte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var Ox = /* @__PURE__ */ new WeakMap();
+var Dx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Ate(e, t, n) {
+function jte(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: _ } = $g({
+ }, { pressProps: g, isPressed: _ } = Qg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13927,7 +13927,7 @@ function Ate(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = $g({
+ }), { pressProps: v, isPressed: y } = Qg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13937,11 +13937,11 @@ function Ate(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = Bh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = zg(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = Bh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = Rg(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 } = Ox.get(t);
- L_(n, t.defaultSelectedValue, t.setSelectedValue), R_({ validationBehavior: O }, t, n);
- let k = z_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Dx.get(t);
+ I_(n, t.defaultSelectedValue, t.setSelectedValue), L_({ validationBehavior: O }, t, n);
+ let k = R_();
return {
labelProps: H(v, (0, I.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13973,13 +13973,13 @@ function Ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function jte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Eg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Z_({
+function Mte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Eg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = X_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = zg(e, { labelable: !0 }), { focusWithinProps: v } = Q_({
+ }), _ = Rg(e, { labelable: !0 }), { focusWithinProps: v } = Z_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13987,7 +13987,7 @@ function jte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = x_(n.currentTarget, {
+ let r = b_(n.currentTarget, {
from: V(n),
accept: (e) => e instanceof Sp(e).HTMLInputElement && e.type === "radio"
}), i;
@@ -14002,7 +14002,7 @@ function jte(e, t) {
},
allowRepeats: !0
}), x = mh(n);
- return Ox.set(t, {
+ return Dx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -14031,18 +14031,18 @@ function jte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var kx = /* @__PURE__ */ new WeakMap();
-function Mte(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = gy({
+var Ox = /* @__PURE__ */ new WeakMap();
+function Nte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = hy({
usage: "search",
sensitivity: "base"
- }), u = (0, I.useMemo)(() => r || new vv(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, I.useMemo)(() => r || new _v(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = ny({
+ ]), { menuTriggerProps: d, menuProps: f } = ty({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = Fh({
@@ -14061,21 +14061,21 @@ function Mte(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = iy({
+ }), { typeSelectProps: m } = ry({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = Z_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = X_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = zg(e, { labelable: !0 }), C = H(m, d, y), w = mh();
- return kx.set(t, {
+ let S = Rg(e, { labelable: !0 }), C = H(m, d, y), w = mh();
+ return Ox.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -14136,13 +14136,13 @@ function Mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Nte(e, t, n) {
- let r = kx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = rv({ style: {
+function Pte(e, t, n) {
+ let r = Ox.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = nv({ style: {
position: "fixed",
top: 0,
left: 0
} });
- L_(e.selectRef, t.defaultValue, t.setValue), R_({
+ I_(e.selectRef, t.defaultValue, t.setValue), L_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -14172,8 +14172,8 @@ function Nte(e, t, n) {
}
};
}
-function Pte(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 } = Nte({
+function Fte(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({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -14197,7 +14197,7 @@ function Pte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = kx.get(t) || {};
+ let { validationBehavior: e } = Ox.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -14228,8 +14228,8 @@ function Pte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Fte(e) {
- let t = zg(e, { labelable: !0 }), n;
+function Ite(e) {
+ let t = Rg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -14238,8 +14238,8 @@ function Fte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Ite(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = J_(e, t, n);
+function Lte(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = q_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -14253,10 +14253,10 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Ax = class {
+var kx = 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 Lte(e.layout) : new _v(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Rte(e.layout) : new gv(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -14292,7 +14292,7 @@ var Ax = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of sy(n, this.collection)) {
+ for (let e of oy(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -14326,13 +14326,13 @@ var Ax = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = sy(t, this.collection);
- return (this.direction === "rtl" ? uy(e)?.key : cy(e)?.key) ?? null;
+ let e = oy(t, this.collection);
+ return (this.direction === "rtl" ? ly(e)?.key : sy(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = sy(n, this.collection), i = (this.direction === "rtl" ? ly(r, t.index - 1) : ly(r, t.index + 1)) ?? null;
+ let r = oy(n, this.collection), i = (this.direction === "rtl" ? cy(r, t.index - 1) : cy(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;
@@ -14341,13 +14341,13 @@ var Ax = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = sy(t, this.collection);
- return (this.direction === "rtl" ? cy(e)?.key : uy(e)?.key) ?? null;
+ let e = oy(t, this.collection);
+ return (this.direction === "rtl" ? sy(e)?.key : ly(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = sy(n, this.collection), i = (this.direction === "rtl" ? ly(r, t.index + 1) : ly(r, t.index - 1)) ?? null;
+ let r = oy(n, this.collection), i = (this.direction === "rtl" ? cy(r, t.index + 1) : cy(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;
@@ -14358,13 +14358,13 @@ var Ax = 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 ? cy(sy(e, this.collection))?.key ?? null : null;
+ return e ? sy(oy(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 = cy(sy(e, this.collection))?.key ?? null;
+ n = sy(oy(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14374,13 +14374,13 @@ var Ax = 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 ? uy(sy(e, this.collection))?.key ?? null : null;
+ return e ? ly(oy(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 = uy(sy(e, this.collection))?.key ?? null;
+ n = ly(oy(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14416,13 +14416,13 @@ var Ax = 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" ? cy(sy(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? sy(oy(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;
}
-}, Lte = class {
+}, Rte = class {
constructor(e) {
this.layout = e;
}
@@ -14435,16 +14435,16 @@ var Ax = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, jx = /* @__PURE__ */ new WeakMap();
+}, Ax = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Rte(e, t, n) {
+function zte(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 = gy({
+ let h = hy({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Eg(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new Ax({
+ }), { direction: g } = Eg(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new kx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14461,7 +14461,7 @@ function Rte(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = oy({
+ ]), { collectionProps: y } = ay({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -14470,7 +14470,7 @@ function Rte(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = mh(e.id);
- jx.set(t, {
+ Ax.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14479,10 +14479,10 @@ function Rte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = ite({
+ let x = ate({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = zg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
+ }), S = Rg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
if (m.isFocused) {
jp(e.currentTarget, V(e)) || m.setFocused(!1);
return;
@@ -14491,36 +14491,36 @@ function Rte(e, t, n) {
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = gb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = hb(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), nte({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), rte({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Mx = /* @__PURE__ */ new WeakMap();
-function Nx(e) {
+var jx = /* @__PURE__ */ new WeakMap();
+function Mx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function zte(e, t) {
- let n = Mx.get(e);
+function Bte(e, t) {
+ let n = jx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Nx(t)}`;
+ return `${n}-${Mx(t)}`;
}
-function Px(e, t, n) {
- let r = Mx.get(e);
+function Nx(e, t, n) {
+ let r = jx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Nx(t)}-${Nx(n)}`;
+ return `${r}-${Mx(t)}-${Mx(n)}`;
}
-function Fx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Px(e, t, n)).join(" ");
+function Px(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => Nx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Ix = {};
-Ix = {
+var Fx = {};
+Fx = {
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: "طي",
@@ -14535,8 +14535,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Lx = {};
-Lx = {
+var Ix = {};
+Ix = {
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: "Свиване",
@@ -14551,8 +14551,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Rx = {};
-Rx = {
+var Lx = {};
+Lx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14567,8 +14567,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var zx = {};
-zx = {
+var Rx = {};
+Rx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14583,8 +14583,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Bx = {};
-Bx = {
+var zx = {};
+zx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14599,8 +14599,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Vx = {};
-Vx = {
+var Bx = {};
+Bx = {
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: "Σύμπτυξη",
@@ -14615,8 +14615,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Hx = {};
-Hx = {
+var Vx = {};
+Vx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14631,8 +14631,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Ux = {};
-Ux = {
+var Hx = {};
+Hx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14647,8 +14647,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Wx = {};
-Wx = {
+var Ux = {};
+Ux = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14663,8 +14663,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Gx = {};
-Gx = {
+var Wx = {};
+Wx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14679,8 +14679,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Kx = {};
-Kx = {
+var Gx = {};
+Gx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14695,8 +14695,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var qx = {};
-qx = {
+var Kx = {};
+Kx = {
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: "כווץ",
@@ -14711,8 +14711,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Jx = {};
-Jx = {
+var qx = {};
+qx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14727,8 +14727,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Yx = {};
-Yx = {
+var Jx = {};
+Jx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14743,8 +14743,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Xx = {};
-Xx = {
+var Yx = {};
+Yx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14759,8 +14759,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Zx = {};
-Zx = {
+var Xx = {};
+Xx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14775,8 +14775,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Qx = {};
-Qx = {
+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: "접기",
@@ -14791,8 +14791,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var $x = {};
-$x = {
+var Qx = {};
+Qx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14807,8 +14807,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var eS = {};
-eS = {
+var $x = {};
+$x = {
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",
@@ -14823,8 +14823,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var tS = {};
-tS = {
+var eS = {};
+eS = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14839,8 +14839,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var nS = {};
-nS = {
+var tS = {};
+tS = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14855,8 +14855,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var rS = {};
-rS = {
+var nS = {};
+nS = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14871,8 +14871,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var iS = {};
-iS = {
+var rS = {};
+rS = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14887,8 +14887,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var aS = {};
-aS = {
+var iS = {};
+iS = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14903,8 +14903,8 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var oS = {};
-oS = {
+var aS = {};
+aS = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14919,8 +14919,8 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var sS = {};
-sS = {
+var oS = {};
+oS = {
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: "Свернуть",
@@ -14935,8 +14935,8 @@ sS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var cS = {};
-cS = {
+var sS = {};
+sS = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14951,8 +14951,8 @@ cS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var lS = {};
-lS = {
+var cS = {};
+cS = {
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",
@@ -14967,8 +14967,8 @@ lS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var uS = {};
-uS = {
+var lS = {};
+lS = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14983,8 +14983,8 @@ uS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var dS = {};
-dS = {
+var uS = {};
+uS = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14999,8 +14999,8 @@ dS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var fS = {};
-fS = {
+var dS = {};
+dS = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -15015,8 +15015,8 @@ fS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var pS = {};
-pS = {
+var fS = {};
+fS = {
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: "Згорнути",
@@ -15031,8 +15031,8 @@ pS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var mS = {};
-mS = {
+var pS = {};
+pS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -15047,8 +15047,8 @@ mS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var hS = {};
-hS = {
+var mS = {};
+mS = {
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: "收合",
@@ -15063,46 +15063,46 @@ hS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var gS = {};
-gS = {
- "ar-AE": Ix,
- "bg-BG": Lx,
- "cs-CZ": Rx,
- "da-DK": zx,
- "de-DE": Bx,
- "el-GR": Vx,
- "en-US": Hx,
- "es-ES": Ux,
- "et-EE": Wx,
- "fi-FI": Gx,
- "fr-FR": Kx,
- "he-IL": qx,
- "hr-HR": Jx,
- "hu-HU": Yx,
- "it-IT": Xx,
- "ja-JP": Zx,
- "ko-KR": Qx,
- "lt-LT": $x,
- "lv-LV": eS,
- "nb-NO": tS,
- "nl-NL": nS,
- "pl-PL": rS,
- "pt-BR": iS,
- "pt-PT": aS,
- "ro-RO": oS,
- "ru-RU": sS,
- "sk-SK": cS,
- "sl-SI": lS,
- "sr-SP": uS,
- "sv-SE": dS,
- "tr-TR": fS,
- "uk-UA": pS,
- "zh-CN": mS,
- "zh-TW": hS
+var hS = {};
+hS = {
+ "ar-AE": Fx,
+ "bg-BG": Ix,
+ "cs-CZ": Lx,
+ "da-DK": Rx,
+ "de-DE": zx,
+ "el-GR": Bx,
+ "en-US": Vx,
+ "es-ES": Hx,
+ "et-EE": Ux,
+ "fi-FI": Wx,
+ "fr-FR": Gx,
+ "he-IL": Kx,
+ "hr-HR": qx,
+ "hu-HU": Jx,
+ "it-IT": Yx,
+ "ja-JP": Xx,
+ "ko-KR": Zx,
+ "lt-LT": Qx,
+ "lv-LV": $x,
+ "nb-NO": eS,
+ "nl-NL": tS,
+ "pl-PL": nS,
+ "pt-BR": rS,
+ "pt-PT": iS,
+ "ro-RO": aS,
+ "ru-RU": oS,
+ "sk-SK": sS,
+ "sl-SI": cS,
+ "sr-SP": lS,
+ "sv-SE": uS,
+ "tr-TR": dS,
+ "uk-UA": fS,
+ "zh-CN": pS,
+ "zh-TW": mS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Bte = class extends Ax {
+var Vte = class extends kx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -15110,7 +15110,7 @@ var Bte = class extends Ax {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = cy(sy(n, this.collection));
+ let e = sy(oy(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);
@@ -15131,13 +15131,13 @@ var Bte = class extends Ax {
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 sy(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of oy(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 = [...sy(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...oy(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -15166,7 +15166,7 @@ var Bte = class extends Ax {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of sy(o, this.collection)) {
+ for (let r of oy(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);
@@ -15180,14 +15180,14 @@ var Bte = class extends Ax {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Vte(e) {
+function Hte(e) {
return e && e.__esModule ? e.default : e;
}
-function Hte(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = gy({
+function Ute(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = hy({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Eg(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Bte({
+ }), { direction: c } = Eg(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Vte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -15207,34 +15207,34 @@ function Hte(e, t, n) {
a,
o
]), d = mh(e.id);
- Mx.set(t, d);
- let { gridProps: f } = Rte({
+ jx.set(t, d);
+ let { gridProps: f } = zte({
...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 = Lg(Vte(gS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Ig(Hte(hS), "@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;
}, [
m,
p,
t.collection.columns
- ]), _ = I_(g);
- return k_(() => {
- g && D_(g, "assertive", 500);
+ ]), _ = F_(g);
+ return O_(() => {
+ g && E_(g, "assertive", 500);
}, [g]), { gridProps: H(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function _S(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Eg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = jx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function gS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Eg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Ax.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
- let e = x_(n.current);
+ let e = b_(n.current);
if (p === "child") {
if (Pp(n.current) && n.current !== Mp(xp(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? vS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? _S(e) : e.firstChild();
if (r) {
sh(r);
return;
@@ -15242,7 +15242,7 @@ function _S(e, t, n) {
}
(m.current != null && r.key !== m.current || !Pp(n.current)) && sh(n.current);
}
- }, { itemProps: g, isPressed: _ } = vb({
+ }, { itemProps: g, isPressed: _ } = _b({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15256,29 +15256,29 @@ function _S(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = Mp(xp(n.current));
if (!jp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = x_(n.current);
+ let a = b_(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), P_(t, { containingElement: j_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), N_(t, { containingElement: A_(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : vS(a), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
+ p === "cell" && l === "rtl" ? (sh(n.current), N_(n.current, { containingElement: A_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : _S(a), t && (sh(t), N_(t, { containingElement: A_(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), P_(t, { containingElement: j_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), N_(t, { containingElement: A_(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? vS(a) : a.firstChild(), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
+ p === "cell" && l === "ltr" ? (sh(n.current), N_(n.current, { containingElement: A_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? _S(a) : a.firstChild(), t && (sh(t), N_(t, { containingElement: A_(n.current) })));
}
break;
}
@@ -15294,7 +15294,7 @@ function _S(e, t, n) {
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = x_(n.current, { tabbable: !0 });
+ let t = b_(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -15323,7 +15323,7 @@ function _S(e, t, n) {
isPressed: _
};
}
-function vS(e) {
+function _S(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -15332,23 +15332,23 @@ function vS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function yS(e, t, n) {
- let { gridCellProps: r, isPressed: i } = _S(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Px(t, e.node.parentKey, a)), {
+function vS(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = gS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Nx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function bS(e) {
+function yS(e) {
return e && e.__esModule ? e.default : e;
}
-function xS(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = _S({
+function bS(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = gS({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = $g({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Qg({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
@@ -15356,9 +15356,9 @@ function xS(e, t, n) {
ref: n
}), { focusableProps: l } = Bh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !sm() && (u = d ? f : "none");
- let p = Lg(bS(gS), "@react-aria/table"), m;
+ let p = Ig(yS(hS), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && sm() && (m = `${m}, ${p.format(f)}`));
- let h = I_(m), g = t.collection.size === 0;
+ let h = F_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -15369,7 +15369,7 @@ function xS(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: zte(t, r.key),
+ id: Bte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15378,14 +15378,14 @@ function xS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function SS(e, t, n) {
+function xS(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 CS(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = jx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = vb({
+function SS(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Ax.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = _b({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15406,10 +15406,10 @@ function CS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function wS(e) {
+function CS(e) {
return e && e.__esModule ? e.default : e;
}
-var TS = {
+var wS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15419,21 +15419,21 @@ var TS = {
rtl: "ArrowRight"
}
};
-function ES(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = CS(e, t, n), { direction: s } = Eg();
+function TS(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = SS(e, t, n), { direction: s } = Eg();
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 = Lg(wS(gS), "@react-aria/table"), u = yg({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Ig(CS(hS), "@react-aria/table"), u = yg({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Fx(t, r.key)
+ "aria-labelledby": Px(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = DS(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 = DS(t.collection, a);
+ let n = ES(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 = ES(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === TS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === TS.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 === wS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === wS.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,
@@ -15455,41 +15455,41 @@ function ES(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Fx(t, r.key)
+ "aria-labelledby": Px(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function DS(e, t) {
+function ES(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 OS() {
+function DS() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function kS() {
- return OS();
+function OS() {
+ return DS();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function AS(e) {
+function kS(e) {
return e && e.__esModule ? e.default : e;
}
-function jS(e, t) {
- let { key: n } = e, { checkboxProps: r } = ote(e, t);
+function AS(e, t) {
+ let { key: n } = e, { checkboxProps: r } = ste(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Fx(t, n)}`
+ "aria-labelledby": `${r.id} ${Px(t, n)}`
} };
}
-function MS(e) {
+function jS(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Lg(AS(gS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Ig(kS(hS), "@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,
@@ -15498,21 +15498,21 @@ function MS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var NS = /* @__PURE__ */ new WeakMap();
-function PS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${NS.get(e)}-${n}-${t}`) : "";
+var MS = /* @__PURE__ */ new WeakMap();
+function NS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${MS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function FS(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 } = vb({
+function PS(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 } = _b({
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 = zg(u?.props, { labelable: !0 });
+ }), p = NS(t, r, "tab"), m = NS(t, r, "tabpanel"), { tabIndex: h } = d, g = Rg(u?.props, { labelable: !0 });
delete g.id;
let _ = vm(u?.props), { focusableProps: v } = Bh({
...u?.props,
@@ -15534,7 +15534,7 @@ function FS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var IS = class {
+var FS = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15578,11 +15578,11 @@ var IS = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function LS(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Eg(), { collectionProps: l } = oy({
+function IS(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Eg(), { collectionProps: l } = ay({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new IS(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new FS(a, c, r, s), [
a,
s,
r,
@@ -15593,7 +15593,7 @@ function LS(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = mh();
- return NS.set(t, u), { tabListProps: {
+ return MS.set(t, u), { tabListProps: {
...H(l, yg({
...e,
id: u
@@ -15605,12 +15605,12 @@ function LS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function RS(e, t, n) {
- let r = gb(n) ? void 0 : 0, i = PS(t, e.id ?? t?.selectedKey, "tabpanel");
+function LS(e, t, n) {
+ let r = hb(n) ? void 0 : 0, i = NS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(yg({
...e,
id: i,
- "aria-labelledby": PS(t, t?.selectedKey, "tab")
+ "aria-labelledby": NS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15620,7 +15620,7 @@ function RS(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var zS = /* @__PURE__ */ F(((e) => {
+var RS = /* @__PURE__ */ F(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15819,10 +15819,10 @@ var zS = /* @__PURE__ */ F(((e) => {
}
};
};
-})), BS = /* @__PURE__ */ F(((e, t) => {
- t.exports = zS();
-})), VS = /* @__PURE__ */ F(((e) => {
- var t = BS(), n = ce(), r = Kh();
+})), zS = /* @__PURE__ */ F(((e, t) => {
+ t.exports = RS();
+})), BS = /* @__PURE__ */ F(((e) => {
+ var t = zS(), n = ce(), r = Kh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -24232,7 +24232,7 @@ var zS = /* @__PURE__ */ F(((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);
};
-})), HS = (/* @__PURE__ */ F(((e, t) => {
+})), VS = (/* @__PURE__ */ F(((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);
@@ -24240,8 +24240,8 @@ var zS = /* @__PURE__ */ F(((e) => {
console.error(e);
}
}
- n(), t.exports = VS();
-})))(), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = BS();
+})))(), 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,
@@ -24249,7 +24249,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), US = ({ 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,
@@ -24257,7 +24257,7 @@ var zS = /* @__PURE__ */ F(((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" })), GS = ({ 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" })), 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,
@@ -24265,7 +24265,7 @@ var zS = /* @__PURE__ */ F(((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" })), KS = ({ 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" })), 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,
@@ -24273,7 +24273,7 @@ var zS = /* @__PURE__ */ F(((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" })), qS = ({ 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" })), 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,
@@ -24281,7 +24281,7 @@ var zS = /* @__PURE__ */ F(((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" })), JS = ({ 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" })), qS = ({ 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,
@@ -24289,7 +24289,7 @@ var zS = /* @__PURE__ */ F(((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" })), YS = ({ 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" })), 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,
@@ -24297,7 +24297,7 @@ var zS = /* @__PURE__ */ F(((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" })), XS = ({ 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" })), 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,
@@ -24305,7 +24305,7 @@ var zS = /* @__PURE__ */ F(((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" })), ZS = ({ 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" })), 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,
@@ -24313,7 +24313,7 @@ var zS = /* @__PURE__ */ F(((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" })), QS = ({ 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" })), 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,
@@ -24321,7 +24321,7 @@ var zS = /* @__PURE__ */ F(((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" })), $S = ({ 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" })), QS = ({ 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,
@@ -24329,7 +24329,7 @@ var zS = /* @__PURE__ */ F(((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" })), eC = ({ 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" })), $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,
@@ -24337,7 +24337,7 @@ var zS = /* @__PURE__ */ F(((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" })), tC = ({ 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" })), eC = ({ 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,
@@ -24345,7 +24345,7 @@ var zS = /* @__PURE__ */ F(((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" })), nC = ({ 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" })), tC = ({ 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,
@@ -24353,7 +24353,7 @@ var zS = /* @__PURE__ */ F(((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" })), rC = ({ 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" })), nC = ({ 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,
@@ -24361,7 +24361,7 @@ var zS = /* @__PURE__ */ F(((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" })), iC = ({ 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" })), rC = ({ 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,
@@ -24369,7 +24369,7 @@ var zS = /* @__PURE__ */ F(((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" })), aC = ({ 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" })), iC = ({ 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,
@@ -24377,7 +24377,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), oC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), aC = ({ 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,
@@ -24385,7 +24385,7 @@ var zS = /* @__PURE__ */ F(((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" })), sC = ({ 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" })), oC = ({ 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,
@@ -24393,7 +24393,7 @@ var zS = /* @__PURE__ */ F(((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" })), cC = ({ 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" })), sC = ({ 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,
@@ -24401,7 +24401,7 @@ var zS = /* @__PURE__ */ F(((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" })), lC = ({ 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" })), cC = ({ 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,
@@ -24409,7 +24409,7 @@ var zS = /* @__PURE__ */ F(((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" })), uC = ({ 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" })), lC = ({ 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,
@@ -24417,7 +24417,7 @@ var zS = /* @__PURE__ */ F(((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" })), dC = ({ 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" })), uC = ({ 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,
@@ -24425,7 +24425,7 @@ var zS = /* @__PURE__ */ F(((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" })), fC = ({ 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" })), dC = ({ 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,
@@ -24433,7 +24433,7 @@ var zS = /* @__PURE__ */ F(((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" })), Ute = ({ 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" })), 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,
@@ -24441,7 +24441,7 @@ var zS = /* @__PURE__ */ F(((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" })), Wte = ({ 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" })), 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,
@@ -24449,7 +24449,7 @@ var zS = /* @__PURE__ */ F(((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" })), pC = ({ 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" })), fC = ({ 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,
@@ -24457,7 +24457,7 @@ var zS = /* @__PURE__ */ F(((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" })), mC = ({ 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" })), pC = ({ 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,
@@ -24465,7 +24465,7 @@ var zS = /* @__PURE__ */ F(((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" })), hC = ({ 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" })), mC = ({ 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,
@@ -24473,7 +24473,7 @@ var zS = /* @__PURE__ */ F(((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" })), gC = ({ 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" })), hC = ({ 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,
@@ -24481,7 +24481,7 @@ var zS = /* @__PURE__ */ F(((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" })), Gte = ({ 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" })), 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,
@@ -24489,7 +24489,7 @@ var zS = /* @__PURE__ */ F(((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" })), Kte = ({ 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" })), 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,
@@ -24497,7 +24497,7 @@ var zS = /* @__PURE__ */ F(((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" })), qte = ({ 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" })), 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,
@@ -24505,7 +24505,7 @@ var zS = /* @__PURE__ */ F(((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" })), _C = ({ 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" })), gC = ({ 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,
@@ -24513,7 +24513,7 @@ var zS = /* @__PURE__ */ F(((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" })), vC = ({ 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" })), _C = ({ 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,
@@ -24521,7 +24521,7 @@ var zS = /* @__PURE__ */ F(((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" })), Jte = ({ 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" })), 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,
@@ -24529,7 +24529,7 @@ var zS = /* @__PURE__ */ F(((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" })), Yte = ({ 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" })), 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,
@@ -24537,100 +24537,100 @@ var zS = /* @__PURE__ */ F(((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" })), Xte = (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" })), Zte = (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;
-}, Zte = (e, t) => ({
+}, Qte = (e, t) => ({
classGroupId: e,
validator: t
-}), yC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), vC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), bC = "-", xC = [], Qte = "arbitrary..", $te = (e) => {
- let t = tne(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), yC = "-", bC = [], $te = "arbitrary..", ene = (e) => {
+ let t = nne(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return ene(e);
- let n = e.split(bC);
- return SC(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return tne(e);
+ let n = e.split(yC);
+ return xC(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Xte(i, t) : t : i || xC;
+ return t ? i ? Zte(i, t) : t : i || bC;
}
- return n[e] || xC;
+ return n[e] || bC;
}
};
-}, SC = (e, t, n) => {
+}, xC = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = SC(e, t + 1, i);
+ let n = xC(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(bC) : e.slice(t).join(bC), s = a.length;
+ let o = t === 0 ? e.join(yC) : e.slice(t).join(yC), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, ene = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, tne = (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 ? Qte + r : void 0;
-})(), tne = (e) => {
+ return r ? $te + r : void 0;
+})(), nne = (e) => {
let { theme: t, classGroups: n } = e;
- return nne(n, t);
-}, nne = (e, t) => {
- let n = yC();
+ return rne(n, t);
+}, rne = (e, t) => {
+ let n = vC();
for (let r in e) {
let i = e[r];
- CC(i, n, r, t);
+ SC(i, n, r, t);
}
return n;
-}, CC = (e, t, n, r) => {
+}, SC = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- rne(i, t, n, r);
+ ine(i, t, n, r);
}
-}, rne = (e, t, n, r) => {
+}, ine = (e, t, n, r) => {
if (typeof e == "string") {
- ine(e, t, n);
+ ane(e, t, n);
return;
}
if (typeof e == "function") {
- ane(e, t, n, r);
+ one(e, t, n, r);
return;
}
- one(e, t, n, r);
-}, ine = (e, t, n) => {
- let r = e === "" ? t : wC(t, e);
+ sne(e, t, n, r);
+}, ane = (e, t, n) => {
+ let r = e === "" ? t : CC(t, e);
r.classGroupId = n;
-}, ane = (e, t, n, r) => {
- if (sne(e)) {
- CC(e(r), t, n, r);
+}, one = (e, t, n, r) => {
+ if (cne(e)) {
+ SC(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Zte(n, e));
-}, one = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(Qte(n, e));
+}, sne = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- CC(o, wC(t, a), n, r);
+ SC(o, CC(t, a), n, r);
}
-}, wC = (e, t) => {
- let n = e, r = t.split(bC), i = r.length;
+}, CC = (e, t) => {
+ let n = e, r = t.split(yC), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = yC(), n.nextPart.set(t, i)), n = i;
+ i || (i = vC(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, sne = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cne = (e) => {
+}, cne = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lne = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24648,19 +24648,19 @@ var zS = /* @__PURE__ */ F(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, TC = "!", EC = ":", lne = [], DC = (e, t, n, r, i) => ({
+}, wC = "!", TC = ":", une = [], EC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), une = (e) => {
+}), dne = (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 === EC) {
+ if (o === TC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24672,13 +24672,13 @@ var zS = /* @__PURE__ */ F(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(TC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(TC) && (c = s.slice(1), l = !0);
+ s.endsWith(wC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(wC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return DC(t, l, c, u);
+ return EC(t, l, c, u);
};
if (t) {
- let e = t + EC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : DC(lne, !1, t, void 0, !0);
+ let e = t + TC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : EC(une, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24688,7 +24688,7 @@ var zS = /* @__PURE__ */ F(((e) => {
});
}
return r;
-}, dne = (e) => {
+}, fne = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24700,18 +24700,18 @@ var zS = /* @__PURE__ */ F(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, fne = (e) => ({
- cache: cne(e.cacheSize),
- parseClassName: une(e),
- sortModifiers: dne(e),
- postfixLookupClassGroupIds: pne(e),
- ...$te(e)
-}), pne = (e) => {
+}, pne = (e) => ({
+ cache: lne(e.cacheSize),
+ parseClassName: dne(e),
+ sortModifiers: fne(e),
+ postfixLookupClassGroupIds: mne(e),
+ ...ene(e)
+}), mne = (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;
-}, mne = /\s+/, hne = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mne), l = "";
+}, hne = /\s+/, gne = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(hne), 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) {
@@ -24735,7 +24735,7 @@ var zS = /* @__PURE__ */ F(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + TC : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + wC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24746,34 +24746,34 @@ var zS = /* @__PURE__ */ F(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, gne = (...e) => {
+}, _ne = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = OC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = DC(n)) && (i && (i += " "), i += r);
return i;
-}, OC = (e) => {
+}, DC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = OC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = DC(e[r])) && (n && (n += " "), n += t);
return n;
-}, kC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = fne(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, OC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = pne(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 = hne(e, n);
+ let a = gne(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(gne(...e));
-}, _ne = [], AC = (e) => {
- let t = (t) => t[e] || _ne;
+ return a = o, (...e) => a(_ne(...e));
+}, vne = [], kC = (e) => {
+ let t = (t) => t[e] || vne;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, jC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, MC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vne = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yne = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bne = /\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$/, xne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Sne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NC = (e) => vne.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) => yne.test(e), RC = () => !0, wne = (e) => bne.test(e) && !xne.test(e), zC = () => !1, Tne = (e) => Sne.test(e), Ene = (e) => Cne.test(e), Dne = (e) => !U(e) && !W(e), One = (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)), kne = (e) => qC(e, ZC, zC), U = (e) => jC.test(e), BC = (e) => qC(e, QC, wne), VC = (e) => qC(e, Lne, PC), Ane = (e) => qC(e, ew, RC), jne = (e) => qC(e, $C, zC), HC = (e) => qC(e, YC, zC), Mne = (e) => qC(e, XC, Ene), UC = (e) => qC(e, tw, Tne), W = (e) => MC.test(e), WC = (e) => JC(e, QC), Nne = (e) => JC(e, $C), GC = (e) => JC(e, YC), Pne = (e) => JC(e, ZC), Fne = (e) => JC(e, XC), KC = (e) => JC(e, tw, !0), Ine = (e) => JC(e, ew, !0), qC = (e, t, n) => {
- let r = jC.exec(e);
+}, AC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, jC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, yne = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, bne = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xne = /\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$/, Sne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Cne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, MC = (e) => yne.test(e), NC = (e) => !!e && !Number.isNaN(Number(e)), PC = (e) => !!e && Number.isInteger(Number(e)), FC = (e) => e.endsWith("%") && NC(e.slice(0, -1)), IC = (e) => bne.test(e), LC = () => !0, Tne = (e) => xne.test(e) && !Sne.test(e), RC = () => !1, Ene = (e) => Cne.test(e), Dne = (e) => wne.test(e), One = (e) => !U(e) && !W(e), kne = (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)), Ane = (e) => KC(e, XC, RC), U = (e) => AC.test(e), zC = (e) => KC(e, ZC, Tne), BC = (e) => KC(e, Rne, NC), jne = (e) => KC(e, $C, LC), Mne = (e) => KC(e, QC, RC), VC = (e) => KC(e, JC, RC), Nne = (e) => KC(e, YC, Dne), HC = (e) => KC(e, ew, Ene), W = (e) => jC.test(e), UC = (e) => qC(e, ZC), Pne = (e) => qC(e, QC), WC = (e) => qC(e, JC), Fne = (e) => qC(e, XC), Ine = (e) => qC(e, YC), GC = (e) => qC(e, ew, !0), Lne = (e) => qC(e, $C, !0), KC = (e, t, n) => {
+ let r = AC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, JC = (e, t, n = !1) => {
- let r = MC.exec(e);
+}, qC = (e, t, n = !1) => {
+ let r = jC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, YC = (e) => e === "position" || e === "percentage", XC = (e) => e === "image" || e === "url", ZC = (e) => e === "length" || e === "size" || e === "bg-size", QC = (e) => e === "length", Lne = (e) => e === "number", $C = (e) => e === "family-name", ew = (e) => e === "number" || e === "weight", tw = (e) => e === "shadow", nw = () => {
- let e = AC("color"), t = AC("font"), n = AC("text"), r = AC("font-weight"), i = AC("tracking"), a = AC("leading"), o = AC("breakpoint"), s = AC("container"), c = AC("spacing"), l = AC("radius"), u = AC("shadow"), d = AC("inset-shadow"), f = AC("text-shadow"), p = AC("drop-shadow"), m = AC("blur"), h = AC("perspective"), g = AC("aspect"), _ = AC("ease"), v = AC("animate"), y = () => [
+}, JC = (e) => e === "position" || e === "percentage", YC = (e) => e === "image" || e === "url", XC = (e) => e === "length" || e === "size" || e === "bg-size", ZC = (e) => e === "length", Rne = (e) => e === "number", QC = (e) => e === "family-name", $C = (e) => e === "number" || e === "weight", ew = (e) => e === "shadow", tw = () => {
+ let e = kC("color"), t = kC("font"), n = kC("text"), r = kC("font-weight"), i = kC("tracking"), a = kC("leading"), o = kC("breakpoint"), s = kC("container"), c = kC("spacing"), l = kC("radius"), u = kC("shadow"), d = kC("inset-shadow"), f = kC("text-shadow"), p = kC("drop-shadow"), m = kC("blur"), h = kC("perspective"), g = kC("aspect"), _ = kC("ease"), v = kC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24815,12 +24815,12 @@ var zS = /* @__PURE__ */ F(((e) => {
U,
c
], T = () => [
- NC,
+ MC,
"full",
"auto",
...w()
], E = () => [
- FC,
+ PC,
"none",
"subgrid",
W,
@@ -24829,15 +24829,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"auto",
{ span: [
"full",
- FC,
+ PC,
W,
U
] },
- FC,
+ PC,
W,
U
], O = () => [
- FC,
+ PC,
"auto",
W,
U
@@ -24867,7 +24867,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- NC,
+ MC,
"auto",
"full",
"dvw",
@@ -24882,7 +24882,7 @@ var zS = /* @__PURE__ */ F(((e) => {
...w()
], ee = () => [
s,
- NC,
+ MC,
"screen",
"full",
"dvw",
@@ -24893,7 +24893,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"fit",
...w()
], te = () => [
- NC,
+ MC,
"screen",
"full",
"lh",
@@ -24910,8 +24910,8 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], ne = () => [
...b(),
- GC,
- HC,
+ WC,
+ VC,
{ position: [W, U] }
], F = () => ["no-repeat", { repeat: [
"",
@@ -24923,13 +24923,13 @@ var zS = /* @__PURE__ */ F(((e) => {
"auto",
"cover",
"contain",
- Pne,
- kne,
+ Fne,
+ Ane,
{ size: [W, U] }
], ie = () => [
- IC,
- WC,
- BC
+ FC,
+ UC,
+ zC
], ae = () => [
"",
"none",
@@ -24939,9 +24939,9 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], oe = () => [
"",
- PC,
- WC,
- BC
+ NC,
+ UC,
+ zC
], se = () => [
"solid",
"dashed",
@@ -24965,10 +24965,10 @@ var zS = /* @__PURE__ */ F(((e) => {
"color",
"luminosity"
], le = () => [
- PC,
- IC,
- GC,
- HC
+ NC,
+ FC,
+ WC,
+ VC
], ue = () => [
"",
"none",
@@ -24977,20 +24977,20 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], I = () => [
"none",
- PC,
+ NC,
W,
U
], L = () => [
"none",
- PC,
+ NC,
W,
U
], R = () => [
- PC,
+ NC,
W,
U
], z = () => [
- NC,
+ MC,
"full",
...w()
];
@@ -25004,17 +25004,17 @@ var zS = /* @__PURE__ */ F(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [LC],
- breakpoint: [LC],
- color: [RC],
- container: [LC],
- "drop-shadow": [LC],
+ blur: [IC],
+ breakpoint: [IC],
+ color: [LC],
+ container: [IC],
+ "drop-shadow": [IC],
ease: [
"in",
"out",
"in-out"
],
- font: [Dne],
+ font: [One],
"font-weight": [
"thin",
"extralight",
@@ -25026,7 +25026,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [LC],
+ "inset-shadow": [IC],
leading: [
"none",
"tight",
@@ -25043,11 +25043,11 @@ var zS = /* @__PURE__ */ F(((e) => {
"distant",
"none"
],
- radius: [LC],
- shadow: [LC],
- spacing: ["px", PC],
- text: [LC],
- "text-shadow": [LC],
+ radius: [IC],
+ shadow: [IC],
+ spacing: ["px", NC],
+ text: [IC],
+ "text-shadow": [IC],
tracking: [
"tighter",
"tight",
@@ -25061,7 +25061,7 @@ var zS = /* @__PURE__ */ F(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- NC,
+ MC,
U,
W,
g
@@ -25074,9 +25074,9 @@ var zS = /* @__PURE__ */ F(((e) => {
W,
U
] }],
- "container-named": [One],
+ "container-named": [kne],
columns: [{ columns: [
- PC,
+ NC,
"auto",
U,
W,
@@ -25176,13 +25176,13 @@ var zS = /* @__PURE__ */ F(((e) => {
"collapse"
],
z: [{ z: [
- FC,
+ PC,
"auto",
W,
U
] }],
basis: [{ basis: [
- NC,
+ MC,
"full",
"auto",
s,
@@ -25200,8 +25200,8 @@ var zS = /* @__PURE__ */ F(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- PC,
NC,
+ MC,
"auto",
"initial",
"none",
@@ -25209,18 +25209,18 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
grow: [{ grow: [
"",
- PC,
+ NC,
W,
U
] }],
shrink: [{ shrink: [
"",
- PC,
+ NC,
W,
U
] }],
order: [{ order: [
- FC,
+ PC,
"first",
"last",
"none",
@@ -25332,15 +25332,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"font-size": [{ text: [
"base",
n,
- WC,
- BC
+ UC,
+ zC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Ine,
- Ane
+ Lne,
+ jne
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -25352,12 +25352,12 @@ var zS = /* @__PURE__ */ F(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- IC,
+ FC,
U
] }],
"font-family": [{ font: [
- Nne,
- jne,
+ Pne,
+ Mne,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25373,10 +25373,10 @@ var zS = /* @__PURE__ */ F(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- PC,
+ NC,
"none",
W,
- VC
+ BC
] }],
leading: [{ leading: [
"none",
@@ -25414,15 +25414,15 @@ var zS = /* @__PURE__ */ F(((e) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- PC,
+ NC,
"from-font",
"auto",
W,
- BC
+ zC
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- PC,
+ NC,
"auto",
W,
U
@@ -25446,7 +25446,7 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- FC,
+ PC,
W,
U
] }],
@@ -25524,7 +25524,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"l",
"tl"
] },
- FC,
+ PC,
W,
U
],
@@ -25535,13 +25535,13 @@ var zS = /* @__PURE__ */ F(((e) => {
],
conic: [
"",
- FC,
+ PC,
W,
U
]
},
- Fne,
- Mne
+ Ine,
+ Nne
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -25608,15 +25608,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- PC,
+ NC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- PC,
- WC,
- BC
+ NC,
+ UC,
+ zC
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -25624,33 +25624,33 @@ var zS = /* @__PURE__ */ F(((e) => {
"inner",
"none",
u,
- KC,
- UC
+ GC,
+ HC
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- KC,
- UC
+ GC,
+ HC
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [PC, BC] }],
+ "ring-offset-w": [{ "ring-offset": [NC, zC] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- KC,
- UC
+ GC,
+ HC
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- PC,
+ NC,
W,
U
] }],
@@ -25674,7 +25674,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [PC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [NC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -25714,7 +25714,7 @@ var zS = /* @__PURE__ */ F(((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": [NC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -25749,12 +25749,12 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- PC,
+ NC,
W,
U
] }],
contrast: [{ contrast: [
- PC,
+ NC,
W,
U
] }],
@@ -25762,35 +25762,35 @@ var zS = /* @__PURE__ */ F(((e) => {
"",
"none",
p,
- KC,
- UC
+ GC,
+ HC
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- PC,
+ NC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- PC,
+ NC,
W,
U
] }],
invert: [{ invert: [
"",
- PC,
+ NC,
W,
U
] }],
saturate: [{ saturate: [
- PC,
+ NC,
W,
U
] }],
sepia: [{ sepia: [
"",
- PC,
+ NC,
W,
U
] }],
@@ -25802,45 +25802,45 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- PC,
+ NC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- PC,
+ NC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- PC,
+ NC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- PC,
+ NC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- PC,
+ NC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- PC,
+ NC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- PC,
+ NC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- PC,
+ NC,
W,
U
] }],
@@ -25863,7 +25863,7 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- PC,
+ NC,
"initial",
W,
U
@@ -25876,7 +25876,7 @@ var zS = /* @__PURE__ */ F(((e) => {
U
] }],
delay: [{ delay: [
- PC,
+ NC,
W,
U
] }],
@@ -25921,7 +25921,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- FC,
+ PC,
W,
U
] }],
@@ -26065,10 +26065,10 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- PC,
- WC,
- BC,
- VC
+ NC,
+ UC,
+ zC,
+ BC
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -26326,16 +26326,16 @@ var zS = /* @__PURE__ */ F(((e) => {
"selection"
]
};
-}, Rne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (rw(e, "cacheSize", t), rw(e, "prefix", n), rw(e, "experimentalParseClassName", r), iw(e.theme, a.theme), iw(e.classGroups, a.classGroups), iw(e.conflictingClassGroups, a.conflictingClassGroups), iw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), rw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), rw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), aw(e.theme, i.theme), aw(e.classGroups, i.classGroups), aw(e.conflictingClassGroups, i.conflictingClassGroups), aw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ow(e, i, "postfixLookupClassGroups"), ow(e, i, "orderSensitiveModifiers"), e), rw = (e, t, n) => {
+}, zne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (nw(e, "cacheSize", t), nw(e, "prefix", n), nw(e, "experimentalParseClassName", r), rw(e.theme, a.theme), rw(e.classGroups, a.classGroups), rw(e.conflictingClassGroups, a.conflictingClassGroups), rw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), nw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), nw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), iw(e.theme, i.theme), iw(e.classGroups, i.classGroups), iw(e.conflictingClassGroups, i.conflictingClassGroups), iw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), aw(e, i, "postfixLookupClassGroups"), aw(e, i, "orderSensitiveModifiers"), e), nw = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, rw = (e, t) => {
+ if (t) for (let n in t) nw(e, n, t[n]);
}, iw = (e, t) => {
- if (t) for (let n in t) rw(e, n, t[n]);
-}, aw = (e, t) => {
- if (t) for (let n in t) ow(e, t, n);
-}, ow = (e, t, n) => {
+ if (t) for (let n in t) aw(e, t, n);
+}, aw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, zne = (e, ...t) => typeof e == "function" ? kC(nw, e, ...t) : kC(() => Rne(nw(), e), ...t), Bne = [
+}, Bne = (e, ...t) => typeof e == "function" ? OC(tw, e, ...t) : OC(() => zne(tw(), e), ...t), Vne = [
"large-title",
"display-1",
"display-2",
@@ -26349,18 +26349,18 @@ var zS = /* @__PURE__ */ F(((e) => {
"body-2",
"caption-1",
"caption-2"
-], Vne = [
+], Hne = [
"regular",
"medium",
"semibold",
"bold"
-], sw = zne({ extend: { classGroups: { "font-size": [{ text: Bne.flatMap((e) => Vne.map((t) => `${e}-${t}`)) }] } } });
-function cw(e) {
+], ow = Bne({ extend: { classGroups: { "font-size": [{ text: Vne.flatMap((e) => Hne.map((t) => `${e}-${t}`)) }] } } });
+function sw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var lw = cw({
+var cw = sw({
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",
@@ -26379,16 +26379,16 @@ var lw = cw({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function uw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function lw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: sw(lw.base, lw.variant[e], lw.color[t], n),
+ className: ow(cw.base, cw.variant[e], cw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var dw = cw({
+var uw = sw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26447,40 +26447,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
+ className: ow(uw.base, uw.size[t], uw.variant[e], n && uw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: dw.icon[t],
+ className: uw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: dw.label[t],
+ className: uw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: dw.icon[t],
+ className: uw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function fw({ 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: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
+ className: ow(uw.base, uw.size[t], uw.variant[e], n && uw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: dw.icon[t],
+ className: uw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: dw.label[t],
+ className: uw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: dw.icon[t],
+ className: uw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26488,13 +26488,13 @@ function fw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var pw = class extends Error {
+var fw = 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) => {
+}, pw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26507,7 +26507,7 @@ var pw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function hw(e, t) {
+async function mw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26516,7 +26516,7 @@ async function hw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new pw(mw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new fw(pw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26533,52 +26533,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new pw(mw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new fw(pw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Hne = "min-w-0", Une = {
+var Une = "min-w-0", Wne = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Wne = {
+}, Gne = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Gne = {
+}, Kne = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Kne = {
+}, qne = {
none: "",
default: "p-5"
-}, qne = "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", Jne = "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 gw(e = {}) {
+}, Jne = "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", Yne = "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 hw(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 [
- Hne,
- Une[t],
- Wne[s],
- Kne[n],
- a ? Gne[a] : "",
- r ? qne : "",
- i ? Jne : "",
+ Une,
+ Wne[t],
+ Gne[s],
+ qne[n],
+ a ? Kne[a] : "",
+ r ? Jne : "",
+ i ? Yne : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Yne = {
+var Xne = {
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 _w({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function gw({ 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 ${Yne[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Xne[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26608,7 +26608,7 @@ function _w({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function vw({ label: e, inline: t = !1 }) {
+function _w({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26674,7 +26674,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function yw({ children: e }) {
+function vw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26682,21 +26682,21 @@ function yw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var bw = 100, Xne = .4;
-function xw({ 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 * bw;
+var yw = 100, Zne = .4;
+function bw({ 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 * yw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${bw} 1`,
+ viewBox: `0 0 ${yw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: bw,
+ width: yw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26707,7 +26707,7 @@ function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: Xne,
+ width: Zne,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26716,7 +26716,7 @@ function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Sw(e = "") {
+function xw(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) {
@@ -26754,11 +26754,11 @@ var X = new St({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Cw = "/api/tasks", ww = ["tasks"], Zne = (e, t) => hw(`${Cw}?${new URLSearchParams({
+} } }), Sw = "/api/tasks", Cw = ["tasks"], Qne = (e, t) => mw(`${Sw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Tw(...e) {
+function ww(...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) => {
@@ -26766,26 +26766,26 @@ function Tw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Qne = 2e3, $ne = 1e4, ere = (e) => e?.running.length ? Qne : $ne, Ew = (e) => hw(Cw, e);
-async function tre(e) {
+var $ne = 2e3, ere = 1e4, tre = (e) => e?.running.length ? $ne : ere, Tw = (e) => mw(Sw, e);
+async function nre(e) {
await X.fetchQuery({
- queryKey: ww,
- queryFn: () => Ew(e)
+ queryKey: Cw,
+ queryFn: () => Tw(e)
});
}
-var Dw = {
+var Ew = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, nre = {
+}, rre = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, rre = (e) => nre[e] || e, ire = {
+}, ire = (e) => rre[e] || e, are = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26815,7 +26815,7 @@ var Dw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function are(e) {
+function ore(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26824,7 +26824,7 @@ function are(e) {
}
return t;
}
-function ore(e, t) {
+function sre(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26846,19 +26846,19 @@ function ore(e, t) {
}
return n;
}
-var sre = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Ow = (e) => e.status === "pending" || e.status === "running";
-function cre(e) {
+var cre = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Dw = (e) => e.status === "pending" || e.status === "running";
+function lre(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 || jw(e.result_summary) || (Ow(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || Aw(e.result_summary) || (Dw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function kw(e) {
+function Ow(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 Aw(e) {
+function kw(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26868,7 +26868,7 @@ function Aw(e) {
minute: "2-digit"
});
}
-var lre = /* @__PURE__ */ new Set([
+var ure = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26877,28 +26877,28 @@ var lre = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function jw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !lre.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ire[e] || e} ${t}`).join(" · ");
+function Aw(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !ure.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${are[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var ure = {
+var dre = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function Mw({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)(uw, {
- color: ure[e] ?? "neutral",
- children: rre(e)
+function jw({ status: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(lw, {
+ color: dre[e] ?? "neutral",
+ children: ire(e)
});
}
-function dre({ rows: e }) {
+function fre({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = cre(e);
+ let t = lre(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26908,7 +26908,7 @@ function dre({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, L.jsx)(Mw, { status: e.status }),
+ /* @__PURE__ */ (0, L.jsx)(jw, { status: e.status }),
t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26918,12 +26918,12 @@ function dre({ rows: e }) {
})
});
}
-function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Mw({ 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: gw({
+ className: hw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26937,7 +26937,7 @@ function Nw({ 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)(Mw, { status: e.status })]
+ }), /* @__PURE__ */ (0, L.jsx)(jw, { status: e.status })]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26946,7 +26946,7 @@ function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(dre, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(fre, { 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", {
@@ -26957,15 +26957,15 @@ function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function fre({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = kw(e.elapsed_seconds), o = [Dw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Nw, {
+function pre({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Ow(e.elapsed_seconds), o = [Ew[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, L.jsx)(Mw, {
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)(xw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(bw, {
label: i,
value: r,
max: n
@@ -26980,20 +26980,20 @@ function fre({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, { label: i })
});
}
-function Pw({ run: e, followups: t, runs: n }) {
- let r = jw(e.result_summary), i = kw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Dw[e.trigger] || e.trigger,
+function Nw({ run: e, followups: t, runs: n }) {
+ let r = Aw(e.result_summary), i = Ow(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Ew[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Aw(a.finished_at)} – ${Aw(e.finished_at)}`
+ `${kw(a.finished_at)} – ${kw(e.finished_at)}`
] : [
- Dw[e.trigger] || e.trigger,
- Aw(e.finished_at),
+ Ew[e.trigger] || e.trigger,
+ kw(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Nw, {
+ return /* @__PURE__ */ (0, L.jsx)(Mw, {
run: e,
meta: o,
footer: e.error,
@@ -27004,7 +27004,7 @@ function Pw({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function Fw({ title: e, children: t }) {
+function Pw({ title: e, children: t }) {
let n = (0, I.useId)();
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-labelledby": n,
@@ -27016,41 +27016,41 @@ function Fw({ title: e, children: t }) {
}), t]
});
}
-function Iw({ live: e = !1, children: t }) {
+function Fw({ 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 pre(e) {
+function mre(e) {
let t = Ft({
- queryKey: ww,
- queryFn: ({ signal: e }) => Ew(e),
- refetchInterval: (e) => ere(e.state.data)
+ queryKey: Cw,
+ queryFn: ({ signal: e }) => Tw(e),
+ refetchInterval: (e) => tre(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(Tw(i, c)));
+ r !== c && (l(r), i.length && c && a(ww(i, c)));
let u = It({
- mutationFn: ({ oldest: e }) => Zne(e),
+ mutationFn: ({ oldest: e }) => Qne(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Tw(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => ww(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Tw(n.finished || [], i), p = [
+ let f = ww(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = are(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 = ore(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(Ow)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = ore(w, (e) => sre(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Dw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = sre(w, (e) => cre(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -27059,20 +27059,20 @@ function pre(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(_w, {
+ E ? /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: cC,
+ icon: sC,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(Fw, {
+ /* @__PURE__ */ (0, L.jsx)(Pw, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Iw, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Fw, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(fre, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(pre, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Nw, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -27081,17 +27081,17 @@ function pre(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, L.jsx)(Fw, {
+ C.length ? /* @__PURE__ */ (0, L.jsx)(Pw, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, L.jsx)(Iw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ children: /* @__PURE__ */ (0, L.jsx)(Fw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Nw, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, L.jsxs)(Fw, {
+ w.length || y ? /* @__PURE__ */ (0, L.jsxs)(Pw, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, L.jsx)(Iw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ w.length ? /* @__PURE__ */ (0, L.jsx)(Fw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Nw, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -27103,7 +27103,7 @@ function pre(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: GS,
+ leadingIcon: WS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -27116,56 +27116,56 @@ function pre(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function mre(e) {
+function hre(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Lw(e, t) {
- return e.is_jav && e.code && e.has_cover && (mre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Iw(e, t) {
+ return e.is_jav && e.code && e.has_cover && (hre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-function Rw(e, t) {
+function Lw(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var hre = (e, t) => [
+var gre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], gre = (e, t) => [
+], _re = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function _re(e, t, n, r, i) {
+async function vre(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 hw(`/api/items?${a}`, i), s = {
+ let o = await mw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await hw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await mw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var vre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, yre = (e, t) => {
+var yre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, bre = (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 zw(e) {
- let t = Rw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function Rw(e) {
+ let t = Lw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: hre(t, e.revision || 0),
+ queryKey: gre(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await _re(t, i, n, r, a);
+ let o = await vre(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: vre(n)
+ getNextPageParam: yre(n)
};
}
-function bre(e) {
+function xre(e) {
return {
- queryKey: gre(e.entityKey || "", e.revision || 0),
+ queryKey: _re(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -27180,12 +27180,12 @@ function bre(e) {
};
},
initialPageParam: 0,
- getNextPageParam: yre
+ getNextPageParam: bre
};
}
-async function xre(e, t) {
+async function Sre(e, t) {
if (e.mode !== "catalog") return;
- let n = zw(e);
+ let n = Rw(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -27194,7 +27194,7 @@ async function xre(e, t) {
})
});
}
-function Sre(e, t, n) {
+function Cre(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -27209,28 +27209,28 @@ function Sre(e, t, n) {
return !0;
}) : [...e];
}
-var Bw = (e, t) => !!e && !!Lw(e, t);
-function Cre(e, t) {
+var zw = (e, t) => !!e && !!Iw(e, t);
+function wre(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 wre(e, t) {
- let n = (e) => Bw(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) => Bw(e, t)) || e[e.length - 1];
+function Tre(e, t) {
+ let n = (e) => zw(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) => zw(e, t)) || e[e.length - 1];
}
-function Tre(e, { collapse: t, mix: n, javImage: r }) {
+function Ere(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 = Sre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = Cre(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 = wre(e, r);
+ let t = Tre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -27243,16 +27243,16 @@ function Tre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Ere(e, t, n) {
+function Dre(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 Dre(e, t) {
+function Ore(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 Ore(e, t) {
+function kre(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -27265,7 +27265,7 @@ function Ore(e, t) {
strip: null
}), r;
}
-function kre(e, t) {
+function Are(e, t) {
X.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -27282,7 +27282,7 @@ function kre(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function Vw(e, t) {
+function Bw(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 && y(a.current);
@@ -27308,7 +27308,7 @@ function Vw(e, t) {
fading: n === "fade"
};
}
-function Hw({ message: e, onRetry: t }) {
+function Vw({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -27322,21 +27322,21 @@ function Hw({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var Uw = {
+var Hw = {
kind: "",
html: ""
};
-function Ww(e, t, n, i, a) {
- let o = Lw(e, i);
- if (!o) return Uw;
+function Uw(e, t, n, i, a) {
+ let o = Iw(e, i);
+ if (!o) return Hw;
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 Gw(e, t, n, i, a) {
- if (e.is_jav) return Ww(e, t, n, i, a);
+function Ww(e, t, n, i, a) {
+ if (e.is_jav) return Uw(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -27344,11 +27344,11 @@ function Gw(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}">`
- } : Uw;
+ } : Hw;
}
//#endregion
//#region src/react/components/art-slot.tsx
-function Kw({ artwork: e, identity: t = e.html, relayout: n }) {
+function Gw({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, I.useState)({
identity: t,
artwork: e
@@ -27368,25 +27368,25 @@ function Kw({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var qw = .75, Jw = 9 / 16;
-function Yw({ name: e }) {
+var Kw = .75, jre = 9 / 16;
+function qw({ 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 Xw = {
+var Jw = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Zw = (e) => e.is_jav ? "女优" : "艺人";
-function Qw(e, t, n) {
- return t === "short" || n.portrait ? Jw : n.active && e.is_jav && n.size === "big" ? qw : 16 / 9;
+}, Yw = (e) => e.is_jav ? "女优" : "艺人";
+function Xw(e, t, n) {
+ return t === "short" || n.portrait ? jre : n.active && e.is_jav && n.size === "big" ? Kw : 16 / 9;
}
-function $w(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 = Zw(e);
+function Zw(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 = Yw(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27432,7 +27432,7 @@ function $w(e, t) {
})
};
}
-function eT() {
+function Qw() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27451,7 +27451,7 @@ function eT() {
})]
});
}
-function tT({ item: e, actions: t }) {
+function $w({ 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": "",
@@ -27469,15 +27469,15 @@ function tT({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function nT(e, t) {
+function eT(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 rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function tT({ 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
@@ -27489,7 +27489,7 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
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), _ = n.active && e.is_jav ? n.size : "small", v = Gw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Gw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = $w(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Ww(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Ww(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Zw(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27523,9 +27523,9 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
u(e, r);
}, A = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Qw(e, t, n)) },
+ style: { "--card-ratio": String(Xw(e, t, n)) },
children: [
- v.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
+ v.html ? /* @__PURE__ */ (0, L.jsx)(Gw, {
artwork: v,
identity: y,
relayout: (e) => c.relayoutArt(e, _)
@@ -27539,11 +27539,11 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(qw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-group": "",
@@ -27570,8 +27570,8 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, L.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, L.jsx)(eT, {}),
- /* @__PURE__ */ (0, L.jsx)(tT, {
+ /* @__PURE__ */ (0, L.jsx)(Qw, {}),
+ /* @__PURE__ */ (0, L.jsx)($w, {
item: e,
actions: l
}),
@@ -27581,27 +27581,27 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), nT(d.current, -s);
+ e.stopPropagation(), eT(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), nT(d.current, s);
+ e.stopPropagation(), eT(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "expand" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: "expand" })
})
]
})
@@ -27677,8 +27677,8 @@ function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
]
});
}
-function iT({ 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") ? "网址快捷方式" : Xw[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function nT({ 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") ? "网址快捷方式" : Jw[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) {
@@ -27704,7 +27704,7 @@ function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, L.jsx)(qw, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -27716,11 +27716,11 @@ function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(qw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -27730,7 +27730,7 @@ function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
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: k(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Yw, { 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: k(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(qw, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -27739,7 +27739,7 @@ function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: m })
+ children: /* @__PURE__ */ (0, L.jsx)(qw, { name: m })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", {
@@ -27768,14 +27768,14 @@ function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
})]
});
}
-function aT(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(iT, { ...e }) : /* @__PURE__ */ (0, L.jsx)(rT, { ...e });
+function rT(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(nT, { ...e }) : /* @__PURE__ */ (0, L.jsx)(tT, { ...e });
}
-var oT = (0, I.memo)(aT), sT = { "text-aa": 1.435 }, cT = /* @__PURE__ */ new Map();
-function lT(e) {
- let t = cT.get(e);
+var iT = (0, I.memo)(rT), aT = { "text-aa": 1.435 }, oT = /* @__PURE__ */ new Map();
+function sT(e) {
+ let t = oT.get(e);
if (t) return t;
- let n = sT[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = aT[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"}`,
@@ -27789,18 +27789,18 @@ function lT(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})`, cT.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, oT.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var uT = 1100, dT = 340, fT = 5e3;
-function pT(e, t, n) {
+var cT = 1100, lT = 340, uT = 5e3;
+function dT(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, fT);
+ }, s = () => o(!1), c = setTimeout(s, uT);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -27810,7 +27810,7 @@ function pT(e, t, n) {
}, i.src = e;
});
}
-function mT({ load: e, canFlip: t, referrerPolicy: n }) {
+function fT({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, I.useState)([]), [a, o] = (0, I.useState)(0), [s, c] = (0, I.useState)(null), l = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27852,11 +27852,11 @@ function mT({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => pT(t, e, n)));
+ let s = await Promise.all(a.map((t) => dT(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, uT);
+ p(), e.cycle = setInterval(p, cT);
}));
};
return (0, I.useEffect)(() => d, [d]), {
@@ -27865,7 +27865,7 @@ function mT({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(dT, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(lT, () => {
e.armed = null, m();
});
},
@@ -27876,8 +27876,8 @@ function mT({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var hT = lT("play");
-function gT({ src: e }) {
+var pT = sT("play");
+function mT({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27888,8 +27888,8 @@ function gT({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var _T = "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 vT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var hT = "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 gT({ 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", {
@@ -27897,18 +27897,18 @@ function vT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${_T} cursor-pointer outline-none`,
+ className: `${hT} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${_T} mt-0.5`,
+ className: `${hT} mt-0.5`,
children: t
});
}
-function yT({ 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, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
- let x = mT({
+function _T({ 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, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
+ let x = fT({
load: i,
canFlip: a
}), S = (0, I.useRef)(x.onPointerLeave);
@@ -27935,11 +27935,11 @@ function yT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: f === void 0 ? void 0 : { "--card-ratio": String(f) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
children: [
- p?.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
+ p?.html ? /* @__PURE__ */ (0, L.jsx)(Gw, {
artwork: p,
identity: m,
relayout: h
- }) : r ? /* @__PURE__ */ (0, L.jsx)(gT, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(mT, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27969,7 +27969,7 @@ function yT({ 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)(hT, {
+ children: [/* @__PURE__ */ (0, L.jsx)(pT, {
"aria-hidden": !0,
className: "size-3.75"
}), _ ?? `${n} 个视频`]
@@ -27982,8 +27982,8 @@ function yT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, L.jsx)(hT, {})
- }) : /* @__PURE__ */ (0, L.jsx)(vT, {
+ children: /* @__PURE__ */ (0, L.jsx)(pT, {})
+ }) : /* @__PURE__ */ (0, L.jsx)(gT, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -28008,21 +28008,21 @@ function yT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var bT = "";
-function xT(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(CT, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Rw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(wT, { ...e }, t);
+var vT = "";
+function yT(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(xT, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Lw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, L.jsx)(ST, { ...e }, t);
}
-function ST({ name: e }) {
+function bT({ 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 CT(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)(oT, {
+function xT(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)(iT, {
item: i,
variant: r,
layout: e.layout,
@@ -28042,8 +28042,8 @@ function CT(e) {
children: i
});
}
-function wT(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bre(e) : zw(e), s = i && e.initial ? {
+function ST(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? xre(e) : Rw(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -28063,7 +28063,7 @@ function wT(e) {
(0, I.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => Tre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => Ere(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -28073,14 +28073,14 @@ function wT(e) {
e.mix,
a,
r.javImage
- ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Vw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = ET(e, c.data, u, f, g);
+ ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Bw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = wT(e, c.data, u, f, g);
(0, I.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(m, p);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${m.toLocaleString()} 个符合 · 显示 ${p}`;
- bT && (t.dataset.popCount = bT), bT = n, T(t, n);
+ vT && (t.dataset.popCount = vT), vT = n, T(t, n);
}, [
c.data,
m,
@@ -28089,12 +28089,12 @@ function wT(e) {
let v = (0, I.useCallback)((e, t) => n.open(e, t), [n]), y = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, I.useCallback)((e) => n.openShort(e), [n]), x = (0, I.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(kT, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(DT, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(oT, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(iT, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -28111,7 +28111,7 @@ function wT(e) {
"data-grid-reveal": h.fading ? "" : void 0,
children: [h.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, L.jsx)(Hw, {
+ if (!c.data) return /* @__PURE__ */ (0, L.jsx)(Vw, {
message: d(c.error),
onRetry: () => void c.refetch()
});
@@ -28128,15 +28128,15 @@ function wT(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: Ore(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: kre(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, L.jsx)(DT, {
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(TT, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(TT, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(CT, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -28144,7 +28144,7 @@ function wT(e) {
})()]
});
}
-function TT({ entity: e, load: t, enabled: n, children: r }) {
+function CT({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(!1), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)({
busy: !1,
error: ""
@@ -28205,12 +28205,12 @@ function TT({ entity: e, load: t, enabled: n, children: r }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: x("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ }), s.error ? /* @__PURE__ */ (0, L.jsx)(Vw, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function ET(e, t, n, r, i) {
+function wT(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;
@@ -28219,7 +28219,7 @@ function ET(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- hw(`/api/items?${Dre(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ mw(`/api/items?${Ore(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -28235,7 +28235,7 @@ function ET(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 = Ere(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 = Dre(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, {
@@ -28245,7 +28245,7 @@ function ET(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function DT({ cut: e, props: t, onOpen: n }) {
+function TT({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -28261,12 +28261,12 @@ function DT({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(bT, { 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)(oT, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(iT, {
item: e,
variant: "short",
layout: t.layout,
@@ -28280,9 +28280,9 @@ function DT({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function OT(e, t, n, r) {
+function ET(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? Ww(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? Uw(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -28290,18 +28290,18 @@ function OT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function kT({ seed: e, layout: t, helpers: n, actions: r }) {
+function DT({ 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 = Cre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => Bw(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), OT(e, t, !0, n).html])), o.map((e) => String(e.id));
+ let o = wre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => zw(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(o.map((e) => [String(e.id), ET(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
- ]), c = t.active && !!e.is_jav, l = c ? t.size : "small", u = OT(e, t, !1, n);
- return /* @__PURE__ */ (0, L.jsx)(yT, {
+ ]), c = t.active && !!e.is_jav, l = c ? t.size : "small", u = ET(e, t, !1, n);
+ return /* @__PURE__ */ (0, L.jsx)(_T, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -28311,12 +28311,12 @@ function kT({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: u,
- artworkIdentity: l === "small" ? u.html : OT(e, {
+ artworkIdentity: l === "small" ? u.html : ET(e, {
...t,
size: "small"
}, !1, n).html,
relayoutArt: (e) => n.relayoutArt(e, l),
- ratio: c && t.size === "big" ? qw : 16 / 9,
+ ratio: c && t.size === "big" ? Kw : 16 / 9,
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -28329,32 +28329,32 @@ function kT({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var AT = "/api/sources", jT = ["media-sources"], MT = (e) => hw(AT, e);
-async function NT(e) {
+var OT = "/api/sources", kT = ["media-sources"], AT = (e) => mw(OT, e);
+async function jT(e) {
await X.fetchQuery({
- queryKey: jT,
- queryFn: () => MT(e)
+ queryKey: kT,
+ queryFn: () => AT(e)
});
}
-var PT = [
+var MT = [
"local",
"115",
"pikpak"
-], FT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), IT = "/api/duplicates?limit=120", LT = ["duplicates"], RT = "/api/batch", zT = (e) => hw(IT, e);
-async function BT(e) {
+], NT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), PT = "/api/duplicates?limit=120", FT = ["duplicates"], IT = "/api/batch", LT = (e) => mw(PT, e);
+async function RT(e) {
await Promise.all([X.fetchQuery({
- queryKey: LT,
- queryFn: () => zT(e)
- }), NT(e)]);
+ queryKey: FT,
+ queryFn: () => LT(e)
+ }), jT(e)]);
}
-var VT = {
+var zT = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, HT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), UT = (e, t) => HT(e, t).filter((t) => e.some((e) => e.location !== t)), WT = (e, t) => t.filter((t) => e.some((e) => UT(e.files, [t]).length));
-function GT(e, t) {
+}, BT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), VT = (e, t) => BT(e, t).filter((t) => e.some((e) => e.location !== t)), HT = (e, t) => t.filter((t) => e.some((e) => VT(e.files, [t]).length));
+function UT(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -28373,47 +28373,47 @@ function GT(e, t) {
}
return n;
}
-function KT(e, t) {
+function WT(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 qT(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(RT, {
+async function GT(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(IT, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var JT = "/api/library-processing", YT = ["library-processing"], XT = (e) => hw(JT, e);
-async function ZT(e) {
+var KT = "/api/library-processing", qT = ["library-processing"], JT = (e) => mw(KT, e);
+async function YT(e) {
await X.fetchQuery({
- queryKey: YT,
- queryFn: () => XT(e)
+ queryKey: qT,
+ queryFn: () => JT(e)
});
}
-var QT = 2e3, $T = 1e4, eE = "连接中断,正在重新读取处理进度";
-function tE(e, t) {
- return e?.status === "running" ? QT : t ? $T : !1;
+var XT = 2e3, ZT = 1e4, QT = "连接中断,正在重新读取处理进度";
+function $T(e, t) {
+ return e?.status === "running" ? XT : t ? ZT : !1;
}
-var nE = {
+var eE = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, rE = {
+}, tE = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function iE(e) {
- let t = Object.entries(e).filter(([e, t]) => rE[e] && t > 0).map(([e, t]) => `${rE[e]} ${t} 部`);
+function nE(e) {
+ let t = Object.entries(e).filter(([e, t]) => tE[e] && t > 0).map(([e, t]) => `${tE[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function aE(e) {
- let t = nE[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function rE(e) {
+ let t = eE[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 oE(e) {
+function iE(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -28427,21 +28427,21 @@ function oE(e) {
log: e.issues_log || ""
} : null;
}
-var sE = "peach.library-processing.announced", cE = 120;
-function lE(e, t, n) {
+var aE = "peach.library-processing.announced", oE = 120;
+function sE(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < cE;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < oE;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(sE) === e.job_id) return;
- e.job_id && localStorage.setItem(sE, e.job_id);
+ if (e.job_id && localStorage.getItem(aE) === e.job_id) return;
+ e.job_id && localStorage.setItem(aE, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var uE = "/api/media-repair", dE = ["media-repair"], fE = ["media-repair", "libraries"], pE = {
+var cE = "/api/media-repair", lE = ["media-repair"], uE = ["media-repair", "libraries"], dE = {
status: "idle",
library: "",
stage: "",
@@ -28453,33 +28453,33 @@ var uE = "/api/media-repair", dE = ["media-repair"], fE = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, mE = (e) => hw(uE, e), hE = async (e) => (await hw("/api/libraries", e)).libraries || [];
-async function gE(e) {
+}, fE = (e) => mw(cE, e), pE = async (e) => (await mw("/api/libraries", e)).libraries || [];
+async function mE(e) {
await Promise.all([X.fetchQuery({
- queryKey: dE,
- queryFn: () => mE(e)
+ queryKey: lE,
+ queryFn: () => fE(e)
}), X.fetchQuery({
- queryKey: fE,
- queryFn: () => hE(e)
+ queryKey: uE,
+ queryFn: () => pE(e)
})]);
}
-var _E = (e) => Number(e).toLocaleString();
-function vE(e) {
+var hE = (e) => Number(e).toLocaleString();
+function gE(e) {
if (e.status === "running") {
- let t = e.total ? `${_E(e.checked)} / ${_E(e.total)}` : "准备中";
+ let t = e.total ? `${hE(e.checked)} / ${hE(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${_E(e.repaired)} 部,${_E(e.failed)} 部修不了` : `修好 ${_E(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${hE(e.repaired)} 部,${hE(e.failed)} 部修不了` : `修好 ${hE(e.repaired)} 部` : "";
}
-var yE = (e) => `${_E(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, bE = "/api/quality-goals?limit=200", xE = ["quality-goals"], SE = (e) => hw(bE, e);
-async function CE(e) {
+var _E = (e) => `${hE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, vE = "/api/quality-goals?limit=200", yE = ["quality-goals"], bE = (e) => mw(vE, e);
+async function xE(e) {
await X.fetchQuery({
- queryKey: xE,
- queryFn: () => SE(e)
+ queryKey: yE,
+ queryFn: () => bE(e)
});
}
-var wE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function TE(e, t, n = 1) {
+var SE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function CE(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;
@@ -28499,21 +28499,21 @@ function TE(e, t, n = 1) {
t
];
}
-function EE(e, t) {
+function wE(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function DE(e, t) {
+function TE(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function OE(e, t, n, r, i, a = i || !e.has(r)) {
+function EE(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function kE(e) {
+function DE(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -28522,7 +28522,7 @@ function kE(e) {
}
//#endregion
//#region src/react/review/review.ts
-var AE = "/api/review", jE = "/api/review/decision", ME = "/api/review/genre", NE = ["review"], PE = {
+var OE = "/api/review", kE = "/api/review/decision", AE = "/api/review/genre", jE = ["review"], ME = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -28532,15 +28532,15 @@ var AE = "/api/review", jE = "/api/review/decision", ME = "/api/review/genre", N
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, FE = Object.keys(PE), IE = "metadata_fields", LE = (e) => typeof e == "string" && Object.hasOwn(PE, e), RE = {
+}, NE = Object.keys(ME), PE = "metadata_fields", FE = (e) => typeof e == "string" && Object.hasOwn(ME, e), IE = {
creator_tags: "creator",
western_identity: "creator"
};
-function zE(e, t) {
+function LE(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function BE(e, t) {
+function RE(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -28557,43 +28557,43 @@ function BE(e, t) {
}
return [...n.values()];
}
-function VE(e, t, n) {
- return n && BE(e, t).find((e) => e.key === n)?.rows || e;
+function zE(e, t, n) {
+ return n && RE(e, t).find((e) => e.key === n)?.rows || e;
}
-function HE(e, t) {
- let n = EE(e.length, 20), r = DE(t, n);
+function BE(e, t) {
+ let n = wE(e.length, 20), r = TE(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function UE(e) {
+function VE(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 WE(e, t, n, r, i, a) {
- return OE(e, t, n, r, i, a);
+function HE(e, t, n, r, i, a) {
+ return EE(e, t, n, r, i, a);
}
-function GE(e, t) {
+function UE(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function KE(e, t) {
+function WE(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var qE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function JE(e, t) {
- let n = KE(e, t), r = qE(e, t);
+var GE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function KE(e, t) {
+ let n = WE(e, t), r = GE(e, t);
return r ? `${n} · ${r}` : n;
}
-var YE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", XE = (e) => String(e.tags || "").split("|").filter(Boolean), ZE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function QE(e) {
+var qE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", JE = (e) => String(e.tags || "").split("|").filter(Boolean), YE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function XE(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function $E(e, t, n, r) {
+function ZE(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -28609,19 +28609,19 @@ function $E(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Are = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", eD = (e) => hw(AE, e), tD = (e) => q(jE, e), jre = (e, t) => q(ME, {
+var QE = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", $E = (e) => mw(OE, e), eD = (e) => q(kE, e), Mre = (e, t) => q(AE, {
genre: e,
tag: t
});
-async function Mre(e) {
+async function Nre(e) {
await X.fetchQuery({
- queryKey: NE,
- queryFn: () => eD(e)
+ queryKey: jE,
+ queryFn: () => $E(e)
});
}
-function nD(e, t) {
+function tD(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(NE, (t) => {
+ n.size && X.setQueryData(jE, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -28637,161 +28637,161 @@ function nD(e, t) {
};
});
}
-var Nre = () => X.invalidateQueries({
- queryKey: NE,
+var Pre = () => X.invalidateQueries({
+ queryKey: jE,
exact: !0
});
-function Pre(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${kE(e.fetched_at)} 的缓存` : e?.error || t;
+function Fre(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${DE(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Fre = "/api/links", rD = "/api/links/check", iD = "/api/links/prune", aD = ["links"], oD = ["links", "check"], sD = ["links", "prune"], cD = {
+var Ire = "/api/links", nD = "/api/links/check", rD = "/api/links/prune", iD = ["links"], aD = ["links", "check"], oD = ["links", "prune"], sD = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function lD(e) {
+async function cD(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var uD = (e) => hw(Fre, e), dD = (e) => q(rD, { status_only: !0 }, "POST", e), Ire = ({ retry: e, checkId: t }) => lD(q(rD, e ? {
+var lD = (e) => mw(Ire, e), uD = (e) => q(nD, { status_only: !0 }, "POST", e), Lre = ({ retry: e, checkId: t }) => cD(q(nD, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), fD = (e) => hw(iD, e), Lre = (e) => lD(q(iD, {
+} : { restart: !0 })), dD = (e) => mw(rD, e), Rre = (e) => cD(q(rD, {
confirm: !0,
check_id: e,
background: !0
-})), pD = (e) => Number(e || 0).toLocaleString(), Rre = (e) => `已删除 ${pD(e.removed)} 条;${e.marked ? `已隐退女优的 ${pD(e.marked)} 条留作不可点的记录;` : ""}保留 ${pD(e.recovered)} 条未确认失效的链接。`;
-function zre(e) {
+})), fD = (e) => Number(e || 0).toLocaleString(), zre = (e) => `已删除 ${fD(e.removed)} 条;${e.marked ? `已隐退女优的 ${fD(e.marked)} 条留作不可点的记录;` : ""}保留 ${fD(e.recovered)} 条未确认失效的链接。`;
+function Bre(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${pD(e.checked)} / ${pD(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${fD(e.checked)} / ${fD(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Bre = "/api/organize", Vre = "/api/organize/preview", Hre = "/api/organize/apply", Ure = "/api/organize/rollback", Wre = "/api/settings", mD = ["organize"], hD = (e) => hw(Bre, e);
-async function Gre(e) {
+var Vre = "/api/organize", Hre = "/api/organize/preview", Ure = "/api/organize/apply", Wre = "/api/organize/rollback", Gre = "/api/settings", pD = ["organize"], mD = (e) => mw(Vre, e);
+async function Kre(e) {
await X.fetchQuery({
- queryKey: mD,
- queryFn: () => hD(e)
+ queryKey: pD,
+ queryFn: () => mD(e)
});
}
-var Kre = (e) => q(Vre, e), qre = (e) => e.kind === "apply" ? q(Hre, {
+var qre = (e) => q(Hre, e), Jre = (e) => e.kind === "apply" ? q(Ure, {
...e.request,
confirm: !0
-}) : q(Ure, { confirm: !0 });
-async function Jre(e) {
- X.setQueryData(mD, (t) => t && {
+}) : q(Wre, { confirm: !0 });
+async function Yre(e) {
+ X.setQueryData(pD, (t) => t && {
...t,
templates: e
});
try {
- await q(Wre, { organizeTemplates: e });
+ await q(Gre, { organizeTemplates: e });
} catch {}
}
-var Yre = (e, t) => e && {
+var Xre = (e, t) => e && {
...e,
...t
-}, Xre = /目录模板|分隔符|盘符|`\.`/;
-function gD(e) {
+}, Zre = /目录模板|分隔符|盘符|`\.`/;
+function hD(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var _D = (e) => Number(e || 0).toLocaleString();
-function Zre(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${_D(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${_D(e.counts.change)} 个文件会改名或移动,${_D(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var gD = (e) => Number(e || 0).toLocaleString();
+function Qre(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${gD(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${gD(e.counts.change)} 个文件会改名或移动,${gD(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function vD(e) {
+function _D(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${_D(r)} 个文件${n ? `,${_D(n)} 行未能退回` : ""}。` : `已整理 ${_D(r)} 个文件${n ? `,${_D(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${gD(r)} 个文件${n ? `,${gD(n)} 行未能退回` : ""}。` : `已整理 ${gD(r)} 个文件${n ? `,${gD(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var yD = "/api/resource-sync/scan", bD = "/api/resource-sync/apply", xD = ["resource-sync", "scan"], SD = ["resource-sync", "apply"], CD = (e) => q(yD, {
+var vD = "/api/resource-sync/scan", yD = "/api/resource-sync/apply", bD = ["resource-sync", "scan"], xD = ["resource-sync", "apply"], SD = (e) => q(vD, {
background: !0,
status_only: !0
-}, "POST", e), Qre = () => q(yD, {
+}, "POST", e), $re = () => q(vD, {
background: !0,
restart: !0
-}), wD = (e) => hw(bD, e), $re = (e) => q(bD, {
+}), CD = (e) => mw(yD, e), eie = (e) => q(yD, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), TD = (e) => (e?.sources ?? []).some((e) => PT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function eie(e) {
- TD(X.getQueryData(jT)) && await Promise.all([X.fetchQuery({
+}), wD = (e) => (e?.sources ?? []).some((e) => MT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function tie(e) {
+ wD(X.getQueryData(kT)) && await Promise.all([X.fetchQuery({
+ queryKey: bD,
+ queryFn: () => SD(e)
+ }), X.fetchQuery({
queryKey: xD,
queryFn: () => CD(e)
- }), X.fetchQuery({
- queryKey: SD,
- queryFn: () => wD(e)
})]);
}
-var tie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), nie = {
+var nie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), rie = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, ED = (e) => Number(e || 0).toLocaleString(), rie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", iie = (e) => `将永久删除文件已不在盘上的 ${ED(e.missing)} 条记录和 ${ED(e.empty)} 个空文件夹,并清理 ${ED(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, aie = (e) => `将永久删除文件已不在盘上的 ${ED(e.missing)} 条记录(含回收站里的)、${ED(e.empty)} 个空文件夹,并清理 ${ED(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, oie = (e) => e.online ? [
- `找不到文件 · 共 ${ED(e.total)} 项`,
- e.empty ? `空文件夹 ${ED(e.empty)} 个` : "",
- e.unreadable ? `${ED(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${ED(e.total)} 项`;
-function DD(e) {
+}, TD = (e) => Number(e || 0).toLocaleString(), iie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", aie = (e) => `将永久删除文件已不在盘上的 ${TD(e.missing)} 条记录和 ${TD(e.empty)} 个空文件夹,并清理 ${TD(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, oie = (e) => `将永久删除文件已不在盘上的 ${TD(e.missing)} 条记录(含回收站里的)、${TD(e.empty)} 个空文件夹,并清理 ${TD(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, sie = (e) => e.online ? [
+ `找不到文件 · 共 ${TD(e.total)} 项`,
+ e.empty ? `空文件夹 ${TD(e.empty)} 个` : "",
+ e.unreadable ? `${TD(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${TD(e.total)} 项`;
+function ED(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${ED(t.length)} 条记录没有删除(${o})` : "",
- n ? `${ED(n)} 个文件夹没有删除` : "",
- r.length ? `${ED(r.length)} 个缓存没有清理` : ""
+ t.length ? `${TD(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${TD(n)} 个文件夹没有删除` : "",
+ r.length ? `${TD(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var sie = (e, t) => {
- let { rest: n } = DD(e), r = `已永久删除 ${ED(e.purged)} 条失效记录和 ${ED(e.dirs_removed)} 个空文件夹,清理 ${ED(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var cie = (e, t) => {
+ let { rest: n } = ED(e), r = `已永久删除 ${TD(e.purged)} 条失效记录和 ${TD(e.dirs_removed)} 个空文件夹,清理 ${TD(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, cie = "/api/review?counts=1", OD = ["review", "counts"], lie = "/api/ads?limit=1", kD = ["junk-summary"], AD = "/api/items?state=trash&limit=1", jD = ["trash-summary"], uie = [
+}, lie = "/api/review?counts=1", DD = ["review", "counts"], uie = "/api/ads?limit=1", OD = ["junk-summary"], kD = "/api/items?state=trash&limit=1", AD = ["trash-summary"], die = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], MD = (e) => hw(cie, e), ND = (e) => hw(lie, e), PD = (e) => {
+], jD = (e) => mw(lie, e), MD = (e) => mw(uie, e), ND = (e) => {
let t = sessionStorage.getItem("peach.library");
- return hw(t ? `${AD}&library=${encodeURIComponent(t)}` : AD, e);
-}, FD = (e) => Number(e || 0).toLocaleString();
-function die(e) {
- let t = PE, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return mw(t ? `${kD}&library=${encodeURIComponent(t)}` : kD, e);
+}, PD = (e) => Number(e || 0).toLocaleString();
+function fie(e) {
+ let t = ME, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function fie(e) {
+function pie(e) {
if (!e) return "";
- let t = uie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${FD(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${FD(e.dismissed_total)}`), t.join(" · ");
-}
-var pie = [
- [OD, ({ signal: e }) => MD(e)],
- [xE, ({ signal: e }) => SE(e)],
- [jD, ({ signal: e }) => PD(e)],
+ let t = die.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${PD(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${PD(e.dismissed_total)}`), t.join(" · ");
+}
+var mie = [
+ [DD, ({ signal: e }) => jD(e)],
+ [yE, ({ signal: e }) => bE(e)],
+ [AD, ({ signal: e }) => ND(e)],
+ [iD, ({ signal: e }) => lD(e)],
[aD, ({ signal: e }) => uD(e)],
- [oD, ({ signal: e }) => dD(e)],
- [sD, ({ signal: e }) => fD(e)]
+ [oD, ({ signal: e }) => dD(e)]
];
-async function mie(e) {
- let t = location.hash === "#resource-sync", n = pie.map(([n, r]) => {
+async function hie(e) {
+ let t = location.hash === "#resource-sync", n = mie.map(([n, r]) => {
if (t) return X.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -28804,49 +28804,49 @@ async function mie(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: kD,
- queryFn: () => ND(e)
+ queryKey: OD,
+ queryFn: () => MD(e)
}),
X.fetchQuery({
- queryKey: LT,
- queryFn: () => zT(e)
+ queryKey: FT,
+ queryFn: () => LT(e)
}),
- NT(e).then(() => eie(e)),
- ZT(e),
- gE(e),
- Gre(e)
+ jT(e).then(() => tie(e)),
+ YT(e),
+ mE(e),
+ Kre(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var hie = [
+var gie = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], gie = [
+], _ie = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function ID(e = {}) {
- return `${gw({
+function FD(e = {}) {
+ return `${hw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var LD = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", _ie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function RD({ interactive: e = !1 } = {}) {
- return gw({
+var ID = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", vie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function LD({ interactive: e = !1 } = {}) {
+ return hw({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var vie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function zD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var yie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function RD({ 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", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -28879,13 +28879,13 @@ function zD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function BD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function zD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${hie[n % 4]} ${gie[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${gie[n % 4]} ${_ie[n % 4]}`,
children: /* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -28907,12 +28907,12 @@ function BD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var VD = Symbol("default");
-function HD({ values: e, children: t }) {
+var BD = Symbol("default");
+function VD({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ I.createElement(n.Provider, { value: r }, t);
return t;
}
-function UD(e) {
+function HD(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;
@@ -28946,11 +28946,11 @@ function UD(e) {
c
]);
}
-function WD(e, t) {
+function UD(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 || VD;
+ let e = t || BD;
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}.`);
@@ -28959,8 +28959,8 @@ function WD(e, t) {
}
return n;
}
-function GD(e, t, n) {
- let { ref: r, ...i } = WD(n, e.slot) || {}, a = Ih((0, I.useMemo)(() => _h(t, r), [t, r])), o = H(i, e);
+function WD(e, t, n) {
+ let { ref: r, ...i } = UD(n, e.slot) || {}, a = Ih((0, I.useMemo)(() => _h(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,
@@ -28978,7 +28978,7 @@ function GD(e, t, n) {
...e.style
}), [o, a];
}
-function KD(e = !0) {
+function GD(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -28986,12 +28986,12 @@ function KD(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function qD(e) {
+function KD(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function yie(e, t, n) {
+function bie(e, t, n) {
let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => _h(n, a), [n, a]);
Gp(() => {}, [e, r]);
let s = {
@@ -29000,19 +29000,19 @@ function yie(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ I.createElement(e, s);
}
-var JD = {}, YD = new Proxy({}, { get(e, t) {
+var qD = {}, JD = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = JD[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(yie.bind(null, t)), JD[t] = n), n;
-} }), XD = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), $D = {
+ let n = qD[t];
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(bie.bind(null, t)), qD[t] = n), n;
+} }), YD = /*#__PURE__*/ (0, I.createContext)(null), XD = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return eO(e, null, t);
+ return $D(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return eO(e, t, n);
+ return $D(e, t, n);
}
};
-function eO(e, t, n) {
+function $D(e, t, n) {
return mp({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -29023,11 +29023,11 @@ function eO(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, bie(e, t, n));
+ }), r, xie(e, t, n));
}
});
}
-function bie(e, t, n) {
+function xie(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);
@@ -29046,25 +29046,25 @@ function bie(e, t, n) {
}
return s;
}
-var tO = /*#__PURE__*/ (0, I.createContext)($D);
-function nO(e) {
+var eO = /*#__PURE__*/ (0, I.createContext)(QD);
+function tO(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 rO = /*#__PURE__*/ (0, I.createContext)({}), xie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, rO);
- let { elementType: n = "label", ...r } = e, i = YD[n];
+var nO = /*#__PURE__*/ (0, I.createContext)({}), Sie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, nO);
+ let { elementType: n = "label", ...r } = e, i = JD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Sie = /*#__PURE__*/ (0, I.createContext)(null), iO = /*#__PURE__*/ (0, I.createContext)({}), aO = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, iO);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = See(e, t);
- i = wie(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = wy(e), { hoverProps: l, isHovered: u } = jy({
+}), Cie = /*#__PURE__*/ (0, I.createContext)(null), rO = /*#__PURE__*/ (0, I.createContext)({}), iO = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, rO);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Cee(e, t);
+ i = Tie(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = Cy(e), { hoverProps: l, isHovered: u } = Ay({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -29074,7 +29074,7 @@ var rO = /*#__PURE__*/ (0, I.createContext)({}), xie = /*#__PURE__*/ Uh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = UD({
+ }, f = HD({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -29083,15 +29083,15 @@ var rO = /*#__PURE__*/ (0, I.createContext)({}), xie = /*#__PURE__*/ Uh(function
let g = (0, I.useRef)(r);
(0, I.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && D_(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && E_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = zg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ I.createElement(YD.button, {
+ let _ = Rg(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ I.createElement(JD.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -29105,62 +29105,62 @@ var rO = /*#__PURE__*/ (0, I.createContext)({}), xie = /*#__PURE__*/ Uh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(Sie.Provider, { value: { id: m } }, f.children));
-}), Cie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function wie(e, t) {
+ }, /*#__PURE__*/ I.createElement(Cie.Provider, { value: { id: m } }, f.children));
+}), wie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Tie(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Cie.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !wie.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 oO = /*#__PURE__*/ (0, I.createContext)({}), sO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, oO);
- let { children: n, level: r = 3, className: i, ...a } = e, o = YD[`h${r}`];
+var aO = /*#__PURE__*/ (0, I.createContext)({}), oO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, aO);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = JD[`h${r}`];
return /*#__PURE__*/ I.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), cO = /*#__PURE__*/ (0, I.createContext)({}), Tie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, cO);
- let { elementType: n = "span", ...r } = e, i = YD[n];
+}), sO = /*#__PURE__*/ (0, I.createContext)({}), Eie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, sO);
+ let { elementType: n = "span", ...r } = e, i = JD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), lO = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.createContext)(null), dO = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.createContext)(null), Eie = /*#__PURE__*/ (0, I.createContext)(null), pO = /*#__PURE__*/ (0, I.createContext)(null);
-function Die(e, t) {
- let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(Eie), a = Ih((0, I.useMemo)(() => _h(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...qD(e),
+}), cO = /*#__PURE__*/ (0, I.createContext)(null), lO = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.createContext)(null), dO = /*#__PURE__*/ (0, I.createContext)(null), Die = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.createContext)(null);
+function Oie(e, t) {
+ let { validationBehavior: n } = UD(lO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(Die), a = Ih((0, I.useMemo)(() => _h(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...KD(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Uee(o, i, a) : Y_(o, ev(e), a), a];
+ return [i ? Wee(o, i, a) : J_(o, $_(e), a), a];
}
-var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var kie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = GD(r, t, dO);
- let [i, a] = Die(e, n);
- return /*#__PURE__*/ I.createElement(pO.Provider, { value: {
+ [e, t] = WD(r, t, uO);
+ let [i, a] = Oie(e, n);
+ return /*#__PURE__*/ I.createElement(fO.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(kie, {
+ } }, /*#__PURE__*/ I.createElement(Aie, {
...e,
ref: t
}));
-}), kie = /*#__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)(pO), { isFocused: p, isFocusVisible: m, focusProps: h } = wy(), g = a || o, { hoverProps: _, isHovered: v } = jy({
+}), Aie = /*#__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)(fO), { isFocused: p, isFocusVisible: m, focusProps: h } = Cy(), g = a || o, { hoverProps: _, isHovered: v } = Ay({
...e,
isDisabled: g
- }), y = UD({
+ }), y = HD({
...e,
defaultClassName: u,
values: {
@@ -29175,8 +29175,8 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = zg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(YD.label, {
+ }), b = Rg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(JD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -29190,20 +29190,20 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(rv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), mO = /*#__PURE__*/ (0, I.createContext)({}), Aie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, mO);
+}), pO = /*#__PURE__*/ (0, I.createContext)({}), jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, pO);
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 } = jy({
+ let { hoverProps: l, isHovered: u } = Ay({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = wy({ within: !0 }), m = UD({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Cy({ within: !0 }), m = HD({
...e,
values: {
isHovered: u,
@@ -29214,7 +29214,7 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ I.createElement(YD.div, {
+ return /*#__PURE__*/ I.createElement(JD.div, {
...H(c, p, l),
...m,
ref: t,
@@ -29227,18 +29227,18 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), hO = /*#__PURE__*/ (0, I.createContext)({}), jie = (e) => {
+}), mO = /*#__PURE__*/ (0, I.createContext)({}), Mie = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Mie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, hO);
- let { hoverProps: n, isHovered: r } = jy({
+}, Nie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, mO);
+ let { hoverProps: n, isHovered: r } = Ay({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = wy({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = Cy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = UD({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = HD({
...e,
values: {
isHovered: r,
@@ -29249,8 +29249,8 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ I.createElement(YD.input, {
- ...H(jie(e), o, n),
+ return /*#__PURE__*/ I.createElement(JD.input, {
+ ...H(Mie(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -29259,8 +29259,8 @@ var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), gO = {};
-gO = {
+}), hO = {};
+hO = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -29268,8 +29268,8 @@ gO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var _O = {};
-_O = {
+var gO = {};
+gO = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -29277,8 +29277,8 @@ _O = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var vO = {};
-vO = {
+var _O = {};
+_O = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -29286,8 +29286,8 @@ vO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var yO = {};
-yO = {
+var vO = {};
+vO = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -29295,8 +29295,8 @@ yO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var bO = {};
-bO = {
+var yO = {};
+yO = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -29304,8 +29304,8 @@ bO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var xO = {};
-xO = {
+var bO = {};
+bO = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -29313,8 +29313,8 @@ xO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var SO = {};
-SO = {
+var xO = {};
+xO = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -29322,8 +29322,8 @@ SO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var CO = {};
-CO = {
+var SO = {};
+SO = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -29331,8 +29331,8 @@ CO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var wO = {};
-wO = {
+var CO = {};
+CO = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -29340,8 +29340,8 @@ wO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var TO = {};
-TO = {
+var wO = {};
+wO = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -29349,8 +29349,8 @@ TO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var EO = {};
-EO = {
+var TO = {};
+TO = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -29358,8 +29358,8 @@ EO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var DO = {};
-DO = {
+var EO = {};
+EO = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -29367,8 +29367,8 @@ DO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var OO = {};
-OO = {
+var DO = {};
+DO = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -29376,8 +29376,8 @@ OO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var kO = {};
-kO = {
+var OO = {};
+OO = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -29385,8 +29385,8 @@ kO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var AO = {};
-AO = {
+var kO = {};
+kO = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -29394,8 +29394,8 @@ AO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var jO = {};
-jO = {
+var AO = {};
+AO = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -29403,8 +29403,8 @@ jO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var MO = {};
-MO = {
+var jO = {};
+jO = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -29412,8 +29412,8 @@ MO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var NO = {};
-NO = {
+var MO = {};
+MO = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -29421,8 +29421,8 @@ NO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var PO = {};
-PO = {
+var NO = {};
+NO = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -29430,8 +29430,8 @@ PO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var FO = {};
-FO = {
+var PO = {};
+PO = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -29439,8 +29439,8 @@ FO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var IO = {};
-IO = {
+var FO = {};
+FO = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -29448,8 +29448,8 @@ IO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var LO = {};
-LO = {
+var IO = {};
+IO = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -29457,8 +29457,8 @@ LO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var RO = {};
-RO = {
+var LO = {};
+LO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29466,8 +29466,8 @@ RO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var zO = {};
-zO = {
+var RO = {};
+RO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29475,8 +29475,8 @@ zO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var BO = {};
-BO = {
+var zO = {};
+zO = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -29484,8 +29484,8 @@ BO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var VO = {};
-VO = {
+var BO = {};
+BO = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -29493,8 +29493,8 @@ VO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var HO = {};
-HO = {
+var VO = {};
+VO = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -29502,8 +29502,8 @@ HO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var UO = {};
-UO = {
+var HO = {};
+HO = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -29511,8 +29511,8 @@ UO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var WO = {};
-WO = {
+var UO = {};
+UO = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -29520,8 +29520,8 @@ WO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var GO = {};
-GO = {
+var WO = {};
+WO = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -29529,8 +29529,8 @@ GO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var KO = {};
-KO = {
+var GO = {};
+GO = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -29538,8 +29538,8 @@ KO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var qO = {};
-qO = {
+var KO = {};
+KO = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -29547,8 +29547,8 @@ qO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var JO = {};
-JO = {
+var qO = {};
+qO = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -29556,8 +29556,8 @@ JO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var YO = {};
-YO = {
+var JO = {};
+JO = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -29565,52 +29565,52 @@ YO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var XO = {};
-XO = {
- "ar-AE": gO,
- "bg-BG": _O,
- "cs-CZ": vO,
- "da-DK": yO,
- "de-DE": bO,
- "el-GR": xO,
- "en-US": SO,
- "es-ES": CO,
- "et-EE": wO,
- "fi-FI": TO,
- "fr-FR": EO,
- "he-IL": DO,
- "hr-HR": OO,
- "hu-HU": kO,
- "it-IT": AO,
- "ja-JP": jO,
- "ko-KR": MO,
- "lt-LT": NO,
- "lv-LV": PO,
- "nb-NO": FO,
- "nl-NL": IO,
- "pl-PL": LO,
- "pt-BR": RO,
- "pt-PT": zO,
- "ro-RO": BO,
- "ru-RU": VO,
- "sk-SK": HO,
- "sl-SI": UO,
- "sr-SP": WO,
- "sv-SE": GO,
- "tr-TR": KO,
- "uk-UA": qO,
- "zh-CN": JO,
- "zh-TW": YO
+var YO = {};
+YO = {
+ "ar-AE": hO,
+ "bg-BG": gO,
+ "cs-CZ": _O,
+ "da-DK": vO,
+ "de-DE": yO,
+ "el-GR": bO,
+ "en-US": xO,
+ "es-ES": SO,
+ "et-EE": CO,
+ "fi-FI": wO,
+ "fr-FR": TO,
+ "he-IL": EO,
+ "hr-HR": DO,
+ "hu-HU": OO,
+ "it-IT": kO,
+ "ja-JP": AO,
+ "ko-KR": jO,
+ "lt-LT": MO,
+ "lv-LV": NO,
+ "nb-NO": PO,
+ "nl-NL": FO,
+ "pl-PL": IO,
+ "pt-BR": LO,
+ "pt-PT": RO,
+ "ro-RO": zO,
+ "ru-RU": BO,
+ "sk-SK": VO,
+ "sl-SI": HO,
+ "sr-SP": UO,
+ "sv-SE": WO,
+ "tr-TR": GO,
+ "uk-UA": KO,
+ "zh-CN": qO,
+ "zh-TW": JO
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var ZO = /*#__PURE__*/ (0, I.createContext)({}), QO = /*#__PURE__*/ (0, I.createContext)(null), Nie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { render: n } = (0, I.useContext)(QO);
+var XO = /*#__PURE__*/ (0, I.createContext)({}), ZO = /*#__PURE__*/ (0, I.createContext)(null), Pie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { render: n } = (0, I.useContext)(ZO);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
-function $O(e, t) {
+function QO(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(Nie, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Pie, { target: e });
}, [
t?.target,
r,
@@ -29618,7 +29618,7 @@ function $O(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function ek(e, t, n) {
+function $O(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;
@@ -29641,14 +29641,14 @@ function ek(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var tk = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.createContext)(null);
-function nk(e) {
+var ek = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.createContext)(null);
+function tk(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement(Pie.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(Fie.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var rk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), ik = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ og(class extends ip {
+var nk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), rk = /*#__PURE__*/ (0, I.createContext)({}), Iie = /*#__PURE__*/ og(class extends ip {
static {
this.type = "separator";
}
@@ -29661,14 +29661,14 @@ var rk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), ik = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = GD(e, t, ik);
+ [e, t] = WD(e, t, rk);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = YD[c], { separatorProps: u } = Fte({
+ let l = JD[c], { separatorProps: u } = Ite({
...s,
elementType: n,
orientation: r
- }), d = zg(e, { global: !0 });
+ }), d = Rg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(l, {
render: e.render,
...H(d, u),
@@ -29680,13 +29680,13 @@ var rk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), ik = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function ak(e) {
+function ik(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 ok = class {
+var ak = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -29730,20 +29730,20 @@ var ok = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, sk = class e extends Set {
+}, ok = 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 Iie(e, t) {
+function Lie(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function ck(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] = $_((0, I.useMemo)(() => lk(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => lk(e.defaultSelectedKeys, new sk()), [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 sk(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] = Q_((0, I.useMemo)(() => ck(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => ck(e.defaultSelectedKeys, new ok()), [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)(() => {
@@ -29770,18 +29770,18 @@ function ck(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Iie(e, d)) && f(e);
+ (r || !Lie(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function lk(e, t) {
- return e ? e === "all" ? "all" : new sk(e) : t;
+function ck(e, t) {
+ return e ? e === "all" ? "all" : new ok(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var uk = class e {
+var lk = 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;
}
@@ -29837,7 +29837,7 @@ var uk = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && dy(this.collection, n, e) < 0) && (e = n);
+ (!e || n && uy(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -29845,7 +29845,7 @@ var uk = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && dy(this.collection, n, e) > 0) && (e = n);
+ (!e || n && uy(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -29864,10 +29864,10 @@ var uk = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new sk([t], t, t);
+ if (this.state.selectedKeys === "all") n = new ok([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new sk(e, r, t);
+ n = new ok(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);
}
@@ -29875,7 +29875,7 @@ var uk = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? dy(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? uy(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);
@@ -29901,19 +29901,19 @@ var uk = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new sk(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new ok(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 sk([t], t, t) : new sk();
+ let n = this.canSelectItem(t) ? new ok([t], t, t) : new ok();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new sk();
+ let t = new ok();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -29925,7 +29925,7 @@ var uk = 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(cy(sy(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(sy(oy(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -29936,7 +29936,7 @@ var uk = 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 sk());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ok());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -29977,9 +29977,9 @@ var uk = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Lie = class {
+}, Rie = class {
build(e, t) {
- return this.context = t, dk(() => this.iterateCollection(e));
+ return this.context = t, uk(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -30061,10 +30061,10 @@ var uk = class e {
...a,
key: l,
index: s,
- wrapper: Rie(e.wrapper, a.wrapper)
+ wrapper: zie(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 <${fk(t.type)}> in <${fk(r?.type ?? "unknown parent type")}>. Only <${fk(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 <${dk(t.type)}> in <${dk(r?.type ?? "unknown parent type")}>. Only <${dk(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -30086,7 +30086,7 @@ var uk = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: dk(function* () {
+ childNodes: uk(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -30105,7 +30105,7 @@ var uk = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function dk(e) {
+function uk(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -30113,18 +30113,18 @@ function dk(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Rie(e, t) {
+function zie(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function fk(e) {
+function dk(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function pk(e, t, n) {
- let r = (0, I.useMemo)(() => new Lie(), []), { children: i, items: a, collection: o } = e;
+function fk(e, t, n) {
+ let r = (0, I.useMemo)(() => new Rie(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -30139,27 +30139,27 @@ function pk(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function mk(e) {
- let { filter: t, layoutDelegate: n } = e, r = ck(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = pk(e, (0, I.useCallback)((e) => t ? new ok(t(e)) : new ok(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new uk(a, r, { layoutDelegate: n }), [
+function pk(e) {
+ let { filter: t, layoutDelegate: n } = e, r = sk(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = fk(e, (0, I.useCallback)((e) => t ? new ak(t(e)) : new ak(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new lk(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return hk(a, o), {
+ return mk(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function zie(e, t) {
+function Bie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return hk(n, r), {
+ return mk(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function hk(e, t) {
+function mk(e, t) {
let n = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -30187,7 +30187,7 @@ function hk(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function gk(e, t) {
+function hk(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = _g((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -30195,7 +30195,7 @@ function gk(e, t) {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: j_(t?.current),
+ root: A_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -30211,42 +30211,42 @@ function gk(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var _k = /*#__PURE__*/ (0, I.createContext)(null), vk = /*#__PURE__*/ (0, I.createContext)(null), Bie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, _k);
- let n = (0, I.useContext)(vk);
- return n ? /*#__PURE__*/ I.createElement(yk, {
+var gk = /*#__PURE__*/ (0, I.createContext)(null), _k = /*#__PURE__*/ (0, I.createContext)(null), Vie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, gk);
+ let n = (0, I.useContext)(_k);
+ return n ? /*#__PURE__*/ I.createElement(vk, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(Vie, {
+ }) : /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(Hie, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Vie({ props: e, listBoxRef: t, collection: n }) {
+function Hie({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, I.useContext)(tO), i = mk({
+ let { layoutDelegate: r } = (0, I.useContext)(eO), i = pk({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ I.createElement(yk, {
+ return /*#__PURE__*/ I.createElement(vk, {
state: i,
props: e,
listBoxRef: t
});
}
-function yk({ state: e, props: t, listBoxRef: n }) {
- [t, n] = GD(t, n, XD);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Eg(), { disabledBehavior: p, disabledKeys: m } = l, h = gy({
+function vk({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = WD(t, n, YD);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Bie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Eg(), { disabledBehavior: p, disabledKeys: m } = l, h = hy({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(tO), b = (0, I.useMemo)(() => t.keyboardDelegate || new vv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(eO), b = (0, I.useMemo)(() => t.keyboardDelegate || new _v({
collection: c,
collator: h,
ref: n,
@@ -30267,7 +30267,7 @@ function yk({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = ste({
+ ]), { listBoxProps: x } = cte({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -30299,7 +30299,7 @@ function yk({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = wy(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = Cy(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -30307,7 +30307,7 @@ function yk({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = UD({
+ }, N = HD({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -30317,8 +30317,8 @@ function yk({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = zg(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(YD.div, {
+ let te = Rg(t, { global: !0 });
+ return /*#__PURE__*/ I.createElement(c_, null, /*#__PURE__*/ I.createElement(JD.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -30329,55 +30329,55 @@ function yk({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ I.createElement(HD, { values: [
- [_k, t],
- [vk, s],
- [ZO, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [gk, t],
+ [_k, s],
+ [XO, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [ik, { elementType: "div" }],
- [QO, { render: Wie }],
- [QD, {
+ [rk, { elementType: "div" }],
+ [ZO, { render: Gie }],
+ [ZD, {
name: "ListBoxSection",
- render: Hie
+ render: Uie
}]
- ] }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(y, {
+ ] }, /*#__PURE__*/ I.createElement(tk, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: ek(l, r, C),
- renderDropIndicator: $O(r, C)
+ persistedKeys: $O(l, r, C),
+ renderDropIndicator: QO(r, C)
}))), ee, E));
}
-function Hie(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(vk), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(ZO), { CollectionBranch: s } = (0, I.useContext)(tO), [c, l] = KD(), { headingProps: u, groupProps: d } = cte({
+function Uie(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(_k), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(XO), { CollectionBranch: s } = (0, I.useContext)(eO), [c, l] = GD(), { headingProps: u, groupProps: d } = lte({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = UD({
+ }), f = HD({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = zg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ I.createElement(YD.section, {
+ }), p = Rg(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ I.createElement(JD.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ I.createElement(tk.Provider, { value: {
+ }, /*#__PURE__*/ I.createElement(ek.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ I.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: $O(a, o)
+ renderDropIndicator: QO(a, o)
})));
}
-var Uie = /*#__PURE__*/ og(sp, function(e, t, n) {
- let r = Ih(t), i = (0, I.useContext)(vk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(ZO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lte({
+var Wie = /*#__PURE__*/ og(sp, function(e, t, n) {
+ let r = Ih(t), i = (0, I.useContext)(_k), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = ute({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = jy({
+ }, i, r), { hoverProps: p, isHovered: m } = Ay({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -30393,7 +30393,7 @@ var Uie = /*#__PURE__*/ og(sp, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = UD({
+ let y = o && o.isDragging(n.key), b = HD({
...e,
id: void 0,
children: e.children,
@@ -30411,7 +30411,7 @@ var Uie = /*#__PURE__*/ og(sp, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? YD.a : YD.div, S = zg(e, { global: !0 });
+ let x = e.href ? JD.a : JD.div, S = Rg(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,
@@ -30425,29 +30425,29 @@ var Uie = /*#__PURE__*/ og(sp, 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(HD, { values: [[cO, { slots: {
- [VD]: u,
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[sO, { slots: {
+ [BD]: u,
label: u,
description: d
- } }], [rk, { isSelected: f.isSelected }]] }, b.children));
+ } }], [nk, { isSelected: f.isSelected }]] }, b.children));
});
-function Wie(e, t) {
+function Gie(e, t) {
t = Ih(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(ZO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(Kie, {
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(XO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ I.createElement(qie, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Gie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = UD({
+function Kie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = HD({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(JD.div, {
...n,
...a,
role: "option",
@@ -30455,10 +30455,10 @@ function Gie(e, t) {
"data-drop-target": r || void 0
}));
}
-var Kie = /*#__PURE__*/ (0, I.forwardRef)(Gie);
+var qie = /*#__PURE__*/ (0, I.forwardRef)(Kie);
og(op, function(e, t, n) {
- let r = (0, I.useContext)(vk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- gk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(_k), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ hk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30468,7 +30468,7 @@ og(op, function(e, t, n) {
o,
r?.collection
]), c);
- let l = UD({
+ let l = HD({
...s,
id: void 0,
children: n.rendered,
@@ -30481,7 +30481,7 @@ og(op, function(e, t, n) {
width: 0,
height: 0
},
- inert: ak(!0)
+ inert: ik(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30490,8 +30490,8 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
- ...H(zg(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(JD.div, {
+ ...H(Rg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -30499,11 +30499,11 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var qie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var Jie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function bk(e) {
- let [t, n] = $_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
+function yk(e) {
+ let [t, n] = Q_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -30522,13 +30522,13 @@ function bk(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function xk(e, t = !0) {
+function bk(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]), Ck(e, i, (0, I.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), Sk(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
-function Sk(e, t) {
+function xk(e, t) {
let [n, r] = (0, I.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -30538,11 +30538,11 @@ function Sk(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return Ck(e, i, (0, I.useCallback)(() => {
+ return Sk(e, i, (0, I.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function Ck(e, t, n) {
+function Sk(e, t, n) {
Gp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -30571,9 +30571,9 @@ function Ck(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var wk = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.createContext)(null), Ek = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, wk);
- let n = (0, I.useContext)(Ik), r = bk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Sk(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wh(), { direction: c } = Eg();
+var Ck = /*#__PURE__*/ (0, I.createContext)(null), wk = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, Ck);
+ let n = (0, I.useContext)(Fk), r = yk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = xk(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wh(), { direction: c } = Eg();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -30584,7 +30584,7 @@ var wk = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Jie, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Yie, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -30593,13 +30593,13 @@ var wk = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function Jie({ 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)(Tk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = kte({
+function Yie({ 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)(wk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Ate({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = xk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = UD({
+ }, e), m = i.popoverRef, h = bk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = HD({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -30625,7 +30625,7 @@ function Jie({ 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]), Sb({
+ Gp(w, [w]), xb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -30634,8 +30634,8 @@ function Jie({ 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(YD.div, {
- ...H(zg(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ I.createElement(JD.div, {
+ ...H(Rg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -30650,17 +30650,17 @@ function Jie({ 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(ix, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(qie.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(rx, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Jie.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(xy, {
+ } }, x), /*#__PURE__*/ I.createElement(rx, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ I.createElement(by, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ I.createElement(xy, {
+ }, E) : /*#__PURE__*/ I.createElement(by, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -30675,15 +30675,15 @@ function Jie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ I.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ I.createElement(Tk.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ I.createElement(wk.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Yie = /*#__PURE__*/ (0, I.createContext)({});
+var Xie = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function Dk(e) {
- let t = bk(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
+function Ek(e) {
+ let t = yk(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]);
@@ -30709,7 +30709,7 @@ function Dk(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Xie = class {
+var Zie = 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) => {
@@ -30753,8 +30753,8 @@ var Xie = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Zie(e) {
- let { onExpandedChange: t } = e, [n, r] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ck(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = pk(e, (0, I.useCallback)((e) => new Xie(e, { expandedKeys: n }), [n]), null);
+function Qie(e) {
+ let { onExpandedChange: t } = e, [n, r] = Q_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = sk(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = fk(e, (0, I.useCallback)((e) => new Zie(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -30762,32 +30762,32 @@ function Zie(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Qie(n, e));
+ r($ie(n, e));
},
setExpandedKeys: r,
- selectionManager: new uk(o, i)
+ selectionManager: new lk(o, i)
};
}
-function Qie(e, t) {
+function $ie(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 Ok = /*#__PURE__*/ (0, I.createContext)(null), kk = /*#__PURE__*/ (0, I.createContext)(null), Ak = /*#__PURE__*/ (0, I.createContext)(null), jk = /*#__PURE__*/ (0, I.createContext)(null);
-function $ie(e) {
- let t = Dk(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = ny({
+var Dk = /*#__PURE__*/ (0, I.createContext)(null), Ok = /*#__PURE__*/ (0, I.createContext)(null), kk = /*#__PURE__*/ (0, I.createContext)(null), Ak = /*#__PURE__*/ (0, I.createContext)(null);
+function eae(e) {
+ let t = Ek(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = ty({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return Wh() ? null : /*#__PURE__*/ I.createElement(HD, { values: [
- [Ok, {
+ return Wh() ? null : /*#__PURE__*/ I.createElement(VD, { values: [
+ [Dk, {
...i,
ref: a
}],
- [Ik, t],
- [Ak, t],
- [wk, {
+ [Fk, t],
+ [kk, t],
+ [Ck, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -30795,13 +30795,13 @@ function $ie(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ I.createElement($ee, {
+ ] }, /*#__PURE__*/ I.createElement(ete, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var eae = /*#__PURE__*/ (0, I.createContext)(null);
+var tae = /*#__PURE__*/ (0, I.createContext)(null);
(class extends ip {
static {
this.type = "submenutrigger";
@@ -30815,24 +30815,24 @@ var eae = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = GD(e, t, Ok), /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(nae, {
+var nae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = WD(e, t, Dk), /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(rae, {
props: e,
collection: n,
menuRef: t
}));
});
-function nae({ props: e, collection: t, menuRef: n }) {
- [e, n] = GD(e, n, XD);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Zie({
+function rae({ props: e, collection: t, menuRef: n }) {
+ [e, n] = WD(e, n, YD);
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Qie({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(Ak), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(tO), { menuProps: u } = ute({
+ }), s = (0, I.useContext)(kk), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(eO), { menuProps: u } = dte({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = UD({
+ }, o, n), d = HD({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -30842,36 +30842,36 @@ function nae({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(YD.div, {
+ let p = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(c_, null, /*#__PURE__*/ I.createElement(JD.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(HD, { values: [
- [kk, o],
- [ik, { elementType: "div" }],
- [QD, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [Ok, o],
+ [rk, { elementType: "div" }],
+ [ZD, {
name: "MenuSection",
- render: Mk
+ render: jk
}],
- [eae, {
+ [tae, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Pk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Nk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [YD, null],
[XD, null],
- [ZD, null],
- [jk, o.selectionManager],
- [Ak, s ?? Dk({})]
- ] }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(l, {
+ [Ak, o.selectionManager],
+ [kk, s ?? Ek({})]
+ ] }, /*#__PURE__*/ I.createElement(tk, null, /*#__PURE__*/ I.createElement(l, {
collection: o.collection,
- persistedKeys: nO(o.selectionManager.focusedKey),
+ persistedKeys: tO(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var rae = class extends uk {
+var iae = class extends lk {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -30891,11 +30891,11 @@ var rae = class extends uk {
return this.parent.childFocusStrategy;
}
};
-function Mk(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(kk), { CollectionBranch: a } = (0, I.useContext)(tO), [o, s] = KD(), { headingProps: c, groupProps: l } = fte({
+function jk(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, I.useContext)(Ok), { CollectionBranch: a } = (0, I.useContext)(eO), [o, s] = GD(), { headingProps: c, groupProps: l } = pte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = UD({
+ }), u = HD({
...e,
id: void 0,
children: void 0,
@@ -30903,31 +30903,31 @@ function Mk(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(jk), f = ck(e), p = e.selectionMode == null ? d : new rae(d, f), m = WD(Pk)?.shouldCloseOnSelect, h = zg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ I.createElement(YD.section, {
+ }), d = (0, I.useContext)(Ak), f = sk(e), p = e.selectionMode == null ? d : new iae(d, f), m = UD(Nk)?.shouldCloseOnSelect, h = Rg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ I.createElement(JD.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ I.createElement(HD, { values: [
- [tk, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [ek, {
...c,
ref: o
}],
- [jk, p],
- [Pk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [Ak, p],
+ [Nk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ I.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Nk = /*#__PURE__*/ sg(cp, Mk), Pk = /*#__PURE__*/ (0, I.createContext)(null), Fk = /*#__PURE__*/ og(sp, function(e, t, n) {
- [e, t] = GD(e, t, Pk);
- let r = WD(Pk)?.id, i = (0, I.useContext)(kk), a = Ih(t), o = (0, I.useContext)(jk), { isVirtualized: s } = (0, I.useContext)(tO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = dte({
+var Mk = /*#__PURE__*/ sg(cp, jk), Nk = /*#__PURE__*/ (0, I.createContext)(null), Pk = /*#__PURE__*/ og(sp, function(e, t, n) {
+ [e, t] = WD(e, t, Nk);
+ let r = UD(Nk)?.id, i = (0, I.useContext)(Ok), a = Ih(t), o = (0, I.useContext)(Ak), { isVirtualized: s } = (0, I.useContext)(eO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = fte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = jy({ isDisabled: f.isDisabled }), h = UD({
+ }, i, a), { hoverProps: p, isHovered: m } = Ay({ isDisabled: f.isDisabled }), h = HD({
...e,
id: void 0,
children: n.rendered,
@@ -30941,7 +30941,7 @@ var Nk = /*#__PURE__*/ sg(cp, Mk), Pk = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? YD.a : YD.div, _ = zg(e, { global: !0 });
+ }), g = e.href ? JD.a : JD.div, _ = Rg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -30954,19 +30954,19 @@ var Nk = /*#__PURE__*/ sg(cp, Mk), Pk = /*#__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(HD, { values: [
- [cO, { slots: {
- [VD]: l,
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [sO, { slots: {
+ [BD]: l,
label: l,
description: u
} }],
- [Yie, d],
- [rk, { isSelected: f.isSelected }]
+ [Xie, d],
+ [nk, { isSelected: f.isSelected }]
] }, h.children));
});
og(op, function(e, t, n) {
- let r = (0, I.useContext)(kk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- gk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(Ok), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ hk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30976,7 +30976,7 @@ og(op, function(e, t, n) {
o,
r?.collection
]), c);
- let l = UD({
+ let l = HD({
...s,
id: void 0,
children: n.rendered,
@@ -30989,7 +30989,7 @@ og(op, function(e, t, n) {
width: 0,
height: 0
},
- inert: ak(!0)
+ inert: ik(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30998,8 +30998,8 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
- ...H(zg(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(JD.div, {
+ ...H(Rg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -31007,56 +31007,56 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var iae = /*#__PURE__*/ (0, I.createContext)(null), Ik = /*#__PURE__*/ (0, I.createContext)(null), Lk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var aae = /*#__PURE__*/ (0, I.createContext)(null), Fk = /*#__PURE__*/ (0, I.createContext)(null), Ik = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = GD(e, t, iae);
- let { dialogProps: r, titleProps: i, contentProps: a } = Cy({
+ [e, t] = WD(e, t, aae);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Sy({
...e,
"aria-labelledby": n
- }, t), o = (0, I.useContext)(Ik);
+ }, t), o = (0, I.useContext)(Fk);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = UD({
+ let s = HD({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(YD.section, {
+ }), c = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(JD.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ I.createElement(HD, { values: [
- [oO, { slots: {
- [VD]: {},
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [aO, { slots: {
+ [BD]: {},
title: {
...i,
level: 2
}
} }],
- [cO, { slots: {
- [VD]: {},
+ [sO, { slots: {
+ [BD]: {},
description: a
} }],
- [iO, { slots: {
- [VD]: {},
+ [rO, { slots: {
+ [BD]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Rk = typeof document < "u" && window.visualViewport;
-function aae() {
+}), Lk = typeof document < "u" && window.visualViewport;
+function oae() {
let e = jm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
- } : zk());
+ } : Rk());
return (0, I.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- Rk && Rk.scale > 1 || e(zk());
+ Lk && Lk.scale > 1 || e(Rk());
}, r, i = (t) => {
- Rk && Rk.scale > 1 || gg(V(t)) && (r = requestAnimationFrame(() => {
+ Lk && Lk.scale > 1 || gg(V(t)) && (r = requestAnimationFrame(() => {
let t = Mp();
(!t || !gg(t)) && e({
width: document.documentElement.clientWidth,
@@ -31064,26 +31064,26 @@ function aae() {
});
}));
};
- return e(zk()), rm() && am() && window.addEventListener("blur", i, !0), Rk ? Rk.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), rm() && am() && window.removeEventListener("blur", i, !0), Rk ? Rk.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(Rk()), rm() && am() && window.addEventListener("blur", i, !0), Lk ? Lk.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), rm() && am() && window.removeEventListener("blur", i, !0), Lk ? Lk.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function zk() {
+function Rk() {
return {
- width: Rk ? Math.min(Rk.width * Rk.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Rk ? Rk.height * Rk.scale : document.documentElement.clientHeight
+ width: Lk ? Math.min(Lk.width * Lk.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Lk ? Lk.height * Lk.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var oae = /*#__PURE__*/ (0, I.createContext)(null), Bk = /*#__PURE__*/ (0, I.createContext)(null), sae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- if ((0, I.useContext)(Bk)) return /*#__PURE__*/ I.createElement(Hk, {
+var sae = /*#__PURE__*/ (0, I.createContext)(null), zk = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ if ((0, I.useContext)(zk)) return /*#__PURE__*/ I.createElement(Vk, {
...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(Vk, {
+ return /*#__PURE__*/ I.createElement(Bk, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -31093,15 +31093,15 @@ var oae = /*#__PURE__*/ (0, I.createContext)(null), Bk = /*#__PURE__*/ (0, I.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ I.createElement(Hk, {
+ }, /*#__PURE__*/ I.createElement(Vk, {
...f,
modalRef: t
}, s));
});
-function cae(e, t) {
- [e, t] = GD(e, t, oae);
- let n = (0, I.useContext)(Ik), r = bk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ih(t), o = (0, I.useRef)(null), s = Sk(a, i.isOpen), c = Sk(o, i.isOpen), l = s || c || e.isExiting || !1, u = jm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(lae, {
+function lae(e, t) {
+ [e, t] = WD(e, t, sae);
+ let n = (0, I.useContext)(Fk), r = yk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ih(t), o = (0, I.useRef)(null), s = xk(a, i.isOpen), c = xk(o, i.isOpen), l = s || c || e.isExiting || !1, u = jm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(uae, {
...e,
state: i,
isExiting: l,
@@ -31109,9 +31109,9 @@ function cae(e, t) {
modalRef: o
});
}
-var Vk = /*#__PURE__*/ (0, I.forwardRef)(cae);
-function lae({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = _te(t, r, n), o = xk(t.overlayRef) || t.isEntering || !1, s = UD({
+var Bk = /*#__PURE__*/ (0, I.forwardRef)(lae);
+function uae({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = vte(t, r, n), o = bk(t.overlayRef) || t.isEntering || !1, s = HD({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -31119,9 +31119,9 @@ function lae({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = aae(), l, u;
+ }), c = oae(), l, u;
if (typeof document < "u") {
- let e = A_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = k_(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;
}
let d = {
@@ -31131,25 +31131,25 @@ function lae({ 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(xy, {
+ return /*#__PURE__*/ I.createElement(by, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ I.createElement(YD.div, {
- ...H(zg(t, { global: !0 }), a),
+ }, /*#__PURE__*/ I.createElement(JD.div, {
+ ...H(Rg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ I.createElement(HD, { values: [[Bk, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[zk, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [Ik, r]] }, s.children)));
+ }], [Fk, r]] }, s.children)));
}
-function Hk(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(Bk), a = (0, I.useContext)(Ik), o = Ih((0, I.useMemo)(() => _h(e.modalRef, n), [e.modalRef, n])), s = xk(o), c = UD({
+function Vk(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(zk), a = (0, I.useContext)(Fk), o = Ih((0, I.useMemo)(() => _h(e.modalRef, n), [e.modalRef, n])), s = bk(o), c = HD({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -31158,19 +31158,19 @@ function Hk(e) {
state: a
}
});
- return /*#__PURE__*/ I.createElement(YD.div, {
- ...H(zg(e, { global: !0 }), t),
+ return /*#__PURE__*/ I.createElement(JD.div, {
+ ...H(Rg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(ix, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(rx, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var uae = Math.round(Math.random() * 1e10), dae = 0;
-function fae(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${uae}-${++dae}`, [e.name]), [n, r] = $_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = W_({
+var dae = Math.round(Math.random() * 1e10), fae = 0;
+function pae(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${dae}-${++fae}`, [e.name]), [n, r] = Q_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = U_({
...e,
value: n
}), c = (t) => {
@@ -31193,16 +31193,16 @@ function fae(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__PURE__*/ (0, I.createContext)(null), Uk = /*#__PURE__*/ (0, I.createContext)(null), Wk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, pae);
- let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = fae({
+var mae = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__PURE__*/ (0, I.createContext)(null), Hk = /*#__PURE__*/ (0, I.createContext)(null), Uk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, mae);
+ let { validationBehavior: n } = UD(lO) || {}, r = e.validationBehavior ?? n ?? "native", i = pae({
...e,
validationBehavior: r
- }), [a, o] = KD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jte({
+ }), [a, o] = GD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Mte({
...e,
label: o,
validationBehavior: r
- }, i), f = UD({
+ }, i), f = HD({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -31213,8 +31213,8 @@ var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__PURE__*/ (0, I.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(YD.div, {
+ }), p = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(JD.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -31223,39 +31223,39 @@ var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__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(HD, { values: [
- [Uk, i],
- [rO, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [Hk, i],
+ [nO, {
...c,
ref: a,
elementType: "span"
}],
- [cO, { slots: {
+ [sO, { slots: {
description: l,
errorMessage: u
} }],
- [lO, d]
- ] }, /*#__PURE__*/ I.createElement(nk, null, f.children)));
-}), Gk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [cO, d]
+ ] }, /*#__PURE__*/ I.createElement(tk, null, f.children)));
+}), Wk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = GD(r, t, mae);
- let i = I.useContext(Uk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ate({
- ...qD(e),
+ [e, t] = WD(r, t, hae);
+ let i = I.useContext(Hk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = jte({
+ ...KD(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ I.createElement(Kk.Provider, { value: {
+ return /*#__PURE__*/ I.createElement(Gk.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(hae, {
+ } }, /*#__PURE__*/ I.createElement(gae, {
...e,
ref: t
}));
-}), Kk = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__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)(Kk), l = I.useContext(Uk), { isFocused: u, isFocusVisible: d, focusProps: f } = wy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jy({
+}), Gk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__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)(Gk), l = I.useContext(Hk), { isFocused: u, isFocusVisible: d, focusProps: f } = Cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Ay({
...e,
isDisabled: p
- }), g = UD({
+ }), g = HD({
...e,
defaultClassName: s,
values: {
@@ -31269,8 +31269,8 @@ var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__PURE__*/ (0, I.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = zg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(YD.label, {
+ }), _ = Rg(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(JD.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -31282,19 +31282,19 @@ var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__PURE__*/ (0, I.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(rv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function gae(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = bk(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function _ae(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = yk(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
- ]), [s, c] = $_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = Q_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -31306,12 +31306,12 @@ function gae(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = mk({
+ }, d = pk({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => _ae(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => vae(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -31321,7 +31321,7 @@ function gae(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = W_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = U_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, I.useState)(!1), [_] = (0, I.useState)(l);
@@ -31348,16 +31348,16 @@ function gae(e) {
setFocused: g
};
}
-function _ae(e) {
+function vae(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 vae(e) {
+function yae(e) {
return e && e.__esModule ? e.default : e;
}
-var qk = /*#__PURE__*/ (0, I.createContext)(null), Jk = /*#__PURE__*/ (0, I.createContext)(null), yae = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, qk);
+var Kk = /*#__PURE__*/ (0, I.createContext)(null), qk = /*#__PURE__*/ (0, I.createContext)(null), bae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, Kk);
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,
@@ -31372,24 +31372,24 @@ var qk = /*#__PURE__*/ (0, I.createContext)(null), Jk = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement($h, { content: o }, (n) => /*#__PURE__*/ I.createElement(xae, {
+ return /*#__PURE__*/ I.createElement($h, { content: o }, (n) => /*#__PURE__*/ I.createElement(Sae, {
props: e,
collection: n,
selectRef: t
}));
-}), bae = [
+}), xae = [
+ nO,
rO,
- iO,
- cO
+ sO
];
-function xae({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = WD(uO) || {}, i = e.validationBehavior ?? r ?? "native", a = gae({
+function Sae({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = UD(lO) || {}, i = e.validationBehavior ?? r ?? "native", a = _ae({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = wy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = KD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Mte({
- ...qD(e),
+ }), { isFocusVisible: o, focusProps: s } = Cy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = GD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Nte({
+ ...KD(e),
label: u,
validationBehavior: i
}, a, c), y = (0, I.useMemo)(() => ({
@@ -31406,48 +31406,48 @@ function xae({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = UD({
+ ]), b = HD({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = zg(e, { global: !0 });
+ }), x = Rg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(HD, { values: [
- [qk, e],
- [Jk, a],
- [Yk, p],
- [rO, {
+ return /*#__PURE__*/ I.createElement(VD, { values: [
+ [Kk, e],
+ [qk, a],
+ [Jk, p],
+ [nO, {
...d,
ref: l,
elementType: "span"
}],
- [iO, {
+ [rO, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Ik, a],
- [wk, {
+ [Fk, a],
+ [Ck, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: bae
+ clearContexts: xae
}],
- [_k, {
+ [gk, {
...m,
ref: S
}],
- [vk, a],
- [cO, { slots: {
+ [_k, a],
+ [sO, { slots: {
description: h,
errorMessage: g
} }],
- [lO, v]
- ] }, /*#__PURE__*/ I.createElement(YD.div, {
+ [cO, v]
+ ] }, /*#__PURE__*/ I.createElement(JD.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -31457,14 +31457,14 @@ function xae({ 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(Pte, {
+ }, b.children, /*#__PURE__*/ I.createElement(Fte, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, Yk);
- let n = (0, I.useContext)(Jk), { placeholder: r } = WD(qk), i = n.selectedItems.map((e) => {
+for (var Jk = /*#__PURE__*/ (0, I.createContext)(null), Cae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, Jk);
+ let n = (0, I.useContext)(qk), { placeholder: r } = UD(Kk), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -31476,7 +31476,7 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Ty(), 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 = wy(), 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
@@ -31491,7 +31491,7 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
a,
o,
i
- ]), u = Lg(vae(XO), "react-aria-components"), d = UD({
+ ]), u = Ig(yae(YO), "react-aria-components"), d = HD({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -31502,33 +31502,33 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(YD.span, {
+ }), f = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(JD.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ I.createElement(cO.Provider, { value: void 0 }, d.children));
-}), Cae = /*#__PURE__*/ (0, I.createContext)(null), Xk = /*#__PURE__*/ (0, I.createContext)(null), wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ I.createElement(sO.Provider, { value: void 0 }, d.children));
+}), wae = /*#__PURE__*/ (0, I.createContext)(null), Yk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = GD(r, t, Cae);
- let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ev(e), o = Ite({
- ...qD(e),
+ [e, t] = WD(r, t, wae);
+ let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = $_(e), o = Lte({
+ ...KD(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ I.createElement(HD, { values: [[Xk, a], [Zk, {
+ return /*#__PURE__*/ I.createElement(VD, { values: [[Yk, a], [Xk, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement(Tae, {
+ }]] }, /*#__PURE__*/ I.createElement(Eae, {
...e,
ref: t
}));
-}), Zk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__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)(Zk), { isFocused: f, isFocusVisible: p, focusProps: m } = wy(), h = a || o, g = (0, I.useContext)(Xk), { hoverProps: _, isHovered: v } = jy({
+}), Xk = /*#__PURE__*/ (0, I.createContext)(null), Eae = /*#__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)(Xk), { isFocused: f, isFocusVisible: p, focusProps: m } = Cy(), h = a || o, g = (0, I.useContext)(Yk), { hoverProps: _, isHovered: v } = Ay({
...e,
isDisabled: h
- }), y = UD({
+ }), y = HD({
...e,
defaultClassName: u,
values: {
@@ -31543,8 +31543,8 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
isRequired: d || !1,
state: g
}
- }), b = zg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(YD.label, {
+ }), b = Rg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(JD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -31557,11 +31557,11 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(rv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), Qk = 10, $k = 5, Eae = class {
+}), Zk = 10, Qk = 5, Dae = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -31571,7 +31571,7 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(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) > $k && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Qk && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > Qk && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Zk && (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);
@@ -31650,11 +31650,11 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > $k && i) {
+ if (Math.abs(r - c.lastSwitchY) > Qk && 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 > Qk && a) {
+ if (l > Zk && 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;
}
@@ -31669,7 +31669,7 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
boundaryContext: null
};
}
-}, Dae = class {
+}, Oae = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -31739,8 +31739,8 @@ for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, eA = "row-header-column-" + Math.random().toString(36).slice(2), tA = "row-header-column-" + Math.random().toString(36).slice(2); eA === tA;) tA = "row-header-column-" + Math.random().toString(36).slice(2);
-function nA(e, t) {
+}, $k = "row-header-column-" + Math.random().toString(36).slice(2), eA = "row-header-column-" + Math.random().toString(36).slice(2); $k === eA;) eA = "row-header-column-" + Math.random().toString(36).slice(2);
+function tA(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -31824,13 +31824,13 @@ function nA(e, t) {
textValue: ""
}));
}
-var Oae = class extends Dae {
+var kae = class extends Oae {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: eA,
+ key: $k,
value: null,
textValue: "",
level: 0,
@@ -31845,7 +31845,7 @@ var Oae = class extends Dae {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: tA,
+ key: eA,
value: null,
textValue: "",
level: 0,
@@ -31872,7 +31872,7 @@ var Oae = class extends Dae {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = nA(s, a);
+ let l = tA(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -31898,10 +31898,10 @@ var Oae = class extends Dae {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return cy(this.body.childNodes)?.key ?? null;
+ return sy(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return uy(this.body.childNodes)?.key ?? null;
+ return ly(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -31933,19 +31933,19 @@ var Oae = class extends Dae {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function kae(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ck(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Aae(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || sk(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 = sy(n, t);
- e = r === "last" ? uy(i)?.key ?? null : cy(i)?.key ?? null;
+ let i = oy(n, t);
+ e = r === "last" ? ly(i)?.key ?? null : sy(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, I.useMemo)(() => new uk(t, r), [t, r]), s = (0, I.useRef)(null);
+ let o = (0, I.useMemo)(() => new lk(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;
@@ -31965,7 +31965,7 @@ function kae(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...sy(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...oy(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);
}
@@ -31984,11 +31984,11 @@ function kae(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Aae = {
+var jae = {
ascending: "descending",
descending: "ascending"
};
-function jae(e) {
+function Mae(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,
@@ -31999,11 +31999,11 @@ function jae(e) {
i,
r,
a
- ]), c = pk(e, (0, I.useCallback)((e) => new Oae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kae({
+ ]), c = fk(e, (0, I.useCallback)((e) => new kae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Aae({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = Q_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -32015,7 +32015,7 @@ function jae(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Aae[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? jae[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -32028,7 +32028,7 @@ function jae(e) {
treeColumn: o
};
}
-function Mae(e, t) {
+function Nae(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -32038,7 +32038,7 @@ function Mae(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Nae = class extends lp {
+var Pae = class extends lp {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -32053,7 +32053,7 @@ var Nae = class extends lp {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new lA(-2);
+ return new cA(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -32079,7 +32079,7 @@ var Nae = class extends lp {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = nA(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 = tA(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;
@@ -32160,11 +32160,11 @@ var Nae = class extends lp {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new oA(-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 aA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Pae = /*#__PURE__*/ (0, I.createContext)(null), Fae = /*#__PURE__*/ (0, I.createContext)(null), rA = /*#__PURE__*/ (0, I.createContext)(null), iA = /*#__PURE__*/ (0, I.createContext)(null), Iae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, Fae);
- let n = ck(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
+}, Fae = /*#__PURE__*/ (0, I.createContext)(null), Iae = /*#__PURE__*/ (0, I.createContext)(null), nA = /*#__PURE__*/ (0, I.createContext)(null), rA = /*#__PURE__*/ (0, I.createContext)(null), Lae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, Iae);
+ let n = sk(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,
@@ -32174,26 +32174,26 @@ var Nae = class extends lp {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(zae.Provider, { value: s }, /*#__PURE__*/ I.createElement(ug, e));
+ ]), c = /*#__PURE__*/ I.createElement(Bae.Provider, { value: s }, /*#__PURE__*/ I.createElement(ug, e));
return /*#__PURE__*/ I.createElement($h, {
content: c,
- createCollection: () => new Nae()
- }, (r) => /*#__PURE__*/ I.createElement(Rae, {
+ createCollection: () => new Pae()
+ }, (r) => /*#__PURE__*/ I.createElement(zae, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Lae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}), Rae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.table, {
+ }) : /*#__PURE__*/ I.createElement(JD.table, {
...e,
ref: t
});
-}), aA = {
+}), iA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -32203,26 +32203,26 @@ var Nae = class extends lp {
rtl: "ArrowRight"
}
};
-function Rae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = GD(e, t, XD);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Pae);
+function zae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = WD(e, t, YD);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Fae);
t = Ih((0, I.useMemo)(() => _h(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let [l, u] = Q_(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 = jae({
+ let d = Mae({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Mae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(tO), { dragAndDropHooks: _ } = e, { gridProps: v } = Hte({
+ }), f = Nae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(eO), { dragAndDropHooks: _ } = e, { gridProps: v } = Ute({
...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 } = Eg(), [k] = (0, I.useState)(() => new Eae());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = Eg(), [k] = (0, I.useState)(() => new Dae());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -32237,7 +32237,7 @@ function Rae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new vv({
+ let e = new _v({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -32257,12 +32257,12 @@ function Rae({ 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 === aA.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === aA.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === iA.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === iA.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 } = wy(), N = UD({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = Cy(), N = HD({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -32278,19 +32278,19 @@ function Rae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(HD, { values: [
- [rA, f],
- [iA, P],
- [ZO, {
+ let ne = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(VD, { values: [
+ [nA, f],
+ [rA, P],
+ [XO, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [QO, { render: Yae }],
- [XD, null],
- [ZD, null]
- ] }, /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(Lae, {
+ [ZO, { render: Xae }],
+ [YD, null],
+ [XD, null]
+ ] }, /*#__PURE__*/ I.createElement(c_, null, /*#__PURE__*/ I.createElement(Rae, {
...H(ne, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -32300,46 +32300,46 @@ function Rae({ 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(nk, null, /*#__PURE__*/ I.createElement(g, {
+ }, /*#__PURE__*/ I.createElement(tk, null, /*#__PURE__*/ I.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: ek(y, _, C)
+ persistedKeys: $O(y, _, C)
})))), E);
}
-var zae = /*#__PURE__*/ (0, I.createContext)(null), oA = class extends ip {
+var Bae = /*#__PURE__*/ (0, I.createContext)(null), aA = class extends ip {
static {
this.type = "tableheader";
}
-}, Bae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}, Vae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.thead, {
+ }) : /*#__PURE__*/ I.createElement(JD.thead, {
...e,
ref: t
});
-}), sA = /*#__PURE__*/ sg(oA, (e, t) => {
- let n = (0, I.useContext)(rA).collection, r = mp({
+}), oA = /*#__PURE__*/ sg(aA, (e, t) => {
+ let n = (0, I.useContext)(nA).collection, r = mp({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(Hae, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(Uae, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = kS(), { hoverProps: a, isHovered: o } = jy({
+ }), { rowGroupProps: i } = OS(), { hoverProps: a, isHovered: o } = Ay({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = UD({
+ }), s = HD({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(Bae, {
- ...H(zg(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ I.createElement(Vae, {
+ ...H(Rg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
@@ -32347,8 +32347,8 @@ var zae = /*#__PURE__*/ (0, I.createContext)(null), oA = class extends ip {
}, (e) => /*#__PURE__*/ I.createElement(ug, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Vae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
+}, e.children)), Hae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
ref: t
@@ -32357,41 +32357,41 @@ var zae = /*#__PURE__*/ (0, I.createContext)(null), oA = class extends ip {
ref: t
});
});
-function Hae({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(rA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(tO), { rowProps: a } = SS({
+function Uae({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(nA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(eO), { rowProps: a } = xS({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = MS(n);
- return /*#__PURE__*/ I.createElement(Vae, {
+ }, n, t), { checkboxProps: o } = jS(n);
+ return /*#__PURE__*/ I.createElement(Hae, {
...a,
ref: t
- }, /*#__PURE__*/ I.createElement(HD, { values: [[dO, { slots: { selection: o } }], [fO, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[uO, { slots: { selection: o } }], [dO, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Uae = class extends ip {
+var Wae = class extends ip {
static {
this.type = "column";
}
-}, Wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}, Gae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.th, {
+ }) : /*#__PURE__*/ I.createElement(JD.th, {
...e,
ref: t
});
-}), cA = /*#__PURE__*/ og(Uae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(rA), { isVirtualized: a } = (0, I.useContext)(tO), { columnHeaderProps: o, isPressed: s } = xS({
+}), sA = /*#__PURE__*/ og(Wae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(nA), { isVirtualized: a } = (0, I.useContext)(eO), { columnHeaderProps: o, isPressed: s } = bS({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wy(), d = (0, I.useContext)(iA), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Cy(), d = (0, I.useContext)(rA), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = jy({ isDisabled: !e.allowsSorting }), h = UD({
+ let { hoverProps: p, isHovered: m } = Ay({ isDisabled: !e.allowsSorting }), h = HD({
...e,
id: void 0,
children: n.rendered,
@@ -32417,8 +32417,8 @@ var Uae = class extends ip {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = zg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(Wae, {
+ let _ = Rg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ I.createElement(Gae, {
...H(_, o, u, p),
...h,
style: g,
@@ -32430,28 +32430,28 @@ var Uae = class extends ip {
"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(HD, { values: [[Gae, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[Kae, {
column: n,
triggerRef: r
- }], [tO, $D]] }, h.children));
-}), Gae = /*#__PURE__*/ (0, I.createContext)(null), lA = class extends ap {
+ }], [eO, QD]] }, h.children));
+}), Kae = /*#__PURE__*/ (0, I.createContext)(null), cA = class extends ap {
static {
this.type = "tablebody";
}
-}, Kae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}, qae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.tbody, {
+ }) : /*#__PURE__*/ I.createElement(JD.tbody, {
...e,
ref: t
});
-}), uA = /*#__PURE__*/ sg(lA, (e, t, n) => {
- let r = (0, I.useContext)(rA), { isVirtualized: i } = (0, I.useContext)(tO), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(tO), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(ZO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), lA = /*#__PURE__*/ sg(cA, (e, t, n) => {
+ let r = (0, I.useContext)(nA), { isVirtualized: i } = (0, I.useContext)(eO), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(eO), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(XO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = UD({
+ }, p = HD({
...e,
id: void 0,
children: void 0,
@@ -32460,25 +32460,25 @@ var Uae = class extends ip {
}), 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(fA, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ I.createElement(dA, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ I.createElement(mA, {
+ }, /*#__PURE__*/ I.createElement(pA, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = kS(), _ = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Kae, {
+ let { rowGroupProps: g } = OS(), _ = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(qae, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(eoe, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(toe, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: $O(s, c)
+ renderDropIndicator: QO(s, c)
}), m);
});
(class extends ap {
@@ -32486,7 +32486,7 @@ var Uae = class extends ip {
this.type = "tablefooter";
}
});
-var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qae = class extends ip {
+var uA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Jae = class extends ip {
static {
this.type = "item";
}
@@ -32498,31 +32498,31 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
}
return null;
}
-}, fA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}, dA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.tr, {
+ }) : /*#__PURE__*/ I.createElement(JD.tr, {
...e,
ref: t
});
-}), pA = /*#__PURE__*/ sg(qae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(rA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(ZO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(tO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ES({
+}), fA = /*#__PURE__*/ sg(Jae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(nA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(eO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = TS({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = wy(), { isFocusVisible: _, focusProps: v } = wy({ within: !0 }), { hoverProps: y, isHovered: b } = jy({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Cy(), { isFocusVisible: _, focusProps: v } = Cy({ within: !0 }), { hoverProps: y, isHovered: b } = Ay({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = jS({ key: n.key }, i), S;
+ }), { checkboxProps: x } = AS({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = rv();
+ let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = nv();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -32532,7 +32532,7 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
(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 = UD({
+ 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 = HD({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -32553,11 +32553,11 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
isExpanded: j,
level: n.level + 1
}
- }), N = zg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(fA, {
+ }), N = Rg(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(dA, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(mA, {
+ }, /*#__PURE__*/ I.createElement(pA, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -32566,7 +32566,7 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ I.createElement(fA, {
+ }))), /*#__PURE__*/ I.createElement(dA, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -32582,17 +32582,17 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(HD, { values: [
- [dO, { slots: {
- [VD]: {},
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [uO, { slots: {
+ [BD]: {},
selection: x
} }],
- [fO, { slots: {
- [VD]: {},
+ [dO, { slots: {
+ [BD]: {},
selection: x
} }],
- [iO, { slots: {
- [VD]: {},
+ [rO, { slots: {
+ [BD]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -32600,8 +32600,8 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
style: { pointerEvents: "none" }
}
} }],
- [rk, { isSelected: p.isSelected }],
- [dA, { isFocusVisibleWithinRow: _ }]
+ [nk, { isSelected: p.isSelected }],
+ [uA, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ I.createElement(l, {
collection: i.collection,
parent: n
@@ -32614,29 +32614,29 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
items: e.columns,
idScope: e.id
}, e.children);
-}), Jae = class extends ip {
+}), Yae = class extends ip {
static {
this.type = "cell";
}
-}, mA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}, pA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.td, {
+ }) : /*#__PURE__*/ I.createElement(JD.td, {
...e,
ref: t
});
-}), hA = /*#__PURE__*/ og(Jae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(rA), { dragState: a } = (0, I.useContext)(ZO), { isVirtualized: o } = (0, I.useContext)(tO);
+}), mA = /*#__PURE__*/ og(Yae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(nA), { dragState: a } = (0, I.useContext)(XO), { isVirtualized: o } = (0, I.useContext)(eO);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = yS({
+ let { gridCellProps: s, isPressed: c } = vS({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wy(), { hoverProps: f, isHovered: p } = jy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(dA), 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 = UD({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Cy(), { hoverProps: f, isHovered: p } = Ay({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(uA), 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 = HD({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -32655,8 +32655,8 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = zg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ I.createElement(mA, {
+ }), S = Rg(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ I.createElement(pA, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -32670,14 +32670,14 @@ var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qa
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ I.createElement(tO.Provider, { value: $D }, x.children));
+ }, /*#__PURE__*/ I.createElement(eO.Provider, { value: QD }, x.children));
});
-function Yae(e, t) {
+function Xae(e, t) {
t = Ih(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(ZO), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(XO), 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($ae, {
+ return /*#__PURE__*/ I.createElement(eoe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -32686,40 +32686,40 @@ function Yae(e, t) {
ref: t
});
}
-var Xae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+var Zae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.tr, {
+ }) : /*#__PURE__*/ I.createElement(JD.tr, {
...e,
ref: t
});
-}), Zae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(tO);
- return n ? /*#__PURE__*/ I.createElement(YD.div, {
+}), Qae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(eO);
+ return n ? /*#__PURE__*/ I.createElement(JD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(YD.td, {
+ }) : /*#__PURE__*/ I.createElement(JD.td, {
...e,
ref: t
});
});
-function Qae(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(rA), { visuallyHiddenProps: c } = rv(), l = UD({
+function $ae(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(nA), { visuallyHiddenProps: c } = nv(), l = HD({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(Xae, {
- ...zg(e, { global: !0 }),
+ return /*#__PURE__*/ I.createElement(Zae, {
+ ...Rg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(Zae, {
+ }, /*#__PURE__*/ I.createElement(Qae, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -32730,14 +32730,14 @@ function Qae(e, t) {
ref: i
}), l.children));
}
-var $ae = /*#__PURE__*/ (0, I.forwardRef)(Qae);
-function eoe() {
- let e = (0, I.useContext)(rA), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(ZO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = rv();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(fA, {
+var eoe = /*#__PURE__*/ (0, I.forwardRef)($ae);
+function toe() {
+ let e = (0, I.useContext)(nA), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(XO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = nv();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(dA, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(mA, {
+ }, /*#__PURE__*/ I.createElement(pA, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -32749,8 +32749,8 @@ function eoe() {
})));
}
og(op, function(e, t, n) {
- let r = (0, I.useContext)(rA), { isVirtualized: i } = (0, I.useContext)(tO), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
- gk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(nA), { isVirtualized: i } = (0, I.useContext)(eO), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
+ hk((0, I.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -32760,7 +32760,7 @@ og(op, function(e, t, n) {
s,
r?.collection
]), u);
- let d = UD({
+ let d = HD({
...c,
id: void 0,
children: n.rendered,
@@ -32768,10 +32768,10 @@ og(op, 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(fA, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dA, {
style: { height: 0 },
- inert: ak(!0)
- }, /*#__PURE__*/ I.createElement(mA, { style: {
+ inert: ik(!0)
+ }, /*#__PURE__*/ I.createElement(pA, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ I.createElement("div", {
@@ -32782,14 +32782,14 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ I.createElement(fA, {
- ...H(zg(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ I.createElement(dA, {
+ ...H(Rg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(mA, {
+ }, /*#__PURE__*/ I.createElement(pA, {
role: "rowheader",
...p,
style: m
@@ -32797,8 +32797,8 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function toe(e) {
- let [t, n] = $_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = mk({
+function noe(e) {
+ let [t, n] = Q_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = pk({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -32821,24 +32821,24 @@ function toe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function noe(e) {
- let t = toe({
+function roe(e) {
+ let t = noe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? gA(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? hA(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 = gA(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 = hA(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 gA(e, t) {
+function hA(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);
@@ -32848,24 +32848,24 @@ function gA(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var _A = /*#__PURE__*/ (0, I.createContext)(null), vA = /*#__PURE__*/ (0, I.createContext)(null), yA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = GD(e, t, _A);
+var gA = /*#__PURE__*/ (0, I.createContext)(null), _A = /*#__PURE__*/ (0, I.createContext)(null), vA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = WD(e, t, gA);
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($h, { content: n }, (n) => /*#__PURE__*/ I.createElement(roe, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement($h, { content: n }, (n) => /*#__PURE__*/ I.createElement(ioe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function roe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = noe({
+function ioe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = roe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = wy({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = Cy({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -32873,12 +32873,12 @@ function roe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = UD({
+ ]), l = HD({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(YD.div, {
+ }), u = Rg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(JD.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -32886,20 +32886,20 @@ function roe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ I.createElement(HD, { values: [[_A, e], [vA, i]] }, l.children));
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[gA, e], [_A, i]] }, l.children));
}
-var bA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(vA) ? /*#__PURE__*/ I.createElement(ioe, {
+var yA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return (0, I.useContext)(_A) ? /*#__PURE__*/ I.createElement(aoe, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ I.createElement(ug, e);
});
-function ioe({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(vA), { CollectionRoot: r } = (0, I.useContext)(tO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = WD(_A), o = Ih(t), { tabListProps: s } = LS({
+function aoe({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(_A), { CollectionRoot: r } = (0, I.useContext)(eO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = UD(gA), o = Ih(t), { tabListProps: s } = IS({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = UD({
+ }, n, o), c = HD({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -32907,30 +32907,30 @@ function ioe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = zg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ I.createElement(YD.div, {
+ }), l = Rg(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ I.createElement(JD.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(r, {
+ }, /*#__PURE__*/ I.createElement(tk, null, /*#__PURE__*/ I.createElement(r, {
collection: n.collection,
- persistedKeys: nO(n.selectionManager.focusedKey)
+ persistedKeys: tO(n.selectionManager.focusedKey)
})));
}
-var xA = /*#__PURE__*/ og(class extends ip {
+var bA = /*#__PURE__*/ og(class extends ip {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(vA), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = FS({
+ let r = (0, I.useContext)(_A), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = PS({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wy(), { hoverProps: f, isHovered: p } = jy({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Cy(), { hoverProps: f, isHovered: p } = Ay({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = UD({
+ }), m = HD({
...e,
id: void 0,
children: n.rendered,
@@ -32943,7 +32943,7 @@ var xA = /*#__PURE__*/ og(class extends ip {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? YD.a : YD.div, g = zg(e, { global: !0 });
+ }), h = n.props.href ? JD.a : JD.div, g = Rg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -32953,58 +32953,58 @@ var xA = /*#__PURE__*/ og(class extends ip {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ I.createElement(rk.Provider, { value: { isSelected: o } }, m.children));
-}), SA = /*#__PURE__*/ Uh(function(e, t) {
- let n = (0, I.useContext)(vA), r = Ih(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ I.createElement(nk.Provider, { value: { isSelected: o } }, m.children));
+}), xA = /*#__PURE__*/ Uh(function(e, t) {
+ let n = (0, I.useContext)(_A), r = Ih(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 = Sk(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(aoe, {
+ let s = xk(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(ooe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function aoe(e) {
- let t = (0, I.useContext)(vA), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = RS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wy(), d = t.selectedKey === e.id, f = xk(r) && !i, p = UD({
+function ooe(e) {
+ let t = (0, I.useContext)(_A), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = LS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Cy(), d = t.selectedKey === e.id, f = bk(r) && !i, p = HD({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: ak(!d),
+ isInert: ik(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = zg(o, { global: !0 });
+ }), m = Rg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ I.createElement(YD.div, {
+ return /*#__PURE__*/ I.createElement(JD.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: ak(!d || e.inert),
+ inert: ik(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ I.createElement(HD, { values: [[_A, null], [vA, null]] }, /*#__PURE__*/ I.createElement(tO.Provider, { value: $D }, p.children)));
+ }, /*#__PURE__*/ I.createElement(VD, { values: [[gA, null], [_A, null]] }, /*#__PURE__*/ I.createElement(eO.Provider, { value: QD }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var ooe = /*#__PURE__*/ (0, I.createContext)({}), soe = /*#__PURE__*/ (0, I.createContext)(null), coe = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = GD(e, t, soe);
- let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
- [e, i] = GD(e, i, ZD);
- let [a, o] = KD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Wee({
- ...qD(e),
+var soe = /*#__PURE__*/ (0, I.createContext)({}), coe = /*#__PURE__*/ (0, I.createContext)(null), loe = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = WD(e, t, coe);
+ let { validationBehavior: n } = UD(lO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
+ [e, i] = WD(e, i, XD);
+ let [a, o] = GD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Gee({
+ ...KD(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 = UD({
+ }, [i]), h = HD({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -33013,8 +33013,8 @@ var ooe = /*#__PURE__*/ (0, I.createContext)({}), soe = /*#__PURE__*/ (0, I.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = zg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ I.createElement(YD.div, {
+ }), g = Rg(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ I.createElement(JD.div, {
...g,
...h,
ref: t,
@@ -33023,31 +33023,31 @@ var ooe = /*#__PURE__*/ (0, I.createContext)({}), soe = /*#__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(HD, { values: [
- [rO, {
+ }, /*#__PURE__*/ I.createElement(VD, { values: [
+ [nO, {
...l,
ref: a
}],
- [hO, {
+ [mO, {
...u,
ref: m
}],
- [ooe, {
+ [soe, {
...u,
ref: m
}],
- [mO, {
+ [pO, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [cO, { slots: {
+ [sO, { slots: {
description: d,
errorMessage: f
} }],
- [lO, p]
+ [cO, p]
] }, h.children));
-}), loe = {
+}), uoe = {
selection: {
type: oi,
duration: .16,
@@ -33059,7 +33059,7 @@ var ooe = /*#__PURE__*/ (0, I.createContext)({}), soe = /*#__PURE__*/ (0, I.crea
bounce: 0
}
};
-function CA(e) {
+function SA(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!t) return;
@@ -33080,7 +33080,7 @@ function CA(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = np(n, { transform: [r, E] }, loe[e]);
+ l = np(n, { transform: [r, E] }, uoe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -33117,16 +33117,16 @@ function CA(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function wA(e) {
- let t = CA("hover");
- return /* @__PURE__ */ (0, L.jsx)(Lk, {
+function CA(e) {
+ let t = SA("hover");
+ return /* @__PURE__ */ (0, L.jsx)(Ik, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var TA = cw({
+var wA = sw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33150,15 +33150,15 @@ var TA = cw({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function EA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = sw(TA.base, TA.size[t], TA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+function TA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = ow(wA.base, wA.size[t], wA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: TA.icon[t],
+ className: wA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, L.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: TA.icon[t],
+ className: wA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33185,7 +33185,7 @@ function EA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var DA = [
+var EA = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -33193,74 +33193,74 @@ var DA = [
"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(" "), uoe = "w-[266px]", doe = "flex w-full flex-col gap-1 outline-none", OA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), kA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), doe = "w-[266px]", foe = "flex w-full flex-col gap-1 outline-none", DA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), OA = "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 foe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", poe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", moe = gw({
+var poe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", moe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hoe = hw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), hoe = {
+}), goe = {
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"
-}, goe = {
+}, _oe = {
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"
-}, AA = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", jA = {
+}, voe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", yoe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, MA = gw({
+}, boe = hw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), NA = "border-t border-border-button-default p-4 first:border-t-0";
-function PA({ tone: e = "neutral", status: t, children: n }) {
+}), kA = "border-t border-border-button-default p-4 first:border-t-0";
+function AA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${AA} ${jA[e]}`,
+ className: `${voe} ${yoe[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
}) : null, n]
});
}
-function FA({ id: e, children: t }) {
+function jA({ id: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function IA({ id: e, gap: t = "none", children: n }) {
+function MA({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function LA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function NA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${moe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${hoe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: hoe[e],
+ className: goe[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: goe[e],
+ className: _oe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function RA() {
+function PA() {
let e = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
h(e.current);
@@ -33268,7 +33268,7 @@ function RA() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var zA = cw({
+var FA = sw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -33289,21 +33289,21 @@ var zA = cw({
small: "size-4 shrink-0"
}
});
-function BA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function IA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: sw(zA.base, zA.size[t], n),
+ className: ow(FA.base, FA.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
- className: zA.icon[t],
+ className: FA.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function VA({ className: e }) {
+function LA({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33316,8 +33316,8 @@ function VA({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var HA = "打开文件管理器失败,请重试";
-function UA({ path: e, prefix: t, className: n, onRevealed: r }) {
+var RA = "打开文件管理器失败,请重试";
+function zA({ 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)(() => () => {
c.current = !1;
@@ -33328,7 +33328,7 @@ function UA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof pw ? e.message : HA);
+ c.current && s(e instanceof fw ? e.message : RA);
} finally {
c.current && a(!1);
}
@@ -33339,10 +33339,10 @@ function UA({ 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: sw("min-w-0 break-all", n),
+ className: ow("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: VA,
+ }), /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: LA,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33356,22 +33356,42 @@ function UA({ path: e, prefix: t, className: n, onRevealed: r }) {
});
}
//#endregion
+//#region src/react/components/task-progress.tsx
+function BA({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+ return /* @__PURE__ */ (0, L.jsx)("div", {
+ "data-task-progress": !0,
+ className: r ? "flex flex-col gap-1.5" : hw({
+ variant: "outlined",
+ padding: "none",
+ className: "flex flex-col gap-1.5 px-4 py-3.5"
+ }),
+ children: n && n > 0 ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(bw, {
+ label: e,
+ value: t,
+ max: n
+ }), /* @__PURE__ */ (0, L.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e
+ })] }) : /* @__PURE__ */ (0, L.jsx)(_w, { label: e })
+ });
+}
+//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function WA({ className: e, children: t }) {
+function VA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: sw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: ow("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function GA({ className: e, children: t }) {
+function HA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: sw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: ow("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function KA({ label: e, description: t, children: n }) {
+function UA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- 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"),
+ className: ow("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", {
@@ -33386,14 +33406,14 @@ function KA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function qA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function WA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(GA, { children: e })
+ children: /* @__PURE__ */ (0, L.jsx)(HA, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, L.jsx)(GA, { children: e }), /* @__PURE__ */ (0, L.jsx)(WA, { children: i })] });
+ }) : /* @__PURE__ */ (0, L.jsx)(HA, { children: e }), /* @__PURE__ */ (0, L.jsx)(VA, { children: i })] });
return r ? /* @__PURE__ */ (0, L.jsx)("form", {
id: t,
"aria-label": e,
@@ -33408,13 +33428,13 @@ function qA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function JA({ children: e }) {
+function GA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function YA({ divided: e = !1, children: t }) {
+function KA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33423,7 +33443,7 @@ function YA({ divided: e = !1, children: t }) {
children: t
});
}
-function XA({ status: e, children: t }) {
+function qA({ status: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -33432,43 +33452,43 @@ function XA({ status: e, children: t }) {
}) : null, t]
});
}
-function ZA({ role: e, children: t }) {
+function JA({ role: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function QA({ children: e }) {
+function YA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function $A({ children: e }) {
+function XA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function ej({ href: e, children: t }) {
- return /* @__PURE__ */ (0, L.jsx)(EA, {
+function ZA({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, L.jsx)(TA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: rC,
+ trailingIcon: nC,
children: t
});
}
-function tj({ children: e }) {
+function QA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function nj({ term: e, children: t }) {
+function $A({ term: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
@@ -33480,7 +33500,7 @@ function nj({ term: e, children: t }) {
})]
});
}
-function rj({ summary: e, defaultOpen: t = !1, children: n }) {
+function ej({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, I.useId)(), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(t);
return /* @__PURE__ */ (0, L.jsxs)("details", {
ref: (e) => {
@@ -33493,7 +33513,7 @@ function rj({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (O(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)(qS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(KS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33508,7 +33528,7 @@ function rj({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function ij({ name: e }) {
+function tj({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33517,29 +33537,29 @@ function ij({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function aj({ mark: e }) {
+function nj({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, L.jsx)(ij, { name: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(tj, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function oj({ toast: e, mode: t, monitor: n }) {
+function rj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ft({
- queryKey: YT,
- queryFn: ({ signal: e }) => XT(e),
- refetchInterval: (e) => tE(e.state.data, r)
+ queryKey: qT,
+ queryFn: ({ signal: e }) => JT(e),
+ refetchInterval: (e) => $T(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;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && lE(c, e, r);
+ r && o(c), (r || t === "notice") && sE(c, e, r);
}, [
c,
t,
@@ -33552,29 +33572,29 @@ function oj({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var sj = [
+var ij = [
{
label: "扫描并补全资料",
- icon: eC,
+ icon: $S,
command: {}
},
{
label: "只扫描",
- icon: sC,
+ icon: oC,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: oC,
+ icon: aC,
command: { stage: "collect" }
}
-], cj = sw(OA, kA, "text-body-2-medium"), lj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", uj = (e) => {
+], aj = ow(DA, OA, "text-body-2-medium"), oj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", sj = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, dj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + uj(e);
-function fj({ busy: e, onRun: t }) {
+}, cj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + sj(e);
+function lj({ busy: e, onRun: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33583,14 +33603,14 @@ function fj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: eC,
+ leadingIcon: $S,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: GS,
+ leadingIcon: WS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33599,19 +33619,19 @@ function fj({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: DA,
- children: /* @__PURE__ */ (0, L.jsx)(wA, {
+ className: EA,
+ children: /* @__PURE__ */ (0, L.jsx)(CA, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: sj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
+ children: ij.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: cj,
+ className: aj,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
@@ -33621,8 +33641,8 @@ function fj({ busy: e, onRun: t }) {
})
})] });
}
-function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = oE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = iE(e.notes || {}), c = RA();
+function uj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = iE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = nE(e.notes || {}), c = PA();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33630,7 +33650,7 @@ function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: lj
+ children: oj
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33642,7 +33662,7 @@ function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, L.jsxs)(rj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(ej, {
summary: a.label,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -33673,7 +33693,7 @@ function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(UA, {
+ children: /* @__PURE__ */ (0, L.jsx)(zA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33687,13 +33707,13 @@ function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "处理完成",
- children: dj(n)
+ children: cj(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(UA, {
+ children: /* @__PURE__ */ (0, L.jsx)(zA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33705,38 +33725,38 @@ function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function mj(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = oj(e), o = It({
- mutationFn: (e) => q(JT, e),
+function dj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = rj(e), o = It({
+ mutationFn: (e) => q(KT, e),
onSuccess: (e) => {
- a(), X.setQueryData(YT, e), X.invalidateQueries({ queryKey: YT });
+ a(), X.setQueryData(qT, e), X.invalidateQueries({ queryKey: qT });
}
});
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? eE : K(r.error) : "", l = o.isPending || s.status === "running", u = aE(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? QT : K(r.error) : "", l = o.isPending || s.status === "running", u = rE(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(LA, {
- layout: "split",
+ children: [/* @__PURE__ */ (0, L.jsx)(NA, {
+ layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(EA, {
+ /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/scraping",
size: "small",
- trailingIcon: KS,
+ trailingIcon: GS,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, L.jsx)(EA, {
+ s.candidates ? /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/review",
size: "small",
- trailingIcon: KS,
+ trailingIcon: GS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, L.jsx)(fj, {
+ /* @__PURE__ */ (0, L.jsx)(lj, {
busy: l,
onRun: d
})
@@ -33744,32 +33764,20 @@ function mj(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(IA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, L.jsx)(MA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: foe
+ children: poe
}),
- 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)(xw, {
- label: u,
- value: s.checked || 0,
- max: s.total
- }), /* @__PURE__ */ (0, L.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- u,
- " · ",
- s.checked || 0,
- " / ",
- s.total,
- " 个视频"
- ]
- })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: u })
+ s.status === "running" ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ embedded: !0,
+ label: u,
+ value: s.checked,
+ total: s.total
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(pj, {
+ }), /* @__PURE__ */ (0, L.jsx)(uj, {
state: s,
problem: c,
settled: i,
@@ -33785,7 +33793,7 @@ function mj(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function hj(e) {
+function fj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33799,7 +33807,7 @@ function hj(e) {
})
});
}
-function gj(e) {
+function pj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33813,7 +33821,7 @@ function gj(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function _j(e, t, n) {
+function mj(e, t, n) {
(0, I.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33827,7 +33835,7 @@ function _j(e, t, n) {
n
]);
}
-function vj(e, t) {
+function hj(e, t) {
let n = (0, I.useRef)(!1);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -33841,33 +33849,33 @@ function vj(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var yj = (0, I.createContext)("md");
-function bj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var gj = (0, I.createContext)("md");
+function _j({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
- _j(d, () => f(!1), [l, u]);
- let p = vj(d, l);
- return /* @__PURE__ */ (0, L.jsx)(yae, {
+ mj(d, () => f(!1), [l, u]);
+ let p = hj(d, l);
+ return /* @__PURE__ */ (0, L.jsx)(bae, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: sw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(aO, {
+ className: ow("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(iO, {
ref: l,
- 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)(Sae, {
- className: sw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: ow("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)(Cae, {
+ className: ow("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(hj, { 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)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(fj, { className: ow("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
ref: u,
isNonModal: !0,
offset: 4,
- className: sw(uoe, DA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(Bie, {
+ className: ow(doe, EA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(Vie, {
items: a,
- className: sw(doe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, L.jsx)(yj.Provider, {
+ className: ow(foe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, L.jsx)(gj.Provider, {
value: r,
children: i
})
@@ -33875,19 +33883,19 @@ function bj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function xj({ className: e, children: t, ...n }) {
- let r = (0, I.useContext)(yj);
- return /* @__PURE__ */ (0, L.jsx)(Uie, {
+function vj({ className: e, children: t, ...n }) {
+ let r = (0, I.useContext)(gj);
+ return /* @__PURE__ */ (0, L.jsx)(Wie, {
...n,
- className: (t) => sw(OA, 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) => ow(DA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var Sj = 2e3, Cj = (e) => e, wj = (e, t) => t;
-function Tj(e) {
- let { queryKey: t, jobOf: n = Cj, withJob: r = wj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
+var yj = 2e3, bj = (e) => e, xj = (e, t) => t;
+function Sj(e) {
+ let { queryKey: t, jobOf: n = bj, withJob: r = xj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
(0, I.useEffect)(() => {
l.current = e;
});
@@ -33896,7 +33904,7 @@ function Tj(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? Sj : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? yj : i ?? !1;
}
}), d = It({
mutationFn: (e) => l.current.start(e),
@@ -33927,32 +33935,32 @@ function Tj(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Ej = (e) => m[e] || e, Dj = (e) => X.setQueryData(dE, e);
-function Oj() {
+var Cj = (e) => m[e] || e, wj = (e) => X.setQueryData(lE, e);
+function Tj() {
let e = Ft({
- queryKey: dE,
- queryFn: ({ signal: e }) => mE(e),
- refetchInterval: (e) => e.state.data?.status === "running" && Sj
+ queryKey: lE,
+ queryFn: ({ signal: e }) => fE(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && yj
}), t = Ft({
- queryKey: fE,
- queryFn: ({ signal: e }) => hE(e)
- }), [n, r] = (0, I.useState)(""), i = Sw(), a = e.data ?? pE, 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 = () => {
+ queryKey: uE,
+ queryFn: ({ signal: e }) => pE(e)
+ }), [n, r] = (0, I.useState)(""), i = xw(), a = e.data ?? dE, 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 && g({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => Dj(await q(uE, {
+ onConfirm: async () => wj(await q(cE, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(uE, { stop: !0 }, "POST", e), Dj), d = vE(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(cE, { stop: !0 }, "POST", e), wj), d = gE(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)(LA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(NA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(bj, {
+ footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -33960,10 +33968,10 @@ function Oj() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(xj, {
+ children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(vj, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: Ej(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: Cj(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: u,
@@ -33977,12 +33985,12 @@ function Oj() {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(IA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, L.jsx)(MA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: poe
+ children: moe
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(bw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34006,7 +34014,7 @@ function Oj() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: yE(a)
+ children: _E(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34018,7 +34026,7 @@ function Oj() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var kj = {
+var Ej = {
md: {
box: "size-4",
glyph: "size-4",
@@ -34032,11 +34040,11 @@ var kj = {
gap: "gap-1.5"
}
};
-function Aj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = kj[t], c = n || r, l = o && !a;
+function Dj({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Ej[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- 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"),
+ className: ow("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? ow("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : ow("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",
@@ -34060,36 +34068,36 @@ function Aj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function jj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = kj[n];
- return /* @__PURE__ */ (0, L.jsx)(Oie, {
+function Oj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Ej[n];
+ return /* @__PURE__ */ (0, L.jsx)(kie, {
ref: r,
...i,
- 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)(Aj, {
+ className: (t) => ow("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)(Dj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: sw(a.label, "text-text-primary"),
+ className: ow(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function Mj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function kj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: sw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(Iae, {
+ className: ow("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, L.jsx)(Lae, {
ref: r,
...i,
- className: sw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: ow("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Nj = [
+var Aj = [
"a",
"button",
"input",
@@ -34102,15 +34110,15 @@ var Nj = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function Pj(e, t) {
+function jj(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Nj);
+ let r = n.closest(Aj);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function Fj({ children: e, follow: t = !1, onRowClick: n }) {
+function Mj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -34118,15 +34126,15 @@ function Fj({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && Pj(e, r) && n(r.dataset.key);
+ r && jj(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Ij = lT("unlink"), Lj = lT("rotate-cw"), Rj = "站点返回 404 或 410,确认这个地址不存在。", zj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Bj = "删除前会逐条重验一次;此操作不可撤销。", Vj = "暂时无法读取进度,正在重新连接…", Hj = (e) => Number(e || 0).toLocaleString();
-function Uj({ label: e, value: t, note: n }) {
+var Nj = sT("unlink"), Pj = sT("rotate-cw"), Fj = "站点返回 404 或 410,确认这个地址不存在。", Ij = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Lj = "删除前会逐条重验一次;此操作不可撤销。", Rj = "暂时无法读取进度,正在重新连接…", zj = (e) => Number(e || 0).toLocaleString();
+function Bj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -34145,11 +34153,11 @@ function Uj({ label: e, value: t, note: n }) {
]
});
}
-function Wj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Vj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: NA,
+ className: kA,
children: [
/* @__PURE__ */ (0, L.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -34162,13 +34170,13 @@ function Wj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
+ /* @__PURE__ */ (0, L.jsx)(Mj, { children: /* @__PURE__ */ (0, L.jsxs)(kj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [
- i ? /* @__PURE__ */ (0, L.jsx)(cA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(oA, { children: [
+ i ? /* @__PURE__ */ (0, L.jsx)(sA, {
id: "pick",
- children: /* @__PURE__ */ (0, L.jsx)(jj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -34176,44 +34184,44 @@ function Wj({ 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)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(pA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(lA, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(fA, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(jj, {
+ i ? /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)(Oj, {
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)(hA, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: cD[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: e.label || "" }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: e.entity }),
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: sD[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: e.label || "" }),
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -34223,7 +34231,7 @@ function Wj({ 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)(rC, {
+ }), /* @__PURE__ */ (0, L.jsx)(nC, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34235,40 +34243,38 @@ function Wj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Gj({ line: e, value: t, total: n }) {
+function Hj({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: `${NA} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(xw, {
+ className: `${kA} flex flex-col gap-1.5`,
+ children: /* @__PURE__ */ (0, L.jsx)(BA, {
+ embedded: !0,
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)(vw, { label: e })
+ value: t,
+ total: n
+ })
});
}
-function Kj() {
+function Uj() {
let e = Ft({
- queryKey: aD,
- queryFn: ({ signal: e }) => uD(e)
- }), [t, n] = (0, I.useState)([]), r = Tj({
- queryKey: sD,
- queryFn: ({ signal: e }) => fD(e),
- start: Lre,
+ queryKey: iD,
+ queryFn: ({ signal: e }) => lD(e)
+ }), [t, n] = (0, I.useState)([]), r = Sj({
+ queryKey: oD,
+ queryFn: ({ signal: e }) => dD(e),
+ start: Rre,
onFinish: () => {
X.invalidateQueries({
- queryKey: aD,
+ queryKey: iD,
exact: !0
}), X.invalidateQueries({
- queryKey: oD,
+ queryKey: aD,
exact: !0
});
}
- }), i = Tj({
- queryKey: oD,
- queryFn: ({ signal: e }) => dD(e),
- start: Ire,
+ }), i = Sj({
+ queryKey: aD,
+ queryFn: ({ signal: e }) => uD(e),
+ start: Lre,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34298,7 +34304,7 @@ function Kj() {
else if (v) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: Rre(v)
+ children: zre(v)
});
else if (y) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34308,7 +34314,7 @@ function Kj() {
else if (i.query.isError && a) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Vj
+ children: Rj
});
else if (a?.status === "failed") b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34318,48 +34324,48 @@ function Kj() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, L.jsxs)("div", {
- className: MA,
+ className: boe,
children: [
- a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(Gj, {
- line: zre(a),
+ a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(Hj, {
+ line: Bre(a),
value: a.checked,
total: a.total
}) : null,
- c ? /* @__PURE__ */ (0, L.jsx)(Gj, {
+ c ? /* @__PURE__ */ (0, L.jsx)(Hj, {
line: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
total: r.job?.total
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Wj, {
+ /* @__PURE__ */ (0, L.jsx)(Vj, {
title: "地址已失效",
items: u,
- hint: Rj
+ hint: Fj
}),
- /* @__PURE__ */ (0, L.jsx)(Wj, {
+ /* @__PURE__ */ (0, L.jsx)(Vj, {
title: "本次未访问成功",
items: d,
- hint: zj,
+ hint: Ij,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, L.jsxs)(PA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Lj,
+ children: /* @__PURE__ */ (0, L.jsxs)(AA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ leadingIcon: Pj,
disabled: !t.length,
...Y(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Lj,
+ leadingIcon: Pj,
...Y(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, L.jsx)(PA, {
+ l && u.length ? /* @__PURE__ */ (0, L.jsx)(AA, {
tone: "error",
- status: Bj,
+ status: Lj,
children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "danger",
...Y(c),
@@ -34368,7 +34374,7 @@ function Kj() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, L.jsx)("p", {
- className: `${NA} text-body-regular text-notification-success-foreground`,
+ className: `${kA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -34379,20 +34385,20 @@ function Kj() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(FA, {
+ /* @__PURE__ */ (0, L.jsx)(jA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, L.jsxs)(LA, {
- layout: "split",
+ /* @__PURE__ */ (0, L.jsxs)(NA, {
+ layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Ij,
+ leadingIcon: Nj,
...Y(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
- children: [/* @__PURE__ */ (0, L.jsx)(IA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -34402,13 +34408,13 @@ function Kj() {
children: K(e.error)
}) : p ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, L.jsx)(Uj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Bj, {
label: "链接总数",
- value: Hj(p.total),
- note: `分布在 ${Hj(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Uj, {
- label: cD[e] || e,
- value: Hj(t)
+ value: zj(p.total),
+ note: `分布在 ${zj(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ label: sD[e] || e,
+ value: zj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -34431,11 +34437,11 @@ function Kj() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(xie, {
+function Wj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsxs)(Sie, {
"data-label": "true",
...a,
- className: sw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: ow("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34443,7 +34449,7 @@ function qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(uC, {
+ n && /* @__PURE__ */ (0, L.jsx)(lC, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34452,33 +34458,33 @@ function qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Jj({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)(Tie, {
+function Gj({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, L.jsx)(Eie, {
slot: e ? "errorMessage" : "description",
...n,
- className: sw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: ow("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Yj = (0, I.createContext)({});
-function Xj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Yj.Provider, {
+var Kj = (0, I.createContext)({});
+function qj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Kj.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(coe, {
+ children: /* @__PURE__ */ (0, L.jsx)(loe, {
...a,
"data-input-size": e,
- className: sw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: ow("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-Xj.displayName = "TextField";
-var Zj = cw({
+qj.displayName = "TextField";
+var Jj = sw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34507,44 +34513,44 @@ var Zj = cw({
].join(" "),
icon: "size-5 shrink-0"
});
-function Qj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, I.useContext)(Yj), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(Aie, {
+function Yj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, I.useContext)(Kj), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, L.jsx)(jie, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sw(Zj.field, d ? Zj.fieldWithAddonSize[u] : Zj.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 }) => ow(Jj.field, d ? Jj.fieldWithAddonSize[u] : Jj.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: Zj.content,
+ className: Jj.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Zj.leftSection,
+ className: Jj.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
- className: Zj.icon,
+ className: Jj.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(Mie, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(Nie, {
ref: o,
...c,
- className: sw(Zj.input, l.inputClassName, a)
+ className: ow(Jj.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: Zj.icon,
+ className: Jj.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Qj.displayName = "InputBase";
-function $j({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, L.jsx)(Xj, {
+Yj.displayName = "InputBase";
+function Xj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, L.jsx)(qj, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- e && /* @__PURE__ */ (0, L.jsx)(qj, {
+ e && /* @__PURE__ */ (0, L.jsx)(Wj, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Qj, {
+ /* @__PURE__ */ (0, L.jsx)(Yj, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34553,28 +34559,28 @@ function $j({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, L.jsx)(Jj, {
+ t && /* @__PURE__ */ (0, L.jsx)(Gj, {
isInvalid: d,
children: t
})
] })
});
}
-$j.displayName = "Input";
+Xj.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var eM = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, tM = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", nM = 8;
-function rM({ plan: e }) {
+var Zj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Qj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", $j = 8;
+function eM({ plan: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, nM).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: e.rows.slice(0, $j).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: gD(e.current_path)
+ children: hD(e.current_path)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -34584,7 +34590,7 @@ function rM({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: gD(e.target_path)
+ children: hD(e.target_path)
})
]
}, e.current_path))
@@ -34593,10 +34599,10 @@ function rM({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function iM({ toast: t, failure: n }) {
+function tM({ toast: t, failure: n }) {
let r = Ft({
- queryKey: mD,
- queryFn: ({ signal: e }) => hD(e)
+ queryKey: pD,
+ queryFn: ({ signal: e }) => mD(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 ?? "",
@@ -34609,8 +34615,8 @@ function iM({ toast: t, failure: n }) {
file_template: f.file.trim(),
dir_template: f.dir.trim()
}), x = It({
- mutationFn: Kre,
- onSuccess: (e, t) => void Jre({
+ mutationFn: qre,
+ onSuccess: (e, t) => void Yre({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34618,29 +34624,29 @@ function iM({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = Xre.test(K(e)) ? "dir" : "file";
+ let t = Zre.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = Tj({
- queryKey: mD,
- queryFn: ({ signal: e }) => hD(e),
- start: qre,
+ }), S = Sj({
+ queryKey: pD,
+ queryFn: ({ signal: e }) => mD(e),
+ start: Jre,
jobOf: (e) => e,
- withJob: Yre,
+ withJob: Xre,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: mD,
+ queryKey: pD,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = vD(e);
+ let { text: r, failed: i } = _D(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (_(null), x.mutate(b()));
}, k = () => void g({
title: "按模板整理文件",
- body: eM(E),
+ body: Zj(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34648,30 +34654,24 @@ function iM({ toast: t, failure: n }) {
})
}), A = () => void g({
title: "回滚上一批整理",
- body: tM,
+ body: Qj,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
if (M?.status === "running") {
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)(xw, {
- label: e,
- value: M.checked || 0,
- max: M.total
- }), /* @__PURE__ */ (0, L.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: e
- })]
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: e });
+ j = /* @__PURE__ */ (0, L.jsx)(BA, {
+ label: e,
+ value: M.checked,
+ total: M.total
+ });
} else if (N?.status === "failed") j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "文件整理未完成",
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = vD(N);
+ let { text: e, failed: t } = _D(N);
j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -34681,16 +34681,16 @@ function iM({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(BA, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
}) : w && (j = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: Zre(w)
- }), T ? /* @__PURE__ */ (0, L.jsx)(rM, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, L.jsxs)(LA, {
+ children: Qre(w)
+ }), T ? /* @__PURE__ */ (0, L.jsx)(eM, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, L.jsxs)(NA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34714,7 +34714,7 @@ function iM({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, L.jsx)(IA, {
+ /* @__PURE__ */ (0, L.jsx)(MA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34734,20 +34734,20 @@ function iM({ toast: t, failure: n }) {
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, L.jsx)(bj, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), _(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(xj, {
+ children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(vj, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: m[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: m[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -34758,7 +34758,7 @@ function iM({ toast: t, failure: n }) {
p({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -34798,91 +34798,91 @@ function iM({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var aM = lT("git-compare"), oM = lT("rotate-cw"), sM = "暂时无法读取进度,正在重新连接…", 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();
-function dM({ scan: e }) {
+var nM = sT("git-compare"), rM = sT("rotate-cw"), iM = "暂时无法读取进度,正在重新连接…", aM = "清理失效条目", oM = "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", sM = (e) => Number(e || 0).toLocaleString();
+function cM({ 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: oM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
- className: RD(),
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
- label: nie[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, L.jsx)(aj, { mark: m[e.location] ?? "database" }),
+ className: LD(),
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
+ label: rie[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, L.jsx)(nj, { mark: m[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, L.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${uM(e.missing)} 项` : "—",
- meta: oie(e),
+ figure: e.online ? `${sM(e.missing)} 项` : "—",
+ meta: sie(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: lM,
+ className: oM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
- className: RD(),
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: LD(),
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: "待永久删除",
- figure: `${uM(e.missing)} 项`,
+ figure: `${sM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: RD(),
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: LD(),
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: "空文件夹",
- figure: `${uM(e.empty)} 个`,
+ figure: `${sM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: RD(),
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: LD(),
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: "可清理的缓存",
- figure: `${uM(t.files)} 个`,
+ figure: `${sM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
]
})] });
}
-function fM({ toast: e }) {
- let t = Tj({
- queryKey: SD,
- queryFn: ({ signal: e }) => wD(e),
- start: $re,
+function lM({ toast: e }) {
+ let t = Sj({
+ queryKey: xD,
+ queryFn: ({ signal: e }) => CD(e),
+ start: eie,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: jD,
+ queryKey: AD,
exact: !0
}), X.invalidateQueries({
- queryKey: xD,
+ queryKey: bD,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = DD(t);
- r ? e(`已完成 ${uM(n)} 项,${uM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = ED(t);
+ r ? e(`已完成 ${sM(n)} 项,${sM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = Tj({
- queryKey: xD,
- queryFn: ({ signal: e }) => CD(e),
- start: Qre,
+ }), n = Sj({
+ queryKey: bD,
+ queryFn: ({ signal: e }) => SD(e),
+ start: $re,
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 g({
- title: cM,
- body: aie(e),
- confirmLabel: cM,
+ title: aM,
+ body: oie(e),
+ confirmLabel: aM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = DD(e).left > 0;
+ let t = ED(e).left > 0;
return /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: sie(e, a)
+ children: cie(e, a)
});
}, f = null;
if (u?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34891,7 +34891,7 @@ function fM({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) f = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(vw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(BA, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34900,20 +34900,14 @@ function fM({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: sM
+ children: iM
});
else if (r?.status === "running") {
- let e = rie(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)(xw, {
- 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)(vw, { label: "正在检查本地磁盘和网盘…" })
+ let e = iie(r);
+ f = /* @__PURE__ */ (0, L.jsx)(BA, {
+ label: e,
+ value: r.completed_sources,
+ total: r.total_sources
});
} else if (r?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34926,13 +34920,13 @@ function fM({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = tie(r);
+ let e = nie(r);
f = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(dM, { scan: r }),
+ /* @__PURE__ */ (0, L.jsx)(cM, { scan: r }),
e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: iie(r)
+ children: aie(r)
}) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -34940,7 +34934,7 @@ function fM({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : cM
+ children: o ? "正在复核并清理…" : aM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -34957,23 +34951,23 @@ function fM({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(FA, {
+ /* @__PURE__ */ (0, L.jsx)(jA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, L.jsxs)(LA, {
+ /* @__PURE__ */ (0, L.jsxs)(NA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? oM : aM,
+ leadingIcon: s && !i ? rM : nM,
...Y(i),
onClick: () => {
i || n.start.mutate();
},
children: c
}),
- children: [/* @__PURE__ */ (0, L.jsx)(IA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -34992,16 +34986,16 @@ function fM({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function pM(e, t) {
+function uM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function mM({ section: e, label: t, icon: n, value: r, open: i }) {
+function dM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: RD({ interactive: !0 }),
+ className: LD({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: t,
icon: n,
figure: r.figure,
@@ -35009,80 +35003,80 @@ function mM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var hM = lT("square-check-big"), gM = lT("sparkles"), _M = lT("file-stack"), vM = lT("file-archive"), yM = lT("trash"), bM = [
- OD,
- xE,
- LT
-], xM = () => {
- for (let e of bM) X.invalidateQueries({
+var fM = sT("square-check-big"), pM = sT("sparkles"), mM = sT("file-stack"), hM = sT("file-archive"), gM = sT("trash"), _M = [
+ DD,
+ yE,
+ FT
+], vM = () => {
+ for (let e of _M) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function SM({ toast: e, failure: t, open: n }) {
+function yM({ toast: e, failure: t, open: n }) {
let r = Ft({
- queryKey: OD,
- queryFn: ({ signal: e }) => MD(e)
+ queryKey: DD,
+ queryFn: ({ signal: e }) => jD(e)
}), i = Ft({
- queryKey: xE,
- queryFn: ({ signal: e }) => SE(e)
+ queryKey: yE,
+ queryFn: ({ signal: e }) => bE(e)
}), o = Ft({
- queryKey: LT,
- queryFn: ({ signal: e }) => zT(e)
+ queryKey: FT,
+ queryFn: ({ signal: e }) => LT(e)
}), s = Ft({
- queryKey: kD,
- queryFn: ({ signal: e }) => ND(e)
+ queryKey: OD,
+ queryFn: ({ signal: e }) => MD(e)
}), c = Ft({
- queryKey: jD,
- queryFn: ({ signal: e }) => PD(e)
+ queryKey: AD,
+ queryFn: ({ signal: e }) => ND(e)
}), l = Ft({
- queryKey: jT,
- queryFn: ({ signal: e }) => MT(e)
+ queryKey: kT,
+ queryFn: ({ signal: e }) => AT(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: vie,
+ className: yie,
children: [
- /* @__PURE__ */ (0, L.jsx)(mM, {
+ /* @__PURE__ */ (0, L.jsx)(dM, {
section: "review",
label: "人工复核",
- icon: hM,
+ icon: fM,
open: n,
- value: pM(r, die)
+ value: uM(r, fie)
}),
- /* @__PURE__ */ (0, L.jsx)(mM, {
+ /* @__PURE__ */ (0, L.jsx)(dM, {
section: "quality",
label: "高清版",
- icon: gM,
+ icon: pM,
open: n,
- value: pM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: uM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(mM, {
+ /* @__PURE__ */ (0, L.jsx)(dM, {
section: "duplicates",
label: "重复文件",
- icon: _M,
+ icon: mM,
open: n,
- value: pM(o, (e) => Number(e.total || 0) ? {
+ value: uM(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)(mM, {
+ /* @__PURE__ */ (0, L.jsx)(dM, {
section: "ads",
label: "垃圾文件",
- icon: vM,
+ icon: hM,
open: n,
- value: pM(s, (e) => ({
+ value: uM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: fie(e)
+ meta: pie(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(mM, {
+ /* @__PURE__ */ (0, L.jsx)(dM, {
section: "trash",
label: "回收站",
- icon: yM,
+ icon: gM,
open: n,
- value: pM(c, (e) => ({
+ value: uM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -35095,29 +35089,29 @@ function SM({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, L.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, L.jsx)(mj, {
+ children: /* @__PURE__ */ (0, L.jsx)(dj, {
toast: u,
monitor: !0,
- onComplete: xM
+ onComplete: vM
})
}),
/* @__PURE__ */ (0, L.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(Tj, {})
}),
- /* @__PURE__ */ (0, L.jsx)(iM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(Kj, {}),
- TD(l.data) ? /* @__PURE__ */ (0, L.jsx)(fM, { toast: e }) : null
+ /* @__PURE__ */ (0, L.jsx)(Uj, {}),
+ wD(l.data) ? /* @__PURE__ */ (0, L.jsx)(lM, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function CM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function bM({ 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
@@ -35144,7 +35138,7 @@ function CM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function wM(e) {
+function xM(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35162,9 +35156,9 @@ function wM(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function TM({ title: e, children: t }) {
+function SM({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return wM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return xM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35177,51 +35171,51 @@ function TM({ title: e, children: t }) {
}), t]
});
}
-function EM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function CM({ 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 wM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return xM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: sw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: ow("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: sw("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: ow("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: sw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: ow("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var DM = "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 OM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var wM = "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 TM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: sw(DM, r),
+ className: ow(wM, r),
onClick: n,
children: e
});
}
-var kM = "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 AM({ children: e, onPress: t, busy: n = !1 }) {
+var EM = "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 DM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: kM,
+ className: EM,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35232,29 +35226,29 @@ function AM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var jM = lT("play"), MM = lT("file-stack"), NM = gw({
+var OM = sT("play"), kM = sT("file-stack"), AM = hw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), PM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", FM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", IM = "font-mono text-caption-1-regular leading-5 text-text-secondary", LM = () => {
+}), jM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", MM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", NM = "font-mono text-caption-1-regular leading-5 text-text-secondary", PM = () => {
X.invalidateQueries({
- queryKey: LT,
+ queryKey: FT,
exact: !0
}), X.invalidateQueries({
- queryKey: jD,
+ queryKey: AD,
exact: !0
});
};
-function RM(e) {
+function FM(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${FM} text-(--keep)`,
+ className: `${MM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${FM} text-text-secondary`,
+ className: `${MM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function zM({ file: t, openItem: n }) {
+function IM({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -35264,7 +35258,7 @@ function zM({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)(jM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(OM, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, L.jsx)("img", {
@@ -35288,55 +35282,55 @@ function zM({ 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: `${PM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${jM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${PM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${jM} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
- className: `${IM} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: m[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ className: `${NM} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: m[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: IM,
+ className: NM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: IM,
+ className: NM,
children: i(t.duration)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${IM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${NM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function BM({ openItem: t, toast: n, failure: r }) {
+function LM({ openItem: t, toast: n, failure: r }) {
let i = Ft({
- queryKey: LT,
- queryFn: ({ signal: e }) => zT(e)
+ queryKey: FT,
+ queryFn: ({ signal: e }) => LT(e)
}), o = Ft({
- queryKey: jT,
- queryFn: ({ signal: e }) => MT(e)
+ queryKey: kT,
+ queryFn: ({ signal: e }) => AT(e)
}), [s, c] = (0, I.useState)(""), l = It({
- mutationFn: (e) => qT(e, "dispose"),
+ mutationFn: (e) => GT(e, "dispose"),
onSuccess: (e, t) => {
- LM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ PM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await qT(t, "restore");
+ await GT(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- LM();
+ PM();
}
} });
},
@@ -35350,12 +35344,12 @@ function BM({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let d = u.groups ?? [], f = FT(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = NT(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = GT(e, t);
+ let r = UT(e, t);
r.length && g({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${VT[t] ?? VT.largest}。文件共 ${a(KT(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${zT[t] ?? zT.largest}。文件共 ${a(WT(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -35363,15 +35357,15 @@ function BM({ 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)(CM, {
+ /* @__PURE__ */ (0, L.jsx)(bM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, L.jsxs)(TM, {
+ d.length ? /* @__PURE__ */ (0, L.jsxs)(SM, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(AM, {
+ /* @__PURE__ */ (0, L.jsx)(DM, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -35380,7 +35374,7 @@ function BM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(AM, {
+ /* @__PURE__ */ (0, L.jsx)(DM, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -35389,7 +35383,7 @@ function BM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- WT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(AM, {
+ HT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(DM, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -35412,7 +35406,7 @@ function BM({ openItem: t, toast: n, failure: r }) {
let i = [n], o = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": n.code,
- className: NM,
+ className: AM,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -35424,9 +35418,9 @@ function BM({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${a(n.reclaimable)}`
}),
- RM(n),
+ FM(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${FM} text-text-secondary`,
+ className: `${MM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35454,7 +35448,7 @@ function BM({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- UT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ VT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35479,13 +35473,13 @@ function BM({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(zM, {
+ }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(IM, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: MM,
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: kM,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35494,43 +35488,43 @@ function BM({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var VM = "/api/follow/authors", HM = "/api/follow/tags", UM = (e) => [
+var RM = "/api/follow/authors", zM = "/api/follow/tags", BM = (e) => [
"follow",
"authors",
e
-], WM = (e, t) => [
+], VM = (e, t) => [
"follow",
"tags",
e,
t
];
-function GM(e, t, n) {
+function HM(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${VM}?${r}`;
+ return e && r.set("q", e), `${RM}?${r}`;
}
-function KM(e, t, n, r) {
+function UM(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), `${HM}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${zM}?${i}`;
}
-var qM = (e, t, n, r) => hw(GM(e, t, n), r), JM = (e, t, n, r, i) => hw(KM(e, t, n, r), i), YM = "/api/index", XM = {
+var WM = (e, t, n, r) => mw(HM(e, t, n), r), GM = (e, t, n, r, i) => mw(UM(e, t, n, r), i), KM = "/api/index", qM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ZM = {
+}, JM = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, QM = [
+}, YM = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -35540,26 +35534,26 @@ var qM = (e, t, n, r) => hw(GM(e, t, n), r), JM = (e, t, n, r, i) => hw(KM(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], $M = [
+], XM = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], eN = {
+], ZM = {
people: 120,
tags: 180
-}, tN = (e) => e !== "tags", nN = (e) => e === "studios" || e === "agencies";
-function rN(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? $M : QM).some(([t]) => t === e.category);
+}, QM = (e) => e !== "tags", $M = (e) => e === "studios" || e === "agencies";
+function eN(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? XM : YM).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function iN(e) {
+function tN(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -35578,50 +35572,50 @@ function iN(e) {
q: n
};
}
-var aN = (e, t, n = "all") => [
+var nN = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function oN(e, t, n, r, i) {
+function rN(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), `${YM}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${KM}?${a}`;
}
-function sN(e) {
- let t = e.what === "people" || e.what === "online-authors" ? eN.people : eN.tags, n = {
+function iN(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? ZM.people : ZM.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: aN(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => hw(oN(e.kind, e.q, "all", t, n), r)
+ queryKey: nN(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => mw(rN(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: aN("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => hw(oN("tags", e.q, e.category, t, n), r)
+ queryKey: nN("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => mw(rN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: UM(e.q),
- queryFn: ({ pageParam: n, signal: r }) => qM(e.q, t, n, r)
+ queryKey: BM(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => WM(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: WM(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => JM(e.q, e.category, t, n, r)
+ queryKey: VM(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => GM(e.q, e.category, t, n, r)
};
}
}
-async function cN(e, t) {
- let n = sN(iN(rN(e)));
+async function aN(e, t) {
+ let n = iN(tN(eN(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -35635,13 +35629,13 @@ async function cN(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var lN = (e) => e ? e.pages.flatMap((e) => e.items) : [], uN = (e, t) => `${e}${t ? "+" : ""} 项`, dN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", fN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), pN = {
+var oN = (e) => e ? e.pages.flatMap((e) => e.items) : [], sN = (e, t) => `${e}${t ? "+" : ""} 项`, cN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", lN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), uN = {
numeric: !0,
sensitivity: "base"
};
-function mN(e, t) {
+function dN(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", pN))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", uN))) {
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]);
}
@@ -35649,7 +35643,7 @@ function mN(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function hN({ html: e, face: t, company: n, big: r }) {
+function fN({ 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");
@@ -35661,18 +35655,18 @@ function hN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var gN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function _N({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var pN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function mN({ 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: gw({
+ className: hw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${gN} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${pN} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -35689,8 +35683,8 @@ function _N({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function vN({ kind: e, items: t, layout: n, props: r }) {
- let i = ZM[e], a = nN(e), o = n === "big";
+function hN({ kind: e, items: t, layout: n, props: r }) {
+ let i = JM[e], a = $M(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -35698,14 +35692,14 @@ function vN({ 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)(_N, {
+ return /* @__PURE__ */ (0, L.jsx)(mN, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: fN(e, t),
+ readout: lN(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(hN, {
+ children: /* @__PURE__ */ (0, L.jsx)(fN, {
html: n.html,
face: n.face,
company: a,
@@ -35715,21 +35709,21 @@ function vN({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function yN({ items: e, layout: t, props: n }) {
+function gN({ 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)(_N, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(mN, {
"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)(hN, {
+ children: /* @__PURE__ */ (0, L.jsx)(fN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -35739,7 +35733,7 @@ function yN({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function bN(e) {
+function _N(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
let a = e.closest(".dual-range");
@@ -35751,8 +35745,8 @@ function bN(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var xN = "/vendor/swiper/14.2.0/", SN = null, CN = () => SN ??= Promise.all([new Promise((e, t) => {
- let n = `${xN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var vN = "/vendor/swiper/14.2.0/", yN = null, bN = () => yN ??= Promise.all([new Promise((e, t) => {
+ let n = `${vN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -35766,11 +35760,11 @@ var xN = "/vendor/swiper/14.2.0/", SN = null, CN = () => SN ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${xN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${vN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw SN = null, e;
+ throw yN = null, e;
});
-function wN(e, t, n) {
+function xN(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -35791,48 +35785,48 @@ function wN(e, t, n) {
}
};
}
-var TN = (e) => {
+var SN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : a(t)).replace(" ", "\xA0") : "大小未知";
-}, EN = (e) => e.asset?.name || e.name || "未命名图片";
-function DN(t, n) {
+}, CN = (e) => e.asset?.name || e.name || "未命名图片";
+function wN(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", TN(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", SN(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? TN(t.size) : ""
+ t.size ? SN(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var ON = null, kN = null, AN = 0;
-function jN() {
- return (!kN || !ON?.isConnected) && (kN?.unmount(), ON = document.createElement("div"), ON.className = "peach-react", ON.dataset.photoLightboxHost = "", document.body.append(ON), kN = (0, HS.createRoot)(ON)), kN;
+var TN = null, EN = null, DN = 0;
+function ON() {
+ return (!EN || !TN?.isConnected) && (EN?.unmount(), TN = document.createElement("div"), TN.className = "peach-react", TN.dataset.photoLightboxHost = "", document.body.append(TN), EN = (0, VS.createRoot)(TN)), EN;
}
-async function MN(e, t, n) {
+async function kN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await CN();
+ r = await bN();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = jN();
- (0, Yh.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(PN, {
+ let i = ON();
+ (0, Yh.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(jN, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++AN)));
+ }, ++DN)));
}
-function NN() {
- kN && (0, Yh.flushSync)(() => kN.render(null));
+function AN() {
+ EN && (0, Yh.flushSync)(() => EN.render(null));
}
-function PN({ slides: e, index: t, Swiper: n, host: r }) {
+function jN({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, I.useId)(), o = (0, I.useRef)(null), c = (0, I.useRef)(null), l = (0, I.useRef)(null), 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), _ = (0, I.useRef)(null), [v, y] = (0, I.useState)(t), [b, x] = (0, I.useState)(100), [S, C] = (0, I.useState)({}), [w, T] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [E, O] = (0, I.useState)(!1), [j, M] = (0, I.useState)({
at: t,
text: ""
@@ -35875,7 +35869,7 @@ function PN({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = wN(e, a, x);
+ i(t, 0), g.current = xN(e, a, x);
let s = A(e, p.current, m.current), h = (e = !1) => {
s.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -35892,13 +35886,13 @@ function PN({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : NN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : AN());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, I.useLayoutEffect)(() => {
- h.current && bN(h.current);
+ h.current && _N(h.current);
}, [b]);
let N = e[v], ee = N.asset ?? null, te = async (e) => {
if (!ee || !r || e.getAttribute("aria-busy") === "true") return;
@@ -35929,18 +35923,18 @@ function PN({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), NN();
+ e.preventDefault(), AN();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && NN();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && AN();
},
children: [
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: NN,
+ onClick: AN,
dangerouslySetInnerHTML: { __html: s("x") }
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36073,10 +36067,10 @@ function PN({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: EN(N)
+ children: CN(N)
}, v), /* @__PURE__ */ (0, L.jsx)("span", {
"data-photo-detail-meta": "",
- children: DN(N, S[v])
+ children: wN(N, S[v])
})]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -36115,33 +36109,33 @@ function PN({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function FN(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(IN, {
+function MN(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(NN, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(LN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(UN, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(PN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(BN, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function IN({ roster: e, props: t }) {
+function NN({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, I.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, L.jsx)(vN, {
+ return /* @__PURE__ */ (0, L.jsx)(hN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function LN(e) {
- let t = Vw(!e.items, e.skeletonHtml);
+function PN(e) {
+ let t = Bw(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(xT, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(yT, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -36161,16 +36155,16 @@ function LN(e) {
}) : null]
});
}
-var RN = (e) => Array.from({ length: e.n }, (t, n) => ({
+var FN = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), zN = (e) => e.sample === !0, BN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, VN = (e) => zN(e) ? `/sample-thumb?${BN(e)}` : `/photo-thumb?id=${e.id}`, HN = (e) => zN(e) ? {
- src: `/sample-image?${BN(e)}`,
- thumb: VN(e),
+})), IN = (e) => e.sample === !0, LN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, RN = (e) => IN(e) ? `/sample-thumb?${LN(e)}` : `/photo-thumb?id=${e.id}`, zN = (e) => IN(e) ? {
+ src: `/sample-image?${LN(e)}`,
+ thumb: RN(e),
name: e.name,
asset: null,
source: e.source,
@@ -36178,18 +36172,18 @@ var RN = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: VN(e),
+ thumb: RN(e),
name: e.name || "",
asset: e
};
-function UN({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(RN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
+function BN({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(FN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, I.useCallback)((e) => {
- MN(e, o.map(HN), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(GN, {
+ kN(e, o.map(zN), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(HN, {
item: e,
index: t,
lost: s.has(t),
@@ -36207,7 +36201,7 @@ function UN({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(WN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(VN, {
label: e.code,
title: e.name,
meta: [
@@ -36219,7 +36213,7 @@ function UN({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, L.jsx)(WN, {
+ m.length && e.total ? /* @__PURE__ */ (0, L.jsx)(VN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -36228,14 +36222,14 @@ function UN({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, L.jsx)(TT, {
+ e.hasMore ? /* @__PURE__ */ (0, L.jsx)(CT, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function WN({ label: e, title: t, meta: n }) {
+function VN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -36252,7 +36246,7 @@ function WN({ label: e, title: t, meta: n }) {
]
});
}
-function GN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function HN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -36261,7 +36255,7 @@ function GN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, L.jsx)("img", {
- src: VN(e),
+ src: RN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -36272,24 +36266,24 @@ function GN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function KN(e) {
- let t = CA("selection");
- return /* @__PURE__ */ (0, L.jsx)(bA, {
+function UN(e) {
+ let t = SA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(yA, {
...e,
ref: t
});
}
-function qN(e) {
- let t = CA("selection");
- return /* @__PURE__ */ (0, L.jsx)(Wk, {
+function WN(e) {
+ let t = SA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(Uk, {
...e,
ref: t
});
}
-var JN = "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", YN = "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-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", XN = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ZN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", QN = "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 GN = "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", KN = "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-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", qN = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", JN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", YN = "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 $N(e, t) {
+function XN(e, t) {
if (!t.contains(e)) return null;
let n = 0, r = 0;
for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
@@ -36305,11 +36299,11 @@ function $N(e, t) {
h: e.offsetHeight
};
}
-function eP(e, t, n, r) {
+function ZN(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;
- let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? $N(l, c) : null;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? XN(l, c) : null;
if (!u || !u.w) {
o.hidden = !0;
return;
@@ -36347,19 +36341,19 @@ function eP(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var tP = (e) => e === "videos", nP = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var QN = (e) => e === "videos", $N = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function rP(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = tP(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), _ = eP(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = eP(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function eP(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = QN(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), _ = ZN(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = ZN(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)(aP, {
+ }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(nP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, L.jsx)(EM, {
+ }), /* @__PURE__ */ (0, L.jsx)(CM, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -36379,13 +36373,13 @@ function rP(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(iP, {
+ top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tP, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, L.jsx)(nP, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, L.jsx)($N, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36405,11 +36399,11 @@ function rP(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(nP, {})]
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)($N, {})]
}), /* @__PURE__ */ (0, L.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(OM, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(TM, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -36421,10 +36415,10 @@ function rP(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, L.jsx)(oP, { ...e })
+ bottom: /* @__PURE__ */ (0, L.jsx)(rP, { ...e })
})] });
}
-function iP({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function tP({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -36466,7 +36460,7 @@ function iP({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function aP({ items: e, hidden: t, actions: n }) {
+function nP({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -36486,7 +36480,7 @@ function aP({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function oP(e) {
+function rP(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: c } = e;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, L.jsxs)("button", {
@@ -36498,22 +36492,22 @@ function oP(e) {
dangerouslySetInnerHTML: { __html: s("chevron-left") }
}), /* @__PURE__ */ (0, L.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(sP, {
+ /* @__PURE__ */ (0, L.jsx)(iP, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(uP, {
+ t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(sP, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(dP, {
+ t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(cP, {
head: a,
actions: o,
helpers: c
}) : null
] });
}
-function sP({ text: e, busy: t }) {
+function iP({ text: e, busy: t }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36523,21 +36517,21 @@ function sP({ text: e, busy: t }) {
}) : e
});
}
-function cP({ label: e, value: t, options: n, onChange: r }) {
- return /* @__PURE__ */ (0, L.jsx)(Wk, {
+function aP({ label: e, value: t, options: n, onChange: r }) {
+ return /* @__PURE__ */ (0, L.jsx)(Uk, {
"aria-label": e,
orientation: "horizontal",
value: t,
onChange: r,
"data-entity-layout": "",
- className: ZN,
+ className: JN,
children: n.map(([e, t, n]) => {
- let r = lT(n);
- return /* @__PURE__ */ (0, L.jsx)(Gk, {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Wk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: QN,
+ className: YN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -36547,7 +36541,7 @@ function cP({ label: e, value: t, options: n, onChange: r }) {
})
});
}
-function lP({ onPress: e, busy: t = !1 }) {
+function oP({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -36561,19 +36555,19 @@ function lP({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? k("正在换一批") : s("shuffle") }
});
}
-function uP({ head: e, actions: t }) {
+function sP({ head: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(lP, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, L.jsx)(cP, {
+ /* @__PURE__ */ (0, L.jsx)(oP, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, L.jsx)(aP, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
e.sorts.map((e) => {
- let n = lT(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = sT(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -36587,20 +36581,20 @@ function uP({ head: e, actions: t }) {
]
});
}
-function dP({ head: e, actions: t, helpers: n }) {
+function cP({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!1), a = (0, I.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, I.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, L.jsx)(lP, {
+ e.shuffle ? /* @__PURE__ */ (0, L.jsx)(oP, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(cP, {
+ /* @__PURE__ */ (0, L.jsx)(aP, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -36614,7 +36608,7 @@ function dP({ head: e, actions: t, helpers: n }) {
]
});
}
-function fP(e) {
+function lP(e) {
return {
x0: 0,
y0: 0,
@@ -36622,7 +36616,7 @@ function fP(e) {
y1: e.height
};
}
-function pP(e) {
+function uP(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -36630,40 +36624,40 @@ function pP(e) {
y1: Math.round(e.y1)
};
}
-function mP(e) {
+function dP(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function hP(e, t) {
- if (!mP(e)) return {
+function fP(e, t) {
+ if (!dP(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return fP(e);
+ if (t == null || !(t > 0)) return lP(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 pP({
+ return uP({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function gP(e, t) {
- if (!mP(e) || !(t > 0)) return fP(e);
+function pP(e, t) {
+ if (!dP(e) || !(t > 0)) return lP(e);
let n = Math.min(e.width, e.height * t);
- return pP({
+ return uP({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function _P(e, t, n) {
- if (!mP(t) || !(n > 0)) return fP(t);
- let r = vP(e, t), i = hP({
+function mP(e, t, n) {
+ if (!dP(t) || !(n > 0)) return lP(t);
+ let r = hP(e, t), i = fP({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -36674,8 +36668,8 @@ function _P(e, t, n) {
y1: r.y0 + i.y1
};
}
-function vP(e, t, n = null, r = "width") {
- if (!mP(t)) return {
+function hP(e, t, n = null, r = "width") {
+ if (!dP(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -36684,43 +36678,43 @@ function vP(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 pP({
+ return uP({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function yP(e, t, n, r) {
+function gP(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 pP({
+ return uP({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function bP(e, t, n, r = null) {
- if (!mP(n) || !(t > 0)) return e;
+function _P(e, t, n, r = null) {
+ if (!dP(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 vP({
+ return hP({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function xP(e, t, n, r, i = null) {
+function vP(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 vP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return hP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function SP(e, t) {
- return mP(t) ? {
+function yP(e, t) {
+ return dP(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -36732,8 +36726,8 @@ function SP(e, t) {
height: 0
};
}
-function CP(e, t) {
- if (!mP(t)) return {
+function bP(e, t) {
+ if (!dP(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -36743,7 +36737,7 @@ function CP(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function wP(e, t) {
+function xP(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}%`,
@@ -36752,29 +36746,29 @@ function wP(e, t) {
height: `${t.height / r * 100}%`
};
}
-function TP(e, t, n) {
+function SP(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var EP = {
+var CP = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function DP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function wP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = eh();
- return /* @__PURE__ */ (0, L.jsx)(Vk, {
+ return /* @__PURE__ */ (0, L.jsx)(Bk, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(sae, {
+ children: /* @__PURE__ */ (0, L.jsx)(cae, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${EP[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, L.jsx)(Lk, {
+ className: `flex max-h-full w-full ${CP[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(Ik, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -36782,7 +36776,7 @@ function DP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function OP({ children: e }) {
+function TP({ 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",
@@ -36791,8 +36785,8 @@ function OP({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var kP = .02, AP = 1.08;
-function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var EP = .02, DP = 1.08;
+function OP({ 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);
@@ -36803,8 +36797,8 @@ function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: TP(e, n.clientWidth, r.width),
- dy: TP(t, n.clientHeight, r.height)
+ dx: SP(e, n.clientWidth, r.width),
+ dy: SP(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -36822,29 +36816,29 @@ function jP({ 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(yP(n.box, o.dx, o.dy, r));
+ i(gP(n.box, o.dx, o.dy, r));
return;
}
- i(xP(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(vP(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) * kP), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * EP), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(yP(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(gP(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(bP(n, e.key === "-" ? 1 / AP : AP, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(_P(n, e.key === "-" ? 1 / DP : DP, r, t)));
}
- let g = n && r ? SP(vP(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? yP(hP(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -36863,7 +36857,7 @@ function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- mP({
+ dP({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -36902,7 +36896,7 @@ function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(bP(n, e.deltaY > 0 ? AP : 1 / AP, r, t));
+ !n || !r || i(_P(n, e.deltaY > 0 ? DP : 1 / DP, 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", {
@@ -36924,61 +36918,61 @@ function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var MP = "/api/avatar-choices", NP = "/api/avatar-pick", PP = "/api/avatar-code-cover", FP = "/avatar-choice", IP = (e, t) => [
+var kP = "/api/avatar-choices", AP = "/api/avatar-pick", jP = "/api/avatar-code-cover", MP = "/avatar-choice", NP = (e, t) => [
"avatar-choices",
e,
t
-], LP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, RP = (e, t, n) => `${FP}${LP(e, t)}&ref=${encodeURIComponent(n)}`, zP = (e, t, n) => hw(MP + LP(e, t), n), BP = (e) => q(PP, { code: e });
-function VP(e, t, n) {
+], PP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, FP = (e, t, n) => `${MP}${PP(e, t)}&ref=${encodeURIComponent(n)}`, IP = (e, t, n) => mw(kP + PP(e, t), n), LP = (e) => q(jP, { code: e });
+function RP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? _P(e.focus, t, n) : hP(t, n);
+ return e.focus && r ? mP(e.focus, t, n) : fP(t, n);
}
-var HP = (e) => e.crop && mP({
+var zP = (e) => e.crop && dP({
width: e.width,
height: e.height
});
-async function _oe(e, t, n) {
+async function BP(e, t, n) {
if (!("file" in n)) {
- await q(NP, {
+ await q(AP, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${NP}${LP(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${AP}${PP(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 pw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new fw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function voe(e, t) {
+function VP(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var yoe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function boe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${yoe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var HP = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function xoe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${HP(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var UP = (e) => e.cast > 1, xoe = (e) => UP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Soe = {
+var UP = (e) => e.cast > 1, Soe = (e) => UP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Coe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Coe(e) {
+function woe(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var woe = (e) => `${Soe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (UP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Toe = 8, Eoe = 3 / 4;
-function Doe({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Toe = (e) => `${Coe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (UP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Eoe = 8, Doe = 3 / 4;
+function Ooe({ 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", {
className: "absolute right-1 bottom-1 z-10",
@@ -36988,17 +36982,17 @@ function Doe({ 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)(US, {
+ children: /* @__PURE__ */ (0, L.jsx)(HS, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, L.jsx)(DP, {
+ }), /* @__PURE__ */ (0, L.jsx)(wP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, L.jsx)(Ooe, {
+ children: /* @__PURE__ */ (0, L.jsx)(koe, {
kind: e,
entityId: t,
name: n,
@@ -37007,50 +37001,50 @@ function Doe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = RA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = IP(e, t), g = (0, I.useRef)(!1), _ = Ft({
+function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, I.useRef)(null), o = PA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = NP(e, t), g = (0, I.useRef)(!1), _ = Ft({
queryKey: h,
- queryFn: ({ signal: n }) => zP(e, t, n),
+ queryFn: ({ signal: n }) => IP(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: IP(e, t) });
+ g.current && X.removeQueries({ queryKey: NP(e, t) });
}, [e, t]);
let v = It({
- mutationFn: (n) => _oe(e, t, n),
+ mutationFn: (n) => BP(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = It({
- mutationFn: (e) => BP(e),
+ mutationFn: (e) => LP(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : boe(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : xoe(x);
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)(OP, { children: /* @__PURE__ */ (0, L.jsx)(vC, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(TP, { children: /* @__PURE__ */ (0, L.jsx)(_C, { 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)(sO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(oO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(uw, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(lw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? xoe(p) : voe(n, x)
+ children: p ? Soe(p) : VP(n, x)
}),
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
@@ -37062,14 +37056,14 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: QS,
+ /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: ZS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, L.jsx)(Aoe, {
+ }), p ? /* @__PURE__ */ (0, L.jsx)(joe, {
kind: e,
entityId: t,
choice: p,
@@ -37092,7 +37086,7 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: Toe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Eoe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -37105,15 +37099,15 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: woe(n),
+ title: Toe(n),
...Y(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
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)(koe, {
- src: RP(e, t, n.ref),
+ /* @__PURE__ */ (0, L.jsx)(Aoe, {
+ src: FP(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -37122,7 +37116,7 @@ function Ooe({ 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)(uw, {
+ children: /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "gray",
children: "在用"
@@ -37130,7 +37124,7 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null,
UP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)(uw, {
+ children: /* @__PURE__ */ (0, L.jsxs)(lw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -37149,7 +37143,7 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)($j, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -37184,7 +37178,7 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)($j, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -37204,7 +37198,7 @@ function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function koe({ src: e, choice: t }) {
+function Aoe({ src: e, choice: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -37212,7 +37206,7 @@ function koe({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = HP(t) ? wP(VP(t, a, Eoe), a) : null, s = r ? !0 : void 0;
+ }, o = zP(t) ? xP(RP(t, a, Doe), 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", {
@@ -37237,23 +37231,23 @@ function koe({ src: e, choice: t }) {
})]
});
}
-function Aoe({ 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 = RP(e, t, s), m = RA();
+function joe({ 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 = FP(e, t, s), m = PA();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? CP(d, l) : null;
+ let g = d && l ? bP(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)(jP, {
+ children: [/* @__PURE__ */ (0, L.jsx)(OP, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), mP(e) && f(s === n.ref ? VP(n, e, 1) : hP(e, 1));
+ u(e), dP(e) && f(s === n.ref ? RP(n, e, 1) : fP(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -37267,7 +37261,7 @@ function Aoe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => h(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: Coe(e)
+ children: woe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -37301,12 +37295,12 @@ function Aoe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var joe = {
+var Moe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
function WP({ name: e }) {
- let t = joe[e];
+ let t = Moe[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -37396,7 +37390,7 @@ function JP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Moe({ following: e, busy: t, onToggle: n, tip: r }) {
+function Noe({ 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 = () => {
KP(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
@@ -37449,29 +37443,29 @@ function Moe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Noe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Poe({ 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)($ie, {
+ }, []), /* @__PURE__ */ (0, L.jsxs)(eae, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, L.jsx)(aO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(iO, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
children: /* @__PURE__ */ (0, L.jsx)(WP, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: DA,
+ className: EA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(tae, {
+ children: /* @__PURE__ */ (0, L.jsxs)(nae, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(Nk, {
+ /* @__PURE__ */ (0, L.jsx)(Mk, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -37479,15 +37473,15 @@ function Noe({ 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)(Fk, {
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(Pk, {
id: e,
textValue: e,
"data-namepick-name": e,
children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(Fie, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, L.jsx)(Nk, { children: /* @__PURE__ */ (0, L.jsxs)(Fk, {
+ /* @__PURE__ */ (0, L.jsx)(Iie, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(Mk, { children: /* @__PURE__ */ (0, L.jsxs)(Pk, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
@@ -37499,8 +37493,8 @@ function Noe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
})]
});
}
-var Poe = (e) => e === "studio" || e === "agency", Foe = (e) => e === "performer" || e === "creator", Ioe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function Loe(e) {
+var Foe = (e) => e === "studio" || e === "agency", Ioe = (e) => e === "performer" || e === "creator", Loe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Roe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
function YP(e) {
@@ -37519,7 +37513,7 @@ function XP(e, t) {
return r && [e.label, n].map(o).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
var ZP = (e) => ({ site: c(e) });
-function Roe(e, n) {
+function zoe(e, n) {
let r = YP(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
@@ -37564,7 +37558,7 @@ function Roe(e, n) {
return [...i, ...o];
}
var QP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function zoe(e) {
+function Boe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -37621,14 +37615,14 @@ function zoe(e) {
tags: e.tags
}), t;
}
-function Boe(e) {
+function Voe(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function Voe(e) {
+function Hoe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -37639,8 +37633,8 @@ function Voe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = Foe(e), l = Poe(e), u = e === "performer" ? zoe(n.profile) : [], d = Roe(n, e), f = QP(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+function Uoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
+ let c = Ioe(e), l = Foe(e), u = e === "performer" ? Boe(n.profile) : [], d = zoe(n, e), f = QP(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)(() => {
@@ -37653,7 +37647,7 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Uoe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Woe, {
kind: e,
name: t,
helpers: s,
@@ -37661,7 +37655,7 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, L.jsx)(Doe, {
+ children: /* @__PURE__ */ (0, L.jsx)(Ooe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -37674,14 +37668,14 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Noe, {
+ children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Poe, {
current: n.canonical_name,
- choices: Loe(n),
+ choices: Roe(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Woe, {
+ /* @__PURE__ */ (0, L.jsx)(Goe, {
kind: e,
entity: n,
actions: o
@@ -37689,9 +37683,9 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Joe, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Yoe, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Yoe, {
+ f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Xoe, {
entity: n,
actions: o,
helpers: s
@@ -37700,11 +37694,11 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, L.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Koe, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(qoe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, L.jsx)(qoe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, L.jsx)(Joe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -37731,14 +37725,14 @@ function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Xoe, {
+ }), a ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Zoe, {
feedNew: i,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function Uoe({ kind: e, name: t, helpers: n, people: i, company: a }) {
+function Woe({ kind: e, name: t, helpers: n, people: i, company: a }) {
let [o] = (0, I.useState)(() => `${n.portraitImg()}<span>${r(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-portrait": i ? "round" : "square",
@@ -37747,7 +37741,7 @@ function Uoe({ kind: e, name: t, helpers: n, people: i, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function Woe({ kind: e, entity: t, actions: r }) {
+function Goe({ kind: e, entity: t, actions: r }) {
let i = YP(t), a = (e, t) => (n) => {
n.preventDefault(), r.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, L.jsx)("a", {
@@ -37757,7 +37751,7 @@ function Woe({ kind: e, entity: t, actions: r }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = Voe(t.name_groups);
+ let e = Hoe(t.name_groups);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-alias": "meta",
children: [
@@ -37786,7 +37780,7 @@ function Woe({ kind: e, entity: t, actions: r }) {
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(Goe, {
+ children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(Koe, {
label: e.label,
names: e.names
}, t)) })
@@ -37821,21 +37815,21 @@ function Woe({ kind: e, entity: t, actions: r }) {
]
});
}
-function Goe({ label: e, names: t }) {
+function Koe({ label: e, names: t }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [e ? /* @__PURE__ */ (0, L.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, L.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, L.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function Koe({ glyph: e, label: t, clip: n, children: r }) {
+function qoe({ 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)(WP, { 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
})] });
}
-function qoe({ tags: e }) {
- let { shown: t, rest: n } = Boe(e);
+function Joe({ tags: e }) {
+ let { shown: t, rest: n } = Voe(e);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-fact-tag": "",
children: e
@@ -37865,7 +37859,7 @@ function $P({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Joe({ link: e }) {
+function Yoe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, L.jsx)("a", {
"data-link": "icon",
@@ -37904,7 +37898,7 @@ function Joe({ link: e }) {
});
}
}
-function Yoe({ entity: e, actions: t, helpers: n }) {
+function Xoe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!!e.feed?.following), [a, o] = (0, I.useState)(!1), s = (0, I.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -37936,17 +37930,17 @@ function Yoe({ entity: e, actions: t, helpers: n }) {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Moe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Noe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Ioe(r)
+ tip: Loe(r)
}) : null]
});
}
-function Xoe({ feedNew: e, host: t, actions: n, helpers: r }) {
+function Zoe({ feedNew: e, host: t, actions: n, helpers: r }) {
let i = (0, I.useRef)(null), a = e?.items.length ? e.html : "";
(0, I.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !a;
@@ -37978,7 +37972,7 @@ var eF = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Zoe = "checked", tF = {
+], Qoe = "checked", tF = {
checked: "desc",
added: "desc",
name: "asc",
@@ -37986,9 +37980,9 @@ var eF = [
source: "asc",
provider: "asc",
status: "asc"
-}, Qoe = (e) => eF.some(([t]) => t === e);
+}, $oe = (e) => eF.some(([t]) => t === e);
function nF(e, t) {
- let n = Qoe(e) ? e : Zoe;
+ let n = $oe(e) ? e : Qoe;
return {
sort: n,
dir: t === "asc" || t === "desc" ? t : tF[n]
@@ -37996,7 +37990,7 @@ function nF(e, t) {
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var rF = "/api/follow", iF = "/api/follow/credentials", aF = "/api/follow/check", oF = "/api/follow/source", sF = "/api/follow/resolve", $oe = "/api/follow/suggest", cF = "/api/follow/author-alias", ese = "/api/follow/credential", lF = "/api/follow/status", tse = "/api/feeds", uF = "/api/feeds/source", nse = "/api/feeds/check", rse = "/api/feeds/lookup", dF = ["follow-manage"], fF = ["follow-manage", "credentials"], ise = ["follow-manage", "check"], ase = ["follow-manage", "resolve"], pF = ["follow-manage", "feeds"], ose = (e) => [
+var rF = "/api/follow", iF = "/api/follow/credentials", aF = "/api/follow/check", oF = "/api/follow/source", sF = "/api/follow/resolve", ese = "/api/follow/suggest", cF = "/api/follow/author-alias", tse = "/api/follow/credential", lF = "/api/follow/status", nse = "/api/feeds", uF = "/api/feeds/source", rse = "/api/feeds/check", ise = "/api/feeds/lookup", dF = ["follow-manage"], fF = ["follow-manage", "credentials"], ase = ["follow-manage", "check"], ose = ["follow-manage", "resolve"], pF = ["follow-manage", "feeds"], sse = (e) => [
"follow-manage",
"suggest",
e
@@ -38005,13 +37999,13 @@ var rF = "/api/follow", iF = "/api/follow/credentials", aF = "/api/follow/check"
20,
50,
100
-], sse = Object.fromEntries(eF), gF = {
+], cse = Object.fromEntries(eF), gF = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, cse = (e) => mF.some(([t]) => t === e), lse = (e) => hF.includes(Number(e)) ? Number(e) : 20, use = {
+}, lse = (e) => mF.some(([t]) => t === e), use = (e) => hF.includes(Number(e)) ? Number(e) : 20, dse = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -38019,12 +38013,12 @@ var rF = "/api/follow", iF = "/api/follow/credentials", aF = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, dse = (e, t) => `按${sse[e]}${use[e][t === "asc" ? 0 : 1]}排序`;
+}, fse = (e, t) => `按${cse[e]}${dse[e][t === "asc" ? 0 : 1]}排序`;
function _F(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function fse(e) {
+function pse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
var vF = (e) => e.last_status === "error" || e.last_status === "unauthorized", yF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), bF = {
@@ -38045,11 +38039,11 @@ function CF(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function pse(e) {
+function mse(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function mse(e) {
+function hse(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
@@ -38064,7 +38058,7 @@ function wF(e) {
}
return t.map((e) => n.get(e));
}
-function hse(e, t, n, r = []) {
+function gse(e, t, n, r = []) {
let i = wF(e), a = n === tF[t] ? 1 : -1, o = (e) => CF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = bF[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
@@ -38073,7 +38067,7 @@ function hse(e, t, n, r = []) {
let l = (e) => Math.max(...e.map((e) => xF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => xF(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 gse(e, t, n, r = []) {
+function _se(e, t, n, r = []) {
let i = e.flatMap((e) => {
let t = CF(e, r);
return e.map((n) => ({
@@ -38088,8 +38082,8 @@ function gse(e, t, n, r = []) {
}
return i;
}
-function _se(e, t, n) {
- let r = EE(e, t), i = DE(n, r), a = (i - 1) * t;
+function TF(e, t, n) {
+ let r = wE(e, t), i = TE(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -38102,29 +38096,29 @@ function vse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function TF(e, t) {
+function EF(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 EF(e, t, n) {
+function DF(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var DF = (e) => hw(`${rF}?summary=1`, e), OF = (e) => hw(iF, e), yse = (e) => hw(aF, e), bse = (e) => hw(sF, e), xse = (e, t) => hw(`${$oe}?q=${encodeURIComponent(e)}`, t), kF = (e) => q(aF, {
+var OF = (e) => mw(`${rF}?summary=1`, e), kF = (e) => mw(iF, e), yse = (e) => mw(aF, e), bse = (e) => mw(sF, e), xse = (e, t) => mw(`${ese}?q=${encodeURIComponent(e)}`, t), AF = (e) => q(aF, {
...e?.length ? { sources: e } : {},
background: !0
}), Sse = (e) => q(sF, {
lines: e,
background: !0
-}), AF = (e, t) => q(oF, {
+}), jF = (e, t) => q(oF, {
action: "enabled",
id: e,
enabled: t
-}), jF = (e) => q(oF, {
+}), MF = (e) => q(oF, {
action: "remove",
id: e
}), Cse = (e) => q(oF, {
@@ -38134,33 +38128,33 @@ var DF = (e) => hw(`${rF}?summary=1`, e), OF = (e) => hw(iF, e), yse = (e) => hw
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), MF = (e, t) => q(cF, {
+}), NF = (e, t) => q(cF, {
action: "add",
canonical: e,
alias: t
}), wse = (e) => q(cF, {
action: "remove",
alias: e
-}), Tse = (e, t) => q(ese, {
+}), Tse = (e, t) => q(tse, {
provider: e,
values: t
}), Ese = (e, t) => q(lF, {
item: e,
to: t
-}), Dse = () => hw(`${rF}?status=new&limit=1000`);
-async function NF(e) {
- let t = await hw(tse, e);
+}), Dse = () => mw(`${rF}?status=new&limit=1000`);
+async function PF(e) {
+ let t = await mw(nse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var PF = (e, t, n) => q(uF, {
+var FF = (e, t, n) => q(uF, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), FF = (e, t) => q(uF, {
+}, "POST", n), IF = (e, t) => q(uF, {
action: "remove",
id: e
-}, "POST", t), IF = (e, t) => q(nse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => hw(`${rse}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(uF, {
+}, "POST", t), LF = (e, t) => q(rse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => mw(`${ise}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(uF, {
action: "follow-name",
name: e,
ids: t
@@ -38169,19 +38163,19 @@ async function Ase(e, t = "") {
await Promise.all([
X.fetchQuery({
queryKey: dF,
- queryFn: () => DF(e)
+ queryFn: () => OF(e)
}),
X.fetchQuery({
queryKey: fF,
- queryFn: () => OF(e)
+ queryFn: () => kF(e)
}),
t === "feeds" ? X.fetchQuery({
queryKey: pF,
- queryFn: () => NF(e)
+ queryFn: () => PF(e)
}) : null
]);
}
-function LF(e, t) {
+function RF(e, t) {
X.setQueryData(dF, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
@@ -38190,14 +38184,14 @@ function LF(e, t) {
} : n)
});
}
-function RF(e) {
+function zF(e) {
let t = new Set(e);
X.setQueryData(dF, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var zF = () => X.invalidateQueries({
+var BF = () => X.invalidateQueries({
queryKey: dF,
exact: !0
});
@@ -38207,7 +38201,7 @@ function jse(e) {
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", BF = (e) => e.last_checked_at ? kE(e.last_checked_at) : "未检查", Pse = /* @__PURE__ */ new Set([
+var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", VF = (e) => e.last_checked_at ? DE(e.last_checked_at) : "未检查", Pse = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -38225,7 +38219,7 @@ var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.resul
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, VF = (e) => !!e.present && !e.missing.length, Lse = [
+}, HF = (e) => !!e.present && !e.missing.length, Lse = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
@@ -38234,36 +38228,36 @@ var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.resul
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], HF = {
+], UF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function UF(e, t) {
+function WF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function WF(e, t) {
+function GF(e, t) {
return {
queryKey: [
"follow-feed",
- UF(e, 0),
+ WF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => hw(UF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => mw(WF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: Pe
};
}
-var GF = ["follow-feed", "credentials"], KF = (e) => hw(iF, e).catch(() => ({ providers: [] }));
+var KF = ["follow-feed", "credentials"], qF = (e) => mw(iF, e).catch(() => ({ providers: [] }));
async function zse(e, t) {
- let n = WF(e.view, e.revision);
+ let n = GF(e.view, e.revision);
X.removeQueries({
queryKey: n.queryKey,
exact: !0
}), X.removeQueries({
- queryKey: GF,
+ queryKey: KF,
exact: !0
}), await Promise.all([X.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -38274,11 +38268,11 @@ async function zse(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), X.fetchQuery({
- queryKey: GF,
- queryFn: () => KF(t)
+ queryKey: KF,
+ queryFn: () => qF(t)
})]);
}
-function qF(e) {
+function JF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -38287,10 +38281,10 @@ function qF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function JF(e, t, n) {
+function YF(e, t, n) {
return [...e].sort((e, r) => f(n, t(e)) - f(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function YF(e) {
+function XF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -38303,7 +38297,7 @@ function Bse(e) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let n = t.pages[t.pages.length - 1];
for (let r of t.pages) for (let t of r.groups || []) {
- let r = YF(t).find((t) => t.id === e);
+ let r = XF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38324,7 +38318,7 @@ function Vse(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return YF(t).some((t) => t.id === e.id) ? {
+ return XF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -38338,35 +38332,35 @@ function Hse(e, t) {
X.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && rI(n, null, e, t));
-}
-function XF(e) {
- return YF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+ }, (n) => n && iI(n, null, e, t));
}
function ZF(e) {
+ return XF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+}
+function QF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function QF(e) {
+function $F(e) {
let t = /* @__PURE__ */ new Set();
- return YF(e).forEach((e) => ZF(e).forEach((e) => t.add(e))), t;
+ return XF(e).forEach((e) => QF(e).forEach((e) => t.add(e))), t;
}
-function $F(e, t) {
+function eI(e, t) {
let n = t === "images" ? "image" : "video";
- return XF(e).find((e) => ZF(e).has(n)) || e.primary;
+ return ZF(e).find((e) => QF(e).has(n)) || e.primary;
}
-function eI(e) {
- return XF(e).filter((e) => e.playable && e.media_kind === "video");
+function tI(e) {
+ return ZF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var tI = {
+var nI = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
function Use({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${tI[s] || tI.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${nI[s] || nI.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -38381,8 +38375,8 @@ function Wse(e) {
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function nI(e, t, n) {
- return e === t ? HF[e] ? {
+function rI(e, t, n) {
+ return e === t ? UF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -38391,12 +38385,12 @@ function nI(e, t, n) {
};
}
function Gse(e, t, n, r) {
- let i = nI(e, n, r);
+ let i = rI(e, n, r);
if (!i) return "";
- let a = HF[i.sort];
+ let a = UF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function rI(e, t, n, r) {
+function iI(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -38470,11 +38464,11 @@ function Jse(e, t) {
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var iI = (e) => ["follow-item", e], Yse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Xse = "/api/follow/save", Zse = "/api/follow/media/hide";
-async function aI(e, t) {
- let n = await hw(Yse(e), t);
+var aI = (e) => ["follow-item", e], Yse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Xse = "/api/follow/save", Zse = "/api/follow/media/hide";
+async function oI(e, t) {
+ let n = await mw(Yse(e), t);
for (let t of n.groups || []) {
- let r = YF(t).find((t) => t.id === e);
+ let r = XF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38485,20 +38479,20 @@ async function aI(e, t) {
throw Error("这条关注内容已不存在");
}
async function Qse(e, t) {
- let n = iI(e.id), r = Bse(e.id), i = X.getQueryData(GF) ? null : X.fetchQuery({
- queryKey: GF,
- queryFn: () => KF(t)
+ let n = aI(e.id), r = Bse(e.id), i = X.getQueryData(KF) ? null : X.fetchQuery({
+ queryKey: KF,
+ queryFn: () => qF(t)
});
r ? X.setQueryData(n, {
...r,
item: r.item
}) : await X.fetchQuery({
queryKey: n,
- queryFn: () => aI(e.id, t)
+ queryFn: () => oI(e.id, t)
}), await i;
}
function $se(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && eI(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && tI(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -38512,7 +38506,7 @@ function $se(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var ece = (e) => YF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), tce = {
+var ece = (e) => XF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), tce = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
@@ -38534,7 +38528,7 @@ function rce(e) {
return "外部文件页";
}
}
-function oI(e, t) {
+function sI(e, t) {
return nce[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
function ice(e, t, n = "") {
@@ -38546,7 +38540,7 @@ function ice(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var ace = (e) => String(e.name || "").trim(), sI = (e, t) => e.tag_types?.[t] || "unknown", oce = /* @__PURE__ */ new Set([
+var ace = (e) => String(e.name || "").trim(), cI = (e, t) => e.tag_types?.[t] || "unknown", oce = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
@@ -38554,10 +38548,10 @@ var ace = (e) => String(e.name || "").trim(), sI = (e, t) => e.tag_types?.[t] ||
"unknown"
]);
function sce(e, t) {
- let n = sI(e, t);
+ let n = cI(e, t);
return `r34-${oce.has(n) ? n : "general"}`;
}
-var cI = [
+var lI = [
"copyright",
"character",
"artist",
@@ -38566,8 +38560,8 @@ var cI = [
];
function cce(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = cI.indexOf(sI(e, t));
- return n < 0 ? cI.length : n;
+ let n = lI.indexOf(cI(e, t));
+ return n < 0 ? lI.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
@@ -38579,23 +38573,23 @@ var uce = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), lI = (e) => e?.size ? { size: e.size } : {};
+}), uI = (e) => e?.size ? { size: e.size } : {};
function dce(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: oI(t, e),
- ...lI(t),
+ source: sI(t, e),
+ ...uI(t),
position: r + 1,
total: n.length
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: oI(a, e),
- ...lI(a),
+ source: sI(a, e),
+ ...uI(a),
position: 1,
total: 1
}] : e.thumb_url ? [{
@@ -38610,7 +38604,7 @@ function dce(e, t) {
var fce = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
-function uI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
+function dI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("aside", {
className: "mixqueue",
"data-queue-kind": e,
@@ -38638,7 +38632,7 @@ function uI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function dI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function fI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, L.jsx)("span", {
className: "mixitemtext",
children: a
@@ -38668,17 +38662,17 @@ var pce = ({ label: e, count: t }) => /* @__PURE__ */ (0, L.jsxs)("h3", {
" ",
/* @__PURE__ */ (0, L.jsx)("span", { children: t })
]
-}), fI = (e) => Number(e) > 0, mce = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), pI = (e) => Number(e) > 0, mce = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), pI = s("external-link", "externalmark");
+}), mI = s("external-link", "externalmark");
function hce(e) {
let { id: t, actions: n } = e, r = Ft({
- queryKey: iI(t),
- queryFn: ({ signal: e }) => aI(t, e)
+ queryKey: aI(t),
+ queryFn: ({ signal: e }) => oI(t, e)
}), i = Ft({
- queryKey: GF,
- queryFn: ({ signal: e }) => KF(e)
+ queryKey: KF,
+ queryFn: ({ signal: e }) => qF(e)
}), a = (0, I.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, I.useState)(e.mediaIndex);
return r.data ? /* @__PURE__ */ (0, L.jsx)(gce, {
...e,
@@ -38692,9 +38686,9 @@ function hce(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(mI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(hI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Vw, {
message: d(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -38702,7 +38696,7 @@ function hce(e) {
})
});
}
-var mI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var hI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -38732,13 +38726,13 @@ function gce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? ece(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(vI, {
+ let h = !l.embedded.length && l.collection ? ece(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(yI, {
item: s,
current: l.selected.index,
helpers: a,
actions: o,
onMedia: r
- }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(vI, {
+ }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(yI, {
item: h,
current: null,
helpers: a,
@@ -38808,7 +38802,7 @@ function _ce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"--follow-image-arrow-inset": h === null ? void 0 : `${h}px`
},
children: [
- /* @__PURE__ */ (0, L.jsx)(mI, { onClose: r.close }),
+ /* @__PURE__ */ (0, L.jsx)(hI, { onClose: r.close }),
y ? /* @__PURE__ */ (0, L.jsx)("video", {
ref: w,
className: "video-js vjs-big-play-centered",
@@ -38823,7 +38817,7 @@ function _ce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void MN(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void kN(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -38874,11 +38868,11 @@ function _ce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
]
});
}
-var hI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var gI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: s(e === "image" ? "image-off" : "play") }
});
-function gI({ src: e }) {
+function _I({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
@@ -38888,14 +38882,14 @@ function gI({ src: e }) {
onError: () => n(!0)
});
}
-function _I(e) {
+function vI(e) {
return (0, I.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
function vce({ group: e, itemId: t, helpers: n, actions: r }) {
- let a = eI(e), o = _I(n);
- return /* @__PURE__ */ (0, L.jsx)(uI, {
+ let a = tI(e), o = vI(n);
+ return /* @__PURE__ */ (0, L.jsx)(dI, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -38904,11 +38898,11 @@ function vce({ group: e, itemId: t, helpers: n, actions: r }) {
summary: `${e.primary.title || "未命名合集"} · ${a.length} 个视频`,
children: a.map((a) => {
let o = e.duplicates.includes(a), s = ice(e, a, o ? a.provider_label : ""), c = o ? n.sourceIcon(a.provider, a.provider_label) : "";
- return /* @__PURE__ */ (0, L.jsxs)(dI, {
+ return /* @__PURE__ */ (0, L.jsxs)(fI, {
current: a.id === t,
"data-follow-queue-item": a.id,
onClick: () => r.openItem(a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: "video" }), fI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(_I, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(gI, { kind: "video" }), pI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
}) : null] }),
@@ -38932,8 +38926,8 @@ function vce({ group: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function vI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = _I(r), c = [];
+function yI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = vI(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -38943,7 +38937,7 @@ function vI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, L.jsx)(uI, {
+ return /* @__PURE__ */ (0, L.jsx)(dI, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
@@ -38953,13 +38947,13 @@ function vI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
children: c.map((n) => [n.label ? /* @__PURE__ */ (0, L.jsx)(pce, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(dI, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(fI, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, L.jsx)(_I, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(gI, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, L.jsx)("b", {
"data-middle-truncate": "",
children: ace(n)
@@ -39001,7 +38995,7 @@ function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: pI }
+ dangerouslySetInnerHTML: { __html: mI }
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39021,7 +39015,7 @@ function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"data-reveal-line": "",
children: [
/* @__PURE__ */ (0, L.jsx)("span", { children: u.when(e) }),
- fI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
+ pI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
g ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: g }
@@ -39057,7 +39051,7 @@ function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
rel: "noreferrer noopener",
children: [rce(e), /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: pI }
+ dangerouslySetInnerHTML: { __html: mI }
})]
}, e))
}) : null,
@@ -39145,7 +39139,7 @@ function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => c.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mce, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(_I, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mce, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -39171,7 +39165,7 @@ function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
});
}
function bce(e, t, n) {
- let r = e.id, i = iI(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
+ let r = e.id, i = aI(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -39283,7 +39277,7 @@ function wce({ src: e, width: t, height: n, onLearn: r }) {
});
}
function Tce(e) {
- let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = $F(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? eI(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Use({
+ let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = eI(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? tI(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Use({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -39291,7 +39285,7 @@ function Tce(e) {
limit: 9
}), T = (0, I.useRef)(w.faces);
T.current = w.faces;
- let E = mT({
+ let E = fT({
load: async () => T.current,
canFlip: () => T.current.length > 1 && p.canFlip(),
referrerPolicy: "no-referrer"
@@ -39497,10 +39491,10 @@ function Tce(e) {
]
});
}
-var Ece = (0, I.memo)(Tce), yI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var Ece = (0, I.memo)(Tce), bI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Dce = lT("settings"), Oce = lT("chevron-down"), kce = lT("history"), Ace = [[
+}), Dce = sT("settings"), Oce = sT("chevron-down"), kce = sT("history"), Ace = [[
"fixed",
"固定比例",
"layout-grid"
@@ -39515,13 +39509,13 @@ function jce(e, t, n) {
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = JF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = JF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = YF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = YF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = JF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = YF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -39529,7 +39523,7 @@ function jce(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => QF(e).forEach((e) => {
+ r.forEach((e) => $F(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -39544,7 +39538,7 @@ function jce(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => QF(e).has(_)),
+ visible: r.filter((e) => $F(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -39558,14 +39552,14 @@ function jce(e, t, n) {
]);
}
function Mce(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = WF(t, r), s = Lt(o), c = Ft({
- queryKey: GF,
- queryFn: ({ signal: e }) => KF(e)
- }), l = (0, I.useMemo)(() => qF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = GF(t, r), s = Lt(o), c = Ft({
+ queryKey: KF,
+ queryFn: ({ signal: e }) => qF(e)
+ }), l = (0, I.useMemo)(() => JF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), p = jce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => xce(p.visible.flatMap(YF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
+ }), [l, u]), p = jce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => xce(p.visible.flatMap(XF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
(0, I.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -39574,7 +39568,7 @@ function Mce(e) {
a
]);
let _ = Nce(e, !!l);
- if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Vw, {
message: d(s.error),
onRetry: () => void s.refetch()
}) : null;
@@ -39669,7 +39663,7 @@ function Mce(e) {
"data-follow-pagination": "",
children: [l.has_more ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, L.jsxs)(TT, {
+ children: /* @__PURE__ */ (0, L.jsxs)(CT, {
entity: !0,
enabled: () => !_.busyRef.current,
load: async () => {
@@ -39713,7 +39707,7 @@ function Nce(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => hw(aF, e),
+ read: (e) => mw(aF, e),
busy: (e) => {
t && (p.current = e, s(e));
},
@@ -39804,12 +39798,12 @@ function Fce({ rows: e, pressed: t, props: n, onPick: r }) {
}) : null;
}
function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), 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 = !!e.mediaCounts.images || t.media === "images", g = eP(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = eP(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+ let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), 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 = !!e.mediaCounts.images || t.media === "images", g = ZN(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = ZN(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, I.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, L.jsx)(EM, {
+ return /* @__PURE__ */ (0, L.jsx)(CM, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -39861,7 +39855,7 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: s(i) }
}, e);
})
- }), /* @__PURE__ */ (0, L.jsx)(yI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), /* @__PURE__ */ (0, L.jsx)(bI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39881,7 +39875,7 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, L.jsx)(bI, {}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -39896,8 +39890,8 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
onClick: () => a({ provider: e.provider === t ? "" : t }),
dangerouslySetInnerHTML: { __html: o.sourceIcon(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(OM, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(bI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(TM, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Jse(e.groups, n)}`,
@@ -39918,8 +39912,8 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(lP, { onPress: c.shuffle }),
- b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(cP, {
+ /* @__PURE__ */ (0, L.jsx)(oP, { onPress: c.shuffle }),
+ b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(aP, {
label: "图片布局",
value: i.photoLayout,
options: Ace,
@@ -39940,7 +39934,7 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Rse.map(([e, n]) => {
- let r = t.sort === e, i = lT(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = sT(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -39949,7 +39943,7 @@ function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-pressed": r,
"aria-label": Gse(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = nI(e, t.sort, t.dir);
+ let n = rI(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, L.jsx)(i, { className: "size-3.5" }) : null]
@@ -39994,7 +39988,7 @@ function Rce({ count: e, onManage: t }) {
});
}
function zce({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = Vw(e, () => o.listSkeletonHtml(a.media));
+ let { view: a, helpers: o } = i, s = a.media === "images", c = Bw(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
@@ -40020,10 +40014,10 @@ function Bce({ facets: e, data: t, context: n, props: r, images: i }) {
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(bI(t, a)),
+ selected: r.selected.has(xI(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(bI(t, a)) || "",
- failure: c.failures.get(bI(t, a)) || "",
+ busy: c.busy.get(xI(t, a)) || "",
+ failure: c.failures.get(xI(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
@@ -40036,8 +40030,8 @@ function Bce({ facets: e, data: t, context: n, props: r, images: i }) {
children: u
});
}
-function bI(e, t) {
- return $F(e, t.media).id;
+function xI(e, t) {
+ return eI(e, t.media).id;
}
function Vce({ data: e }) {
let t = (e.groups || []).length ? v("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? v("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : v("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
@@ -40053,16 +40047,16 @@ var Hce = {
ignored: "已忽略"
};
function Uce(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = WF(t, n).queryKey, l = (e, t, n) => n((n) => {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = GF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- X.setQueryData(c, (r) => r && rI(r, t, e, n));
+ X.setQueryData(c, (r) => r && iI(r, t, e, n));
}, f = () => void X.invalidateQueries({
queryKey: c,
exact: !0
}), p = (e) => {
- let t = qF(X.getQueryData(c));
+ let t = JF(X.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -40121,7 +40115,7 @@ function Uce(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function xI({ provider: e, label: t }) {
+function SI({ provider: e, label: t }) {
let n = Fse(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,
@@ -40131,10 +40125,10 @@ function xI({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, L.jsx)(rv, { children: t }) : null] });
}
-function SI({ group: e, name: t }) {
- let { src: n, fallback: r } = mse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
+function CI({ group: e, name: t }) {
+ let { src: n, fallback: r } = hse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, L.jsx)("img", {
src: o,
alt: "",
@@ -40147,18 +40141,18 @@ function SI({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: pse(t)
+ children: mse(t)
});
}
-function CI({ source: e }) {
+function wI({ source: e }) {
let t = vF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(uw, {
+ return /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: t,
- children: fse(e)
+ children: pse(e)
});
}
-function wI({ source: e }) {
+function TI({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("a", {
href: e.url,
target: "_blank",
@@ -40170,11 +40164,11 @@ function wI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var TI = sw(OA, kA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", EI = (e, t) => `${e}:${t.url}`;
+var EI = ow(DA, OA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", DI = (e, t) => `${e}:${t.url}`;
function Jce({ 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)(Ek, {
+ }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(Tk, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -40186,17 +40180,17 @@ function Jce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: sw(DA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: ow(EA, "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)(vw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(_w, { 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 ? sw(TI, "bg-background-secondary-default") : TI,
+ className: t === r ? ow(EI, "bg-background-secondary-default") : EI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -40224,20 +40218,20 @@ function Yce({ 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: aC,
+ leadingIcon: iC,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: DA,
- children: /* @__PURE__ */ (0, L.jsxs)(Lk, {
+ className: EA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Ik, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -40253,16 +40247,16 @@ function Yce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(JA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(jj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
@@ -40286,7 +40280,7 @@ function Xce({ 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: gw({
+ className: hw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -40297,15 +40291,15 @@ function Xce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = EI(t, e);
- return /* @__PURE__ */ (0, L.jsx)(jj, {
+ let n = DI(t, e);
+ return /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }),
+ /* @__PURE__ */ (0, L.jsx)(SI, { provider: e.provider }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -40321,18 +40315,18 @@ function Xce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: qce }),
+ }) : /* @__PURE__ */ (0, L.jsx)(JA, { children: qce }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, L.jsx)(ej, {
+ }), /* @__PURE__ */ (0, L.jsx)(ZA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, L.jsx)(JA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
@@ -40348,7 +40342,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
return () => clearTimeout(t);
}, [a]);
let D = Ft({
- queryKey: ose(l),
+ queryKey: sse(l),
queryFn: ({ signal: e }) => xse(l, e),
enabled: l.length > 0 && d
}), O = (0, I.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
@@ -40356,8 +40350,8 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Tj({
- queryKey: ase,
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Sj({
+ queryKey: ose,
queryFn: ({ signal: e }) => bse(e),
start: (e) => Sse([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
@@ -40393,7 +40387,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: EI(t, e)
+ key: DI(t, e)
})).filter((e) => !x.has(e.key))), ae = It({
mutationFn: async (e) => {
let t = [], n = [];
@@ -40408,7 +40402,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await kF(n);
+ await AF(n);
} catch (e) {
t.push(K(e));
}
@@ -40418,7 +40412,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (zF(), e.failures.length) {
+ if (BF(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -40427,7 +40421,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40447,11 +40441,11 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, L.jsx)($j, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "来源链接、名字或 id",
placeholder: Wce,
value: a,
- leadingIcon: gC,
+ leadingIcon: hC,
isDisabled: n,
onChange: o,
onKeyDown: F
@@ -40483,11 +40477,12 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__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)(xw, {
- label: k.message || `查找中:${k.checked || 0}/${k.total}`,
- value: k.checked || 0,
- max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: se ? Gce : Kce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ embedded: !0,
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Gce : Kce),
+ value: k?.checked,
+ total: k?.total
+ }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -40496,7 +40491,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "查找结果" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "查找结果" }),
re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Xce, {
row: e,
at: t,
@@ -40552,15 +40547,15 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Qce = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, DI = (e) => e.alias;
+var Qce = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, OI = (e) => e.alias;
function $ce(e, t, n) {
let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function OI({ sources: e, name: t, canonicalKey: n }) {
+function kI({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(SI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(CI, {
group: $ce(e, t, n),
name: t
}), /* @__PURE__ */ (0, L.jsx)("b", {
@@ -40575,9 +40570,9 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
let t = 0;
for (let n of e) {
try {
- await MF(n.canonical, n.alias);
+ await NF(n.canonical, n.alias);
} catch (n) {
- throw t && zF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && BF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -40587,19 +40582,19 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), zF(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), BF(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), m = It({
- mutationFn: (e) => MF(e.canonical, e.alias),
+ mutationFn: (e) => NF(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), zF(), i("已保存创作者别名");
+ c(""), u(""), f(""), BF(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), h = It({
mutationFn: (e) => wse(e),
onSuccess: () => {
- c(""), zF(), i("已移除创作者别名");
+ c(""), BF(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -40609,9 +40604,9 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(DI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
+ }, v = t.filter((e) => a.has(OI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40622,10 +40617,10 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(XA, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -40633,7 +40628,7 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -40654,13 +40649,13 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(QA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, L.jsx)(YA, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "待合并" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "待合并" }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -40682,44 +40677,44 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Mj, { children: /* @__PURE__ */ (0, L.jsxs)(kj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "select",
- children: /* @__PURE__ */ (0, L.jsx)(jj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(DI)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(OI)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, L.jsx)(cA, {
+ /* @__PURE__ */ (0, L.jsx)(sA, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: t.map((e) => {
- let t = DI(e);
- return /* @__PURE__ */ (0, L.jsxs)(pA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(lA, { children: t.map((e) => {
+ let t = OI(e);
+ return /* @__PURE__ */ (0, L.jsxs)(fA, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(jj, {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)(Oj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -40728,16 +40723,16 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)(kI, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: e.alias }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: e.alias }),
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -40754,27 +40749,27 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(XA, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
+ }), e.length ? /* @__PURE__ */ (0, L.jsx)(Mj, { children: /* @__PURE__ */ (0, L.jsxs)(kj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [/* @__PURE__ */ (0, L.jsx)(cA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(oA, { children: [/* @__PURE__ */ (0, L.jsx)(sA, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, L.jsx)(cA, {
+ }), /* @__PURE__ */ (0, L.jsx)(sA, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(pA, {
+ })] }), /* @__PURE__ */ (0, L.jsx)(lA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(fA, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(mA, { children: /* @__PURE__ */ (0, L.jsx)(kI, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, L.jsx)(mA, { 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",
@@ -40782,7 +40777,7 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: QS,
+ leadingIcon: ZS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(h.isPending),
@@ -40796,9 +40791,9 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: vC,
+ icon: _C,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -40813,20 +40808,20 @@ function ale(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function ole({ row: e }) {
- if (VF(e)) return /* @__PURE__ */ (0, L.jsx)(uw, {
+ if (HF(e)) return /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(uw, {
+ return /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: t,
children: Ise[e.requirement] || ""
});
}
function sle({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = VF(e), c = It({
+ let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = HF(e), c = It({
mutationFn: (t) => Tse(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
@@ -40850,14 +40845,14 @@ function sle({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(ZA, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, L.jsx)(JA, { children: e.howto }) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)($j, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(Xj, {
type: "password",
label: n,
placeholder: ale(e, n),
@@ -40896,9 +40891,9 @@ function sle({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, L.jsx)(QA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, L.jsx)(UA, {
+ a ? /* @__PURE__ */ (0, L.jsx)(YA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(JA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, L.jsx)(zA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -40917,14 +40912,14 @@ function cle({ row: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider })
+ children: /* @__PURE__ */ (0, L.jsx)(SI, { provider: e.provider })
}),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
/* @__PURE__ */ (0, L.jsx)(ole, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -40933,12 +40928,12 @@ function cle({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(JA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, L.jsx)(rj, {
- summary: VF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !VF(e),
+ children: [r, /* @__PURE__ */ (0, L.jsx)(ej, {
+ summary: HF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !HF(e),
children: /* @__PURE__ */ (0, L.jsx)(sle, {
row: e,
readOnly: t,
@@ -40948,9 +40943,9 @@ function cle({ row: e, readOnly: t, toast: n }) {
});
}
function lle({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !VF(e));
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !HF(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40965,14 +40960,38 @@ function lle({ data: e, readOnly: t, toast: n }) {
children: `${i.length} 个待配置`
}) : null]
}),
- /* @__PURE__ */ (0, L.jsx)("div", {
- className: "flex flex-col overflow-hidden",
- children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(cle, {
- row: e,
- readOnly: t,
- toast: n
- }, e.provider))
- }),
+ [
+ {
+ title: "可配置凭据",
+ rows: r.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")
+ },
+ {
+ title: "不需要凭据",
+ rows: r.filter((e) => e.requirement === "none")
+ },
+ {
+ title: "暂不支持",
+ rows: r.filter((e) => e.requirement === "blocked")
+ }
+ ].filter((e) => e.rows.length).map((e) => /* @__PURE__ */ (0, L.jsxs)("section", {
+ "aria-label": e.title,
+ className: "flex flex-col gap-2",
+ children: [/* @__PURE__ */ (0, L.jsx)("h4", {
+ className: "text-body-medium text-text-secondary",
+ children: e.title
+ }), /* @__PURE__ */ (0, L.jsx)("div", {
+ className: hw({
+ variant: "outlined",
+ padding: "none",
+ className: "flex flex-col overflow-hidden"
+ }),
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(cle, {
+ row: e,
+ readOnly: t,
+ toast: n
+ }, e.provider))
+ })]
+ }, e.title)),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
@@ -40984,7 +41003,7 @@ function lle({ data: e, readOnly: t, toast: n }) {
className: "text-body-2-regular text-text-secondary",
children: nle
}),
- /* @__PURE__ */ (0, L.jsx)(UA, {
+ /* @__PURE__ */ (0, L.jsx)(zA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -40993,16 +41012,16 @@ function lle({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: fC,
+ icon: dC,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function kI() {
+function AI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -41015,18 +41034,18 @@ function kI() {
group: (e) => e
};
}
-function AI(e, t) {
+function jI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function jI(e, t) {
+function MI(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: AI(n, t[e])
+ [e]: jI(n, t[e])
}));
};
}
-function MI(e) {
+function NI(e) {
return e instanceof Function;
}
function ule(e) {
@@ -41042,7 +41061,7 @@ function dle(e, t) {
};
return r(e), n;
}
-function NI(e, t, n) {
+function PI(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -41064,7 +41083,7 @@ function NI(e, t, n) {
return i;
};
}
-function PI(e, t, n, r) {
+function FI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
@@ -41078,7 +41097,7 @@ function fle(e, t, n, r) {
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: NI(() => [
+ getContext: PI(() => [
e,
n,
t,
@@ -41090,7 +41109,7 @@ function fle(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), PI(e.options, "debugCells", "cell.getContext"))
+ }), FI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
@@ -41113,17 +41132,17 @@ function ple(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: NI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], PI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: NI(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: PI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], FI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: PI(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, PI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, FI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var FI = "debugHeaders";
-function II(e, t, n) {
+var II = "debugHeaders";
+function LI(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -41152,41 +41171,41 @@ function II(e, t, n) {
}), r;
}
var mle = { createTable: (e) => {
- e.getHeaderGroups = NI(() => [
+ e.getHeaderGroups = PI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return LI(t, [
+ return RI(t, [
...a,
...s,
...o
], e);
- }, PI(e.options, FI, "getHeaderGroups")), e.getCenterHeaderGroups = NI(() => [
+ }, FI(e.options, II, "getHeaderGroups")), e.getCenterHeaderGroups = PI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), LI(t, n, e, "center")), PI(e.options, FI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = NI(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), RI(t, n, e, "center")), FI(e.options, II, "getCenterHeaderGroups")), e.getLeftHeaderGroups = PI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), PI(e.options, FI, "getLeftHeaderGroups")), e.getRightHeaderGroups = NI(() => [
+ ], (t, n, r) => RI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), FI(e.options, II, "getLeftHeaderGroups")), e.getRightHeaderGroups = PI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), PI(e.options, FI, "getRightHeaderGroups")), e.getFooterGroups = NI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getFooterGroups")), e.getLeftFooterGroups = NI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getLeftFooterGroups")), e.getCenterFooterGroups = NI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getCenterFooterGroups")), e.getRightFooterGroups = NI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getRightFooterGroups")), e.getFlatHeaders = NI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getFlatHeaders")), e.getLeftFlatHeaders = NI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = NI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getCenterFlatHeaders")), e.getRightFlatHeaders = NI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getRightFlatHeaders")), e.getCenterLeafHeaders = NI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => RI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), FI(e.options, II, "getRightHeaderGroups")), e.getFooterGroups = PI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), FI(e.options, II, "getFooterGroups")), e.getLeftFooterGroups = PI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), FI(e.options, II, "getLeftFooterGroups")), e.getCenterFooterGroups = PI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), FI(e.options, II, "getCenterFooterGroups")), e.getRightFooterGroups = PI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), FI(e.options, II, "getRightFooterGroups")), e.getFlatHeaders = PI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), FI(e.options, II, "getFlatHeaders")), e.getLeftFlatHeaders = PI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), FI(e.options, II, "getLeftFlatHeaders")), e.getCenterFlatHeaders = PI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), FI(e.options, II, "getCenterFlatHeaders")), e.getRightFlatHeaders = PI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), FI(e.options, II, "getRightFlatHeaders")), e.getCenterLeafHeaders = PI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), PI(e.options, FI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = NI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), FI(e.options, II, "getCenterLeafHeaders")), e.getLeftLeafHeaders = PI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), PI(e.options, FI, "getLeftLeafHeaders")), e.getRightLeafHeaders = NI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), FI(e.options, II, "getLeftLeafHeaders")), e.getRightLeafHeaders = PI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), PI(e.options, FI, "getRightLeafHeaders")), e.getLeafHeaders = NI(() => [
+ }), FI(e.options, II, "getRightLeafHeaders")), e.getLeafHeaders = PI(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -41194,9 +41213,9 @@ var mle = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), PI(e.options, FI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), FI(e.options, II, "getLeafHeaders"));
} };
-function LI(e, t, n, r) {
+function RI(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -41214,7 +41233,7 @@ function LI(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = II(n, c, {
+ let i = LI(n, c, {
id: [
r,
t,
@@ -41231,7 +41250,7 @@ function LI(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => II(n, e, {
+ s(t.map((e, t) => LI(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -41281,8 +41300,8 @@ var hle = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: NI(() => [e.getAllLeafColumns()], (t) => t.map((t) => fle(e, s, t, t.id)), PI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: NI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), PI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: PI(() => [e.getAllLeafColumns()], (t) => t.map((t) => fle(e, s, t, t.id)), FI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: PI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), FI(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
@@ -41293,59 +41312,59 @@ var hle = (e, t, n, r, i, a, o) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, RI = (e, t, n) => {
+} }, zI = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-RI.autoRemove = (e) => JI(e);
-var zI = (e, t, n) => {
+zI.autoRemove = (e) => YI(e);
+var BI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-zI.autoRemove = (e) => JI(e);
-var BI = (e, t, n) => {
+BI.autoRemove = (e) => YI(e);
+var VI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-BI.autoRemove = (e) => JI(e);
-var VI = (e, t, n) => e.getValue(t)?.includes(n);
-VI.autoRemove = (e) => JI(e);
-var HI = (e, t, n) => !n.some((n) => {
+VI.autoRemove = (e) => YI(e);
+var HI = (e, t, n) => e.getValue(t)?.includes(n);
+HI.autoRemove = (e) => YI(e);
+var UI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-HI.autoRemove = (e) => JI(e) || !(e != null && e.length);
-var UI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-UI.autoRemove = (e) => JI(e) || !(e != null && e.length);
-var WI = (e, t, n) => e.getValue(t) === n;
-WI.autoRemove = (e) => JI(e);
-var GI = (e, t, n) => e.getValue(t) == n;
-GI.autoRemove = (e) => JI(e);
-var KI = (e, t, n) => {
+UI.autoRemove = (e) => YI(e) || !(e != null && e.length);
+var WI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+WI.autoRemove = (e) => YI(e) || !(e != null && e.length);
+var GI = (e, t, n) => e.getValue(t) === n;
+GI.autoRemove = (e) => YI(e);
+var KI = (e, t, n) => e.getValue(t) == n;
+KI.autoRemove = (e) => YI(e);
+var qI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-KI.resolveFilterValue = (e) => {
+qI.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, KI.autoRemove = (e) => JI(e) || JI(e[0]) && JI(e[1]);
-var qI = {
- includesString: RI,
- includesStringSensitive: zI,
- equalsString: BI,
- arrIncludes: VI,
- arrIncludesAll: HI,
- arrIncludesSome: UI,
- equals: WI,
- weakEquals: GI,
- inNumberRange: KI
+}, qI.autoRemove = (e) => YI(e) || YI(e[0]) && YI(e[1]);
+var JI = {
+ includesString: zI,
+ includesStringSensitive: BI,
+ equalsString: VI,
+ arrIncludes: HI,
+ arrIncludesAll: UI,
+ arrIncludesSome: WI,
+ equals: GI,
+ weakEquals: KI,
+ inNumberRange: qI
};
-function JI(e) {
+function YI(e) {
return e == null || e === "";
}
var _le = {
@@ -41355,21 +41374,21 @@ var _le = {
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: jI("columnFilters", e),
+ onColumnFiltersChange: MI("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? qI.includesString : typeof n == "number" ? qI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qI.equals : Array.isArray(n) ? qI.arrIncludes : qI.weakEquals;
- }, e.getFilterFn = () => MI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? JI.includesString : typeof n == "number" ? JI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? JI.equals : Array.isArray(n) ? JI.arrIncludes : JI.weakEquals;
+ }, e.getFilterFn = () => NI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? JI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = AI(n, i ? i.value : void 0);
- if (YI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = jI(n, i ? i.value : void 0);
+ if (XI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -41384,19 +41403,19 @@ var _le = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => AI(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => jI(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && YI(t.getFilterFn(), e.value, t));
+ return !(t && XI(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function YI(e, t, n) {
+function XI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var XI = {
+var ZI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -41453,7 +41472,7 @@ var XI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: jI("grouping", e),
+ onGroupingChange: MI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -41466,11 +41485,11 @@ var XI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return XI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return XI.extent;
+ if (typeof n == "number") return ZI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return ZI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return MI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? XI[e.columnDef.aggregationFn];
+ return NI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? ZI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -41502,17 +41521,17 @@ var ble = {
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: jI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: MI("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = NI((e) => [nL(t, e)], (t) => t.findIndex((t) => t.id === e.id), PI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => nL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = nL(t, n);
+ e.getIndex = PI((e) => [rL(t, e)], (t) => t.findIndex((t) => t.id === e.id), FI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => rL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = rL(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = NI(() => [
+ }, e._getOrderColumnsFn = PI(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -41528,17 +41547,17 @@ var ble = {
i = [...i, ...n];
}
return yle(i, t, n);
- }, PI(e.options, "debugTable", "_getOrderColumnsFn"));
+ }, FI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, ZI = () => ({
+}, QI = () => ({
left: [],
right: []
}), xle = {
getInitialState: (e) => ({
- columnPinning: ZI(),
+ columnPinning: QI(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: jI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: MI("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -41562,43 +41581,43 @@ var ble = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = NI(() => [
+ e.getCenterVisibleCells = PI(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, PI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = NI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, FI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = PI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), PI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = NI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), FI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = PI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), PI(t.options, "debugRows", "getRightVisibleCells"));
+ })), FI(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? ZI() : e.initialState?.columnPinning ?? ZI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? QI() : e.initialState?.columnPinning ?? QI()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = NI(() => [
+ }, e.getLeftLeafColumns = PI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), FI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = PI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), FI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = PI(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, PI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, FI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
function Sle(e) {
return e || (typeof document < "u" ? document : null);
}
-var QI = {
+var $I = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, $I = () => ({
+}, eL = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
@@ -41606,31 +41625,31 @@ var QI = {
isResizingColumn: !1,
columnSizingStart: []
}), Cle = {
- getDefaultColumnDef: () => QI,
+ getDefaultColumnDef: () => $I,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: $I(),
+ columnSizingInfo: eL(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: jI("columnSizing", e),
- onColumnSizingInfoChange: jI("columnSizingInfo", e)
+ onColumnSizingChange: MI("columnSizing", e),
+ onColumnSizingInfoChange: MI("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? QI.minSize, n ?? e.columnDef.size ?? QI.size), e.columnDef.maxSize ?? QI.maxSize);
- }, e.getStart = NI((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? $I.minSize, n ?? e.columnDef.size ?? $I.size), e.columnDef.maxSize ?? $I.maxSize);
+ }, e.getStart = PI((e) => [
e,
- nL(t, e),
+ rL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getStart")), e.getAfter = NI((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), FI(t.options, "debugColumns", "getStart")), e.getAfter = PI((e) => [
e,
- nL(t, e),
+ rL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), FI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -41652,8 +41671,8 @@ var QI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), tL(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = tL(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), nL(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = nL(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -41689,7 +41708,7 @@ var QI = {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
}, g = wle() ? { passive: !1 } : !1;
- tL(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ nL(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -41705,12 +41724,12 @@ var QI = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? $I() : e.initialState.columnSizingInfo ?? $I());
+ e.setColumnSizingInfo(t ? eL() : e.initialState.columnSizingInfo ?? eL());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, eL = null;
+}, tL = null;
function wle() {
- if (typeof eL == "boolean") return eL;
+ if (typeof tL == "boolean") return tL;
let e = !1;
try {
let t = { get passive() {
@@ -41720,9 +41739,9 @@ function wle() {
} catch {
e = !1;
}
- return eL = e, eL;
+ return tL = e, tL;
}
-function tL(e) {
+function nL(e) {
return e.type === "touchstart";
}
var Tle = {
@@ -41730,7 +41749,7 @@ var Tle = {
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: jI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: MI("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -41745,7 +41764,7 @@ var Tle = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = NI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), PI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = NI(() => [
+ e._getAllVisibleCells = PI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), FI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = PI(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -41753,10 +41772,10 @@ var Tle = {
...e,
...t,
...n
- ], PI(t.options, "debugRows", "getVisibleCells"));
+ ], FI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => NI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), PI(e.options, "debugColumns", t));
+ let t = (t, n) => PI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), FI(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -41769,7 +41788,7 @@ var Tle = {
};
}
};
-function nL(e, t) {
+function rL(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
var Ele = { createTable: (e) => {
@@ -41782,7 +41801,7 @@ var Ele = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: jI("globalFilter", e),
+ onGlobalFilterChange: MI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -41794,9 +41813,9 @@ var Ele = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => qI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => JI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return MI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qI[t];
+ return NI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? JI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
@@ -41809,7 +41828,7 @@ var Ele = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: jI("expanded", e),
+ onExpandedChange: MI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -41880,18 +41899,18 @@ var Ele = { createTable: (e) => {
};
};
}
-}, rL = 0, iL = 10, aL = () => ({
- pageIndex: rL,
- pageSize: iL
+}, iL = 0, aL = 10, oL = () => ({
+ pageIndex: iL,
+ pageSize: aL
}), kle = {
getInitialState: (e) => ({
...e,
pagination: {
- ...aL(),
+ ...oL(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: jI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: MI("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -41907,11 +41926,11 @@ var Ele = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => AI(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? aL() : e.initialState.pagination ?? aL());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => jI(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? oL() : e.initialState.pagination ?? oL());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = AI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = jI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
@@ -41919,13 +41938,13 @@ var Ele = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? rL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? rL);
+ e.setPageIndex(t ? iL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? iL);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? iL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? iL);
+ e.setPageSize(t ? aL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? aL);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, AI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, jI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -41933,28 +41952,28 @@ var Ele = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = AI(t, e.options.pageCount ?? -1);
+ let r = jI(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = NI(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = PI(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, PI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, FI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, oL = () => ({
+}, sL = () => ({
top: [],
bottom: []
}), Ale = {
getInitialState: (e) => ({
- rowPinning: oL(),
+ rowPinning: sL(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: jI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: MI("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -41993,7 +42012,7 @@ var Ele = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? oL() : e.initialState?.rowPinning ?? oL()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? sL() : e.initialState?.rowPinning ?? sL()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -42002,14 +42021,14 @@ var Ele = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), PI(e.options, "debugRows", "getTopRows")), e.getBottomRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), PI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = NI(() => [
+ })), e.getTopRows = PI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), FI(e.options, "debugRows", "getTopRows")), e.getBottomRows = PI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), FI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = PI(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, PI(e.options, "debugRows", "getCenterRows"));
+ }, FI(e.options, "debugRows", "getCenterRows"));
}
}, jle = {
getInitialState: (e) => ({
@@ -42017,7 +42036,7 @@ var Ele = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: jI("rowSelection", e),
+ onRowSelectionChange: MI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -42036,21 +42055,21 @@ var Ele = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- sL(i, t.id, r, !0, e);
+ cL(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = NI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = PI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? lL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, PI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = NI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
+ }, FI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = PI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? lL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, PI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = NI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
+ }, FI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = PI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? lL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, PI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, FI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -42074,17 +42093,17 @@ var Ele = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return sL(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return cL(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return lL(e, n);
+ return uL(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return uL(e, n) === "some";
+ return dL(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return uL(e, n) === "all";
+ return dL(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -42092,16 +42111,16 @@ var Ele = { createTable: (e) => {
};
};
}
-}, sL = (e, t, n, r, i) => {
+}, cL = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => sL(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => cL(e, t.id, n, r, i));
};
-function cL(e, t) {
+function lL(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = lL(e, n);
+ let o = uL(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -42114,32 +42133,32 @@ function cL(e, t) {
rowsById: i
};
}
-function lL(e, t) {
+function uL(e, t) {
return t[e.id] ?? !1;
}
-function uL(e, t, n) {
+function dL(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if (!(a && !i) && (e.getCanSelect() && (lL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = uL(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (uL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = dL(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var dL = /([0-9]+)/gm, Mle = (e, t, n) => mL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Nle = (e, t, n) => mL(pL(e.getValue(n)), pL(t.getValue(n))), Ple = (e, t, n) => fL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Fle = (e, t, n) => fL(pL(e.getValue(n)), pL(t.getValue(n))), Ile = (e, t, n) => {
+var fL = /([0-9]+)/gm, Mle = (e, t, n) => hL(mL(e.getValue(n)).toLowerCase(), mL(t.getValue(n)).toLowerCase()), Nle = (e, t, n) => hL(mL(e.getValue(n)), mL(t.getValue(n))), Ple = (e, t, n) => pL(mL(e.getValue(n)).toLowerCase(), mL(t.getValue(n)).toLowerCase()), Fle = (e, t, n) => pL(mL(e.getValue(n)), mL(t.getValue(n))), Ile = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Lle = (e, t, n) => fL(e.getValue(n), t.getValue(n));
-function fL(e, t) {
+}, Lle = (e, t, n) => pL(e.getValue(n), t.getValue(n));
+function pL(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function pL(e) {
+function mL(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function mL(e, t) {
- let n = e.split(dL).filter(Boolean), r = t.split(dL).filter(Boolean);
+function hL(e, t) {
+ let n = e.split(fL).filter(Boolean), r = t.split(fL).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -42153,7 +42172,7 @@ function mL(e, t) {
}
return n.length - r.length;
}
-var hL = {
+var gL = {
alphanumeric: Mle,
alphanumericCaseSensitive: Nle,
text: Ple,
@@ -42179,7 +42198,7 @@ var hL = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: jI("sorting", e),
+ onSortingChange: MI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -42187,13 +42206,13 @@ var hL = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return hL.datetime;
- if (typeof n == "string" && (r = !0, n.split(dL).length > 1)) return hL.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return gL.datetime;
+ if (typeof n == "string" && (r = !0, n.split(fL).length > 1)) return gL.alphanumeric;
}
- return r ? hL.text : hL.basic;
+ return r ? gL.text : gL.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return MI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? hL[e.columnDef.sortingFn];
+ return NI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? gL[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -42264,7 +42283,7 @@ function zle(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = AI(e, n.options);
+ let t = jI(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -42279,7 +42298,7 @@ function zle(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: NI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: PI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -42290,9 +42309,9 @@ function zle(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), PI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), FI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: NI(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: PI(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
let a = ple(n, e, i, r), o = e;
@@ -42300,10 +42319,10 @@ function zle(e) {
});
};
return t(e);
- }, PI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: NI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), PI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: NI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), PI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: NI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), PI(e, "debugColumns", "getAllLeafColumns")),
+ }, FI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: PI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), FI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: PI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), FI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: PI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), FI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -42313,8 +42332,8 @@ function zle(e) {
}
return n;
}
-function gL() {
- return (e) => NI(() => [e.options.data], (t) => {
+function _L() {
+ return (e) => PI(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -42332,7 +42351,7 @@ function gL() {
return o;
};
return n.rows = r(t), n;
- }, PI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, FI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
function Ble(e) {
let t = [], n = (e) => {
@@ -42345,8 +42364,8 @@ function Ble(e) {
rowsById: e.rowsById
};
}
-function Vle(e) {
- return (e) => NI(() => [
+function vL(e) {
+ return (e) => PI(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -42368,26 +42387,26 @@ function Vle(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, PI(e.options, "debugTable", "getPaginationRowModel"));
+ }, FI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function _L(e, t) {
- return e ? Hle(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
+function yL(e, t) {
+ return e ? Vle(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
}
-function Hle(e) {
- return Ule(e) || typeof e == "function" || Wle(e);
+function Vle(e) {
+ return Hle(e) || typeof e == "function" || Ule(e);
}
-function Ule(e) {
+function Hle(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Wle(e) {
+function Ule(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function vL(e) {
+function bL(e) {
let t = {
state: {},
onStateChange: () => {},
@@ -42408,7 +42427,7 @@ function vL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Gle = cw({
+var Wle = sw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -42470,23 +42489,23 @@ var Gle = cw({
}
}
});
-function Kle({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Gle[t];
+function Gle({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Wle[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- 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"),
+ className: ow("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? ow("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: 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") })
+ className: ow("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: ow("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 yL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(wae, {
+function xL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Tae, {
ref: i,
...a,
- 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)(Kle, {
+ className: (t) => ow("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)(Gle, {
state: e,
size: n,
shape: r
@@ -42498,12 +42517,12 @@ function yL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var bL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", xL = "(prefers-reduced-motion: reduce)", qle = () => matchMedia(xL).matches, Jle = (e) => {
- let t = matchMedia(xL);
+var SL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", CL = "(prefers-reduced-motion: reduce)", Kle = () => matchMedia(CL).matches, qle = (e) => {
+ let t = matchMedia(CL);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function Yle({ children: e, count: t, label: n }) {
- let r = Hu(), i = (0, I.useSyncExternalStore)(Jle, qle, () => !1), { isFocusVisible: a } = eh(), o = i || a, s = {
+function Jle({ children: e, count: t, label: n }) {
+ let r = Hu(), i = (0, I.useSyncExternalStore)(qle, Kle, () => !1), { isFocusVisible: a } = eh(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -42539,13 +42558,13 @@ function Yle({ children: e, count: t, label: n }) {
}), e]
});
}
-function SL({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, L.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, L.jsx)(Yle, { ...t }, "selection") : null });
+function wL({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, L.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, L.jsx)(Jle, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var Xle = "输入女优名,到 JavDB 找她的演员页";
-function Zle(e, t) {
+var Yle = "输入女优名,到 JavDB 找她的演员页";
+function Xle(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 {
@@ -42564,10 +42583,10 @@ function Zle(e, t) {
blocked: !1
};
}
-function Qle({ card: e, picked: t, onPick: n }) {
+function Zle({ 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)(jj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -42577,7 +42596,7 @@ function Qle({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ e.record ? /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "neutral",
children: e.record
@@ -42588,14 +42607,14 @@ function Qle({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(ej, {
+ }), /* @__PURE__ */ (0, L.jsx)(ZA, {
href: e.url,
children: e.id
})]
});
}
-function $le({ 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 = Sw(), u = () => {
+function Qle({ 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 = xw(), u = () => {
let t = r.trim();
!t || e || l.run("lookup", (e) => Ose(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -42608,9 +42627,9 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => kse(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Zle(a, s) : null;
+ }, m = a ? Xle(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42623,11 +42642,11 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, L.jsx)($j, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "女优名",
- placeholder: Xle,
+ placeholder: Yle,
value: r,
- leadingIcon: gC,
+ leadingIcon: hC,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -42648,16 +42667,16 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Qle, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Zle, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(ZA, {
+ }, e.id)) : /* @__PURE__ */ (0, L.jsx)(JA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(JA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -42683,376 +42702,20 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
});
}
//#endregion
-//#region src/react/follow-manage/feed-sources.tsx
-var eue = {
- select: "选择",
- name: "名称",
- kind: "类型",
- origin: "来源",
- status: "状态",
- interval: "频率",
- fetched: "上次拉取",
- fresh: "上次新增",
- actions: "操作"
-}, tue = /* @__PURE__ */ new Set(["select", "actions"]), CL = () => X.invalidateQueries({
- queryKey: pF,
- exact: !0
-}), wL = (e) => e.name || e.url, nue = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function rue(e) {
- try {
- return new URL(e).hostname.replace(/^www\./, "");
- } catch {
- return e;
- }
-}
-function iue({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, L.jsx)(uw, {
- variant: "caption",
- color: "rose",
- children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(uw, {
- variant: "caption",
- color: "lime",
- children: "正常"
- }) : /* @__PURE__ */ (0, L.jsx)(uw, {
- variant: "caption",
- color: "neutral",
- children: "已暂停"
- });
-}
-function aue({ 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: `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 ${bL}`,
- dangerouslySetInnerHTML: { __html: t(wL(e), n, null, "performer") }
- });
-}
-var oue = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function sue(e) {
- let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
- for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
- return n;
-}
-function TL(e, t) {
- let n = e.length === 1 ? e[0] : null;
- return g({
- title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${wL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
- confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
- danger: !0,
- onConfirm: t
- });
-}
-function cue({ readOnly: e, toast: t, avatarInner: n }) {
- let r = Ft({
- queryKey: pF,
- queryFn: ({ signal: e }) => NF(e)
- }), i = Sw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set());
- (0, I.useEffect)(() => {
- 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;
- });
- }, [o]);
- let u = It({
- mutationFn: async (e) => {
- let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await FF(t) : await PF(t, e.action === "enabled");
- });
- return {
- ...e,
- results: t
- };
- },
- onSuccess: (e) => {
- let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), CL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
- let e = n[0];
- i.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
- }
- },
- onError: (e) => i.setError(K(e))
- }), d = (0, I.useMemo)(() => sue(o), [o]), f = (0, I.useRef)({
- readOnly: e,
- avatarInner: n,
- shared: d,
- busy: null,
- toggle: () => {},
- fetch: () => {},
- remove: () => {}
- });
- f.current = {
- readOnly: e,
- avatarInner: n,
- shared: d,
- busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => PF(e.id, t, n), () => void CL()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => IF(t, [e.id]), () => void CL()),
- remove: (e) => void TL([e], async () => {
- await FF(e.id), t(`已移除订阅源「${wL(e)}」`), CL();
- })
- };
- let p = (0, I.useMemo)(() => {
- let e = kI(), t = (e) => () => eue[e] || e;
- return [
- e.display({
- id: "select",
- header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(jj, {
- slot: null,
- isSelected: e.row.getIsSelected(),
- onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${wL(e.row.original)}`
- })
- }),
- e.accessor(wL, {
- id: "name",
- header: t("name"),
- cell: (e) => {
- let t = oue(e.row.original, f.current.shared);
- 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)(aue, {
- source: e.row.original,
- avatarInner: f.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",
- header: t("kind"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
- className: "whitespace-nowrap",
- children: e.getValue()
- })
- }),
- e.accessor((e) => e.url, {
- id: "origin",
- header: t("origin"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)("a", {
- href: e.getValue(),
- target: "_blank",
- rel: "noreferrer noopener",
- title: "打开来源页面",
- className: "text-text-primary underline-offset-2 hover:underline",
- children: rue(e.getValue())
- })
- }),
- e.display({
- id: "status",
- header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(iue, { source: e.row.original })
- }),
- e.accessor((e) => nue(e.interval_minutes), {
- id: "interval",
- header: t("interval"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
- className: "whitespace-nowrap",
- children: e.getValue()
- })
- }),
- e.accessor((e) => e.last_fetched_at ? kE(e.last_fetched_at) : "还没拉过", {
- id: "fetched",
- header: t("fetched"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
- className: "whitespace-nowrap tabular-nums",
- children: e.getValue()
- })
- }),
- e.accessor((e) => e.last_new_count, {
- id: "fresh",
- header: t("fresh"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
- className: "whitespace-nowrap tabular-nums",
- children: `${e.getValue()} 条`
- })
- }),
- e.display({
- id: "actions",
- header: t("actions"),
- cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
- className: "flex items-center gap-1",
- children: [
- /* @__PURE__ */ (0, L.jsx)(yL, {
- "aria-label": `启用 ${wL(e.row.original)}`,
- isSelected: e.row.original.enabled,
- isDisabled: f.current.readOnly,
- onChange: (t) => f.current.toggle(e.row.original, t)
- }),
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "xs",
- iconOnly: !0,
- leadingIcon: mC,
- "aria-label": `拉取 ${wL(e.row.original)}`,
- disabled: f.current.readOnly,
- ...Y(f.current.busy === `check-${e.row.original.id}`),
- onClick: () => f.current.fetch(e.row.original)
- }),
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "xs",
- iconOnly: !0,
- leadingIcon: tC,
- "aria-label": `移除 ${wL(e.row.original)}`,
- disabled: f.current.readOnly,
- onClick: () => f.current.remove(e.row.original)
- })
- ]
- })
- })
- ];
- }, []), m = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), h = vL({
- data: o,
- columns: p,
- getRowId: (e) => String(e.id),
- state: { rowSelection: m },
- enableRowSelection: !0,
- onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(m) : e;
- c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
- },
- getCoreRowModel: gL()
- });
- if (!a) return r.error ? /* @__PURE__ */ (0, L.jsx)(J, {
- tone: "error",
- title: "打不开订阅源",
- children: K(r.error)
- }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "正在读订阅源。" });
- let g = () => void i.run("check", (e) => IF(e), () => void CL()), _ = (e) => c((t) => {
- let n = new Set(t);
- return n.has(e) ? n.delete(e) : n.add(e), n;
- }), v = o.filter((e) => s.has(e.id)), y = o.filter((e) => e.last_error);
- return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: "flex flex-col gap-3",
- children: [
- /* @__PURE__ */ (0, L.jsx)($le, {
- readOnly: e,
- toast: t,
- onAdded: () => void CL()
- }),
- /* @__PURE__ */ (0, L.jsxs)("div", {
- className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsx)(ZA, {
- role: "status",
- children: a.unread ? `有 ${a.unread} 条新作还没看` : "新作都看过了"
- }), /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: g,
- disabled: e,
- ...Y(i.busy === "check"),
- children: "立即拉取"
- })]
- }),
- y.length || i.error ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: "flex flex-col gap-3",
- children: [y.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
- tone: "error",
- title: `${wL(e)} 拉取失败`,
- children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.error }) : null]
- }) : null,
- /* @__PURE__ */ (0, L.jsxs)(SL, {
- visible: v.length > 0,
- label: "订阅源批量操作",
- count: `已选 ${v.length} 条订阅源`,
- children: [
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "small",
- disabled: e,
- ...Y(u.isPending),
- onClick: () => u.mutate({
- ids: v.map((e) => e.id),
- action: "enabled"
- }),
- children: "启用"
- }),
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "small",
- disabled: e,
- ...Y(u.isPending),
- onClick: () => u.mutate({
- ids: v.map((e) => e.id),
- action: "paused"
- }),
- children: "暂停"
- }),
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "danger",
- size: "small",
- disabled: e,
- ...Y(u.isPending),
- onClick: () => void TL(v, () => u.mutateAsync({
- ids: v.map((e) => e.id),
- action: "remove"
- })),
- children: "移除"
- }),
- /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "ghost",
- size: "small",
- onClick: () => c(/* @__PURE__ */ new Set()),
- children: "取消选择"
- })
- ]
- }),
- o.length ? /* @__PURE__ */ (0, L.jsx)(Fj, {
- onRowClick: (e) => _(Number(e)),
- children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
- "aria-label": "JAV 订阅源",
- size: "sm",
- children: [/* @__PURE__ */ (0, L.jsx)(sA, { children: h.getHeaderGroups()[0].headers.map((e) => {
- let t = _L(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(cA, {
- id: e.id,
- isRowHeader: e.column.id === "name",
- children: tue.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : t
- }, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(uA, { children: h.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(pA, {
- id: e.id,
- "data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(hA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
- }, e.id)) })]
- })
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: hC,
- title: "还没有订阅源",
- shell: "plain",
- children: "在上面按女优名添加,或在人物页点「订阅新作」。"
- })
- ]
- });
-}
-//#endregion
//#region src/react/follow-manage/source-list.tsx
-var lue = Object.fromEntries(Object.entries(gF).map(([e, t]) => [t, e])), EL = 740;
-function uue() {
+var $le = Object.fromEntries(Object.entries(gF).map(([e, t]) => [t, e])), TL = 740;
+function eue() {
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 < EL));
- r.observe(e), n.current = r, t(e.clientWidth < EL);
+ let r = new ResizeObserver(() => t(e.clientWidth < TL));
+ r.observe(e), n.current = r, t(e.clientWidth < TL);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var due = {
+var tue = {
select: "选择",
author: "创作者",
source: "来源",
@@ -43061,9 +42724,9 @@ var due = {
checked: "上次检查",
actions: "操作"
};
-function fue({ page: e, pages: t, onPage: n }) {
+function EL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
- "aria-label": "关注列表分页",
+ "aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
children: [
/* @__PURE__ */ (0, L.jsx)(G, {
@@ -43075,7 +42738,7 @@ function fue({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: TE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: CE(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: "…"
@@ -43098,22 +42761,22 @@ function fue({ page: e, pages: t, onPage: n }) {
]
});
}
-function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
+function nue({ 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",
onClick: (e) => {
- Pj(e, e.currentTarget) && n(!t);
+ jj(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, L.jsx)(jj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(TI, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -43121,17 +42784,17 @@ function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, L.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, L.jsx)(xI, {
+ children: /* @__PURE__ */ (0, L.jsx)(SI, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, L.jsx)(CI, { source: e }),
+ /* @__PURE__ */ (0, L.jsx)(wI, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: BF(e)
+ children: VF(e)
}),
- /* @__PURE__ */ (0, L.jsx)(yL, {
+ /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -43143,7 +42806,7 @@ function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: pC,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -43152,7 +42815,7 @@ function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: eC,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -43161,11 +42824,11 @@ function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function mue({ 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(vF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = TF(r, c);
+function rue({ 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(vF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = EF(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: gw({
+ className: hw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -43175,7 +42838,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(SI, {
+ /* @__PURE__ */ (0, L.jsx)(CI, {
group: e,
name: t
}),
@@ -43187,7 +42850,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: pC,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -43196,7 +42859,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(iv, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(SI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(rv, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -43205,7 +42868,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: XS,
+ leadingIcon: YS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -43216,7 +42879,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? YS : GS,
+ leadingIcon: n ? JS : WS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -43226,7 +42889,7 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(pue, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(nue, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -43235,37 +42898,37 @@ function mue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function hue(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: h, 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] = uue(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => hse(v, n, r, y), [
+function iue(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: h, 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] = eue(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => gse(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, I.useMemo)(() => gse(D, n, r, y), [
+ ]), O = (0, I.useMemo)(() => _se(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = Tj({
- queryKey: ise,
+ ]), { job: k, running: A, outcome: j, start: M } = Sj({
+ queryKey: ase,
queryFn: ({ signal: e }) => yse(e),
- start: (e) => kF(e),
+ start: (e) => AF(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- zF(), h(e.status === "failed" ? e.error || "检查失败" : jse(e));
+ BF(), h(e.status === "failed" ? e.error || "检查失败" : jse(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(EF(s, [e], t)), te = (e, t) => m(EF(s, e, t)), P = It({
- mutationFn: (e) => jF(e),
+ }, ee = (e, t) => m(DF(s, [e], t)), te = (e, t) => m(DF(s, e, t)), P = It({
+ mutationFn: (e) => MF(e),
onSuccess: (e, t) => {
- RF([t]), m(EF(s, [t], !1)), h("已取消关注来源");
+ zF([t]), m(DF(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(K(e))
}), ne = It({
- mutationFn: (e) => AF(e.id, e.enabled),
+ mutationFn: (e) => jF(e.id, e.enabled),
onSuccess: (e, t) => {
- LF(t.id, { enabled: t.enabled }), E("");
+ RF(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
}), F = (e) => void g({
@@ -43277,7 +42940,7 @@ function hue(e) {
}), re = It({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await jF(t) : await AF(t, e.action === "enabled");
+ e.action === "remove" ? await MF(t) : await jF(t, e.action === "enabled");
});
return {
...e,
@@ -43286,9 +42949,9 @@ function hue(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") RF(e.done);
- else for (let t of e.done) LF(t, { enabled: e.action === "enabled" });
- m(EF(s, e.done, !1));
+ if (e.action === "remove") zF(e.done);
+ else for (let t of e.done) RF(t, { enabled: e.action === "enabled" });
+ m(DF(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)}`);
@@ -43312,7 +42975,7 @@ function hue(e) {
};
},
onSuccess: (e) => {
- if (zF(), e.failed.length) {
+ if (BF(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -43337,12 +43000,12 @@ function hue(e) {
readOnly: c
};
let se = oe.current, ce = (0, I.useMemo)(() => {
- let e = kI(), t = (e) => () => due[e] || e;
+ let e = AI(), t = (e) => () => tue[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(jj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Oj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -43354,7 +43017,7 @@ function hue(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(SI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(CI, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, L.jsx)("span", {
@@ -43368,7 +43031,7 @@ function hue(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(TI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -43379,18 +43042,18 @@ function hue(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(CI, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(wI, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => BF(e.row.original.source)
+ cell: (e) => VF(e.row.original.source)
}),
e.display({
id: "actions",
@@ -43398,7 +43061,7 @@ function hue(e) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(yL, {
+ /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -43408,7 +43071,7 @@ function hue(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: pC,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...Y(se.busy),
@@ -43418,7 +43081,7 @@ function hue(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: eC,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -43428,12 +43091,12 @@ function hue(e) {
})
];
}, [se]), le = (0, I.useMemo)(() => {
- let e = lue[n];
+ let e = $le[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = _se(R ? O.length : D.length, o, i), de = vL({
+ }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = TF(R ? O.length : D.length, o, i), de = bL({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -43464,11 +43127,11 @@ function hue(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: gL(),
- getPaginationRowModel: Vle()
- }), 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 = TF(s, pe), he = [...s], ge = Mse(j), _e = Nse(j), ve = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: _L(),
+ getPaginationRowModel: vL()
+ }), 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 = EF(s, pe), he = [...s], ge = Mse(j), _e = Nse(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43487,7 +43150,7 @@ function hue(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: mC,
+ leadingIcon: pC,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -43502,20 +43165,20 @@ function hue(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Ute,
+ leadingIcon: Wte,
"aria-label": mF[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Gte,
+ leadingIcon: Kte,
"aria-label": mF[1][1],
"aria-pressed": R,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -43523,7 +43186,7 @@ function hue(e) {
let t = String(e);
u(t, tF[t]);
},
- children: eF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: eF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
@@ -43531,14 +43194,14 @@ function hue(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? JS : WS,
- "aria-label": dse(n, r),
+ leadingIcon: r === "asc" ? qS : US,
+ "aria-label": fse(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ve ? GS : YS,
+ leadingIcon: ve ? WS : JS,
"aria-label": ve ? "全部展开" : "全部收起",
onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ve ? "全部展开" : "全部收起"
@@ -43549,11 +43212,12 @@ function hue(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
- label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
- value: k.checked || 0,
- max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: k?.message || "正在准备检查任务" }) : null,
+ A ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ embedded: !0,
+ label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
+ value: k?.checked,
+ total: k?.total
+ }) : null,
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "操作未完成",
@@ -43574,7 +43238,7 @@ function hue(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(SL, {
+ /* @__PURE__ */ (0, L.jsxs)(wL, {
label: "关注来源批量操作",
visible: he.length > 0,
count: `已选 ${he.length} 个来源`,
@@ -43634,10 +43298,10 @@ function hue(e) {
})
]
}),
- R ? /* @__PURE__ */ (0, L.jsx)(Fj, {
+ R ? /* @__PURE__ */ (0, L.jsx)(Mj, {
follow: !0,
onRowClick: (e) => ee(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(kj, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -43648,9 +43312,9 @@ function hue(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, L.jsx)(sA, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in gF, n = _L(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(cA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(oA, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in gF, n = yL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(sA, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -43659,20 +43323,20 @@ function hue(e) {
children: [n, /* @__PURE__ */ (0, L.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(gj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(pj, {})
})]
- }) : /* @__PURE__ */ (0, L.jsx)(iv, { children: n })
+ }) : /* @__PURE__ */ (0, L.jsx)(rv, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(uA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(lA, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(pA, {
+ children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(fA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(hA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(mA, { children: yL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(jj, {
+ }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => te(pe, e),
@@ -43682,7 +43346,7 @@ function hue(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)(mue, {
+ return /* @__PURE__ */ (0, L.jsx)(rue, {
group: e,
name: CF(e, y),
handlers: se,
@@ -43704,19 +43368,19 @@ function hue(e) {
className: "text-body-2-regular text-text-secondary",
children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: hF.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: hF.map((e) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: String(e),
children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(fue, {
+ /* @__PURE__ */ (0, L.jsx)(EL, {
page: z.page,
pages: z.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -43765,11 +43429,11 @@ function hue(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: hC,
+ icon: mC,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -43779,16 +43443,429 @@ function hue(e) {
});
}
//#endregion
+//#region src/react/follow-manage/feed-sources.tsx
+var aue = {
+ select: "选择",
+ name: "名称",
+ kind: "类型",
+ origin: "来源",
+ status: "状态",
+ interval: "频率",
+ fetched: "上次拉取",
+ fresh: "上次新增",
+ actions: "操作"
+}, oue = /* @__PURE__ */ new Set(["select", "actions"]), DL = () => X.invalidateQueries({
+ queryKey: pF,
+ exact: !0
+}), OL = (e) => e.name || e.url, sue = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function cue(e) {
+ try {
+ return new URL(e).hostname.replace(/^www\./, "");
+ } catch {
+ return e;
+ }
+}
+function lue({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(lw, {
+ variant: "caption",
+ color: "rose",
+ children: "拉取失败"
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(lw, {
+ variant: "caption",
+ color: "lime",
+ children: "正常"
+ }) : /* @__PURE__ */ (0, L.jsx)(lw, {
+ variant: "caption",
+ color: "neutral",
+ children: "已暂停"
+ });
+}
+function uue({ 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: `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 ${SL}`,
+ dangerouslySetInnerHTML: { __html: t(OL(e), n, null, "performer") }
+ });
+}
+var due = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function fue(e) {
+ let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
+ for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
+ return n;
+}
+function kL(e, t) {
+ let n = e.length === 1 ? e[0] : null;
+ return g({
+ title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
+ body: n ? `将移除订阅源「${OL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
+ danger: !0,
+ onConfirm: t
+ });
+}
+function pue({ readOnly: e, toast: t, avatarInner: n }) {
+ let r = Ft({
+ queryKey: pF,
+ queryFn: ({ signal: e }) => PF(e)
+ }), i = xw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), [u, d] = (0, I.useState)(1), [f, p] = (0, I.useState)(20), m = TF(o.length, f, u);
+ (0, I.useEffect)(() => {
+ d((e) => Math.min(e, m.pages));
+ }, [m.pages]), (0, I.useEffect)(() => {
+ 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;
+ });
+ }, [o]);
+ let h = It({
+ mutationFn: async (e) => {
+ let t = await l(e.ids, 4, async (t) => {
+ e.action === "remove" ? await IF(t) : await FF(t, e.action === "enabled");
+ });
+ return {
+ ...e,
+ results: t
+ };
+ },
+ onSuccess: (e) => {
+ let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
+ if (c(/* @__PURE__ */ new Set()), DL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ let e = n[0];
+ i.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
+ }
+ },
+ onError: (e) => i.setError(K(e))
+ }), g = (0, I.useMemo)(() => fue(o), [o]), _ = (0, I.useRef)({
+ readOnly: e,
+ avatarInner: n,
+ shared: g,
+ busy: null,
+ toggle: () => {},
+ fetch: () => {},
+ remove: () => {}
+ });
+ _.current = {
+ readOnly: e,
+ avatarInner: n,
+ shared: g,
+ busy: i.busy,
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => FF(e.id, t, n), () => void DL()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => LF(t, [e.id]), () => void DL()),
+ remove: (e) => void kL([e], async () => {
+ await IF(e.id), t(`已移除订阅源「${OL(e)}」`), DL();
+ })
+ };
+ let v = (0, I.useMemo)(() => {
+ let e = AI(), t = (e) => () => aue[e] || e;
+ return [
+ e.display({
+ id: "select",
+ header: t("select"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Oj, {
+ slot: null,
+ isSelected: e.row.getIsSelected(),
+ onChange: (t) => e.row.toggleSelected(t),
+ "aria-label": `选择 ${OL(e.row.original)}`
+ })
+ }),
+ e.accessor(OL, {
+ id: "name",
+ header: t("name"),
+ cell: (e) => {
+ let t = due(e.row.original, _.current.shared);
+ 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)(uue, {
+ source: e.row.original,
+ avatarInner: _.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",
+ header: t("kind"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.url, {
+ id: "origin",
+ header: t("origin"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("a", {
+ href: e.getValue(),
+ target: "_blank",
+ rel: "noreferrer noopener",
+ title: "打开来源页面",
+ className: "text-text-primary underline-offset-2 hover:underline",
+ children: cue(e.getValue())
+ })
+ }),
+ e.display({
+ id: "status",
+ header: t("status"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(lue, { source: e.row.original })
+ }),
+ e.accessor((e) => sue(e.interval_minutes), {
+ id: "interval",
+ header: t("interval"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.last_fetched_at ? DE(e.last_fetched_at) : "还没拉过", {
+ id: "fetched",
+ header: t("fetched"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.last_new_count, {
+ id: "fresh",
+ header: t("fresh"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: `${e.getValue()} 条`
+ })
+ }),
+ e.display({
+ id: "actions",
+ header: t("actions"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ className: "flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(xL, {
+ "aria-label": `启用 ${OL(e.row.original)}`,
+ isSelected: e.row.original.enabled,
+ isDisabled: _.current.readOnly,
+ onChange: (t) => _.current.toggle(e.row.original, t)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: pC,
+ "aria-label": `拉取 ${OL(e.row.original)}`,
+ disabled: _.current.readOnly,
+ ...Y(_.current.busy === `check-${e.row.original.id}`),
+ onClick: () => _.current.fetch(e.row.original)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: eC,
+ "aria-label": `移除 ${OL(e.row.original)}`,
+ disabled: _.current.readOnly,
+ onClick: () => _.current.remove(e.row.original)
+ })
+ ]
+ })
+ })
+ ];
+ }, []), y = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = bL({
+ data: o,
+ columns: v,
+ getRowId: (e) => String(e.id),
+ state: {
+ rowSelection: y,
+ pagination: {
+ pageIndex: m.page - 1,
+ pageSize: f
+ }
+ },
+ enableRowSelection: !0,
+ onRowSelectionChange: (e) => {
+ let t = typeof e == "function" ? e(y) : e;
+ c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ },
+ getCoreRowModel: _L(),
+ getPaginationRowModel: vL()
+ });
+ if (!a) return r.error ? /* @__PURE__ */ (0, L.jsx)(J, {
+ tone: "error",
+ title: "打不开订阅源",
+ children: K(r.error)
+ }) : /* @__PURE__ */ (0, L.jsx)(JA, { children: "正在读订阅源。" });
+ let x = () => void i.run("check", (e) => LF(e), () => void DL()), S = (e) => c((t) => {
+ let n = new Set(t);
+ return n.has(e) ? n.delete(e) : n.add(e), n;
+ }), C = o.filter((e) => s.has(e.id)), w = o.filter((e) => e.last_error);
+ return /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [/* @__PURE__ */ (0, L.jsx)(Qle, {
+ readOnly: e,
+ toast: t,
+ onAdded: () => void DL()
+ }), /* @__PURE__ */ (0, L.jsxs)("section", {
+ "aria-label": "JAV 订阅列表",
+ className: hw({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)("h3", {
+ className: "mr-auto text-title-2-medium text-text-primary",
+ children: "JAV 订阅源"
+ }),
+ /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${o.length} 个订阅源 · ${a.unread} 条未看`
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: x,
+ disabled: e,
+ ...Y(i.busy === "check"),
+ children: "立即拉取"
+ })
+ ]
+ }),
+ w.length || i.error ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [w.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
+ tone: "error",
+ title: `${OL(e)} 拉取失败`,
+ children: e.last_error
+ }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: i.error }) : null]
+ }) : null,
+ /* @__PURE__ */ (0, L.jsxs)(wL, {
+ visible: C.length > 0,
+ label: "订阅源批量操作",
+ count: `已选 ${C.length} 条订阅源`,
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...Y(h.isPending),
+ onClick: () => h.mutate({
+ ids: C.map((e) => e.id),
+ action: "enabled"
+ }),
+ children: "启用"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...Y(h.isPending),
+ onClick: () => h.mutate({
+ ids: C.map((e) => e.id),
+ action: "paused"
+ }),
+ children: "暂停"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "danger",
+ size: "small",
+ disabled: e,
+ ...Y(h.isPending),
+ onClick: () => void kL(C, () => h.mutateAsync({
+ ids: C.map((e) => e.id),
+ action: "remove"
+ })),
+ children: "移除"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => c(/* @__PURE__ */ new Set()),
+ children: "取消选择"
+ })
+ ]
+ }),
+ o.length ? /* @__PURE__ */ (0, L.jsx)(Mj, {
+ onRowClick: (e) => S(Number(e)),
+ children: /* @__PURE__ */ (0, L.jsxs)(kj, {
+ "aria-label": "JAV 订阅源",
+ size: "sm",
+ children: [/* @__PURE__ */ (0, L.jsx)(oA, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = yL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(sA, {
+ id: e.id,
+ isRowHeader: e.column.id === "name",
+ children: oue.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(rv, { children: t }) : t
+ }, e.id);
+ }) }), /* @__PURE__ */ (0, L.jsx)(lA, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(fA, {
+ id: e.id,
+ "data-follow-selected": e.getIsSelected() || void 0,
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(mA, { children: yL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ }, e.id)) })]
+ })
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: mC,
+ title: "还没有订阅源",
+ shell: "plain",
+ children: "在上面按女优名添加,或在人物页点「订阅新作」。"
+ }),
+ o.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-center justify-between gap-3",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${m.start + 1}–${m.end} / ${m.total} 个订阅源`
+ }),
+ /* @__PURE__ */ (0, L.jsx)(_j, {
+ "aria-label": "每页显示数量",
+ size: "sm",
+ selectedKey: String(f),
+ onSelectionChange: (e) => {
+ e !== null && (p(Number(e)), d(1));
+ },
+ children: hF.map((e) => /* @__PURE__ */ (0, L.jsx)(vj, {
+ id: String(e),
+ children: `每页 ${e} 条`
+ }, e))
+ }),
+ /* @__PURE__ */ (0, L.jsx)(EL, {
+ label: "JAV 订阅分页",
+ page: m.page,
+ pages: m.pages,
+ onPage: d
+ })
+ ]
+ }) : null,
+ /* @__PURE__ */ (0, L.jsx)("footer", {
+ className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
+ children: /* @__PURE__ */ (0, L.jsx)("span", {
+ role: "status",
+ className: "mr-auto text-body-2-regular text-text-secondary",
+ children: `未看 ${a.unread} · 已启用 ${o.filter((e) => e.enabled).length} / ${o.length}`
+ })
+ })
+ ]
+ })]
+ });
+}
+//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var DL = [
+var AL = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], OL = (e) => DL.some(([t]) => t === e);
-function kL({ term: e, figure: t, unit: n }) {
+], jL = (e) => AL.some(([t]) => t === e);
+function ML({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -43804,16 +43881,16 @@ function kL({ term: e, figure: t, unit: n }) {
})]
});
}
-function gue(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(OL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => nF(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => nF(e.sort, e.dir).dir), [g, _] = (0, I.useState)(cse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(lse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
+function mue(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(jL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => nF(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => nF(e.sort, e.dir).dir), [g, _] = (0, I.useState)(lse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(use(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
queryKey: dF,
- queryFn: ({ signal: e }) => DF(e)
+ queryFn: ({ signal: e }) => OF(e)
}), C = Ft({
queryKey: fF,
- queryFn: ({ signal: e }) => OF(e)
+ queryFn: ({ signal: e }) => kF(e)
}), w = Ft({
queryKey: pF,
- queryFn: ({ signal: e }) => NF(e)
+ queryFn: ({ signal: e }) => PF(e)
}), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
@@ -43832,8 +43909,8 @@ function gue(e) {
sort: n === "checked" ? "" : n,
dir: r === tF[n] ? "" : r
});
- }, k = wF(D), A = D.filter(vF).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !VF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ }, k = wF(D), A = D.filter(vF).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !HF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -43848,64 +43925,64 @@ function gue(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: _ie,
+ className: vie,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "关注创作者",
figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "启用来源",
figure: j,
unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "检查失败",
figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "未看更新",
figure: T.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "JAV 订阅",
figure: N,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(kL, {
+ /* @__PURE__ */ (0, L.jsx)(ML, {
term: "未看新作",
figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- OL(t) && (l(t), O({ tab: t }));
+ jL(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, L.jsx)(bA, {
+ /* @__PURE__ */ (0, L.jsx)(yA, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: DL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xA, {
+ children: AL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(bA, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(hue, {
+ children: /* @__PURE__ */ (0, L.jsx)(iue, {
data: T,
sort: f,
dir: m,
@@ -43935,7 +44012,7 @@ function gue(e) {
}
})
}),
- /* @__PURE__ */ (0, L.jsxs)(SA, {
+ /* @__PURE__ */ (0, L.jsxs)(xA, {
id: "add",
className: "flex flex-col gap-8",
children: [/* @__PURE__ */ (0, L.jsx)(Zce, {
@@ -43954,16 +44031,16 @@ function gue(e) {
sources: T.sources
})]
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(cue, {
+ children: /* @__PURE__ */ (0, L.jsx)(pue, {
readOnly: a,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "source",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, L.jsx)(lle, {
@@ -43978,32 +44055,32 @@ function gue(e) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var AL = (e) => ["item", e], jL = (e) => [
+var NL = (e) => ["item", e], PL = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], _ue = (e, t) => [
+], hue = (e, t) => [
"item-related",
e,
t
-], vue = (e) => `/api/item?id=${e}`, yue = (e, t) => `/api/related?id=${e}&limit=${t}`, ML = "/api/playlist", bue = "/api/feedback", NL = "/api/item-tag", PL = "/api/watch-later", FL = "/api/quality-goal", IL = "/api/preference", LL = class extends Error {};
-async function RL(e, t) {
- let n = await hw(vue(e), t);
- if (n.error) throw new LL(n.error);
+], gue = (e) => `/api/item?id=${e}`, _ue = (e, t) => `/api/related?id=${e}&limit=${t}`, FL = "/api/playlist", vue = "/api/feedback", IL = "/api/item-tag", LL = "/api/watch-later", RL = "/api/quality-goal", zL = "/api/preference", BL = class extends Error {};
+async function VL(e, t) {
+ let n = await mw(gue(e), t);
+ if (n.error) throw new BL(n.error);
return n;
}
-async function zL(e, t, n) {
+async function HL(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([RL(r, n), t.mixRelated(r)]);
- return X.setQueryData(AL(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([VL(r, n), t.mixRelated(r)]);
+ return X.setQueryData(NL(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${t.mixLabel(i)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return BL(await hw(`${ML}?id=${e.playlistId}`, n));
- let r = await hw(`/api/${e.kind}?id=${e.seedId}`, n);
+ if (e.kind === "playlist") return UL(await mw(`${FL}?id=${e.playlistId}`, n));
+ let r = await mw(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
kind: e.kind,
@@ -44012,17 +44089,17 @@ async function zL(e, t, n) {
items: r.items
};
}
-var BL = (e) => ({
+var UL = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
});
-function VL(e, t) {
+function WL(e, t) {
return e.kind === "mix" ? t : e.items.length ? t != null && e.items.some((e) => e.id === t) ? t : e.kind === "playlist" && e.currentAssetId || e.items[0].id : null;
}
-function xue(e, t) {
+function yue(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -44030,14 +44107,14 @@ function xue(e, t) {
part_label: n
};
}
-async function Sue(e, t) {
+async function bue(e, t) {
let { queue: n, actions: r } = e, i = null;
if (n) {
- let a = jL(n);
+ let a = PL(n);
try {
i = (n.fresh ? void 0 : X.getQueryData(a)) || await X.fetchQuery({
queryKey: a,
- queryFn: () => zL(n, e.helpers, t),
+ queryFn: () => HL(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -44050,19 +44127,19 @@ async function Sue(e, t) {
}
e.grid.cache(i.items);
}
- let a = i ? VL(i, e.id) : e.id;
+ let a = i ? WL(i, e.id) : e.id;
if (a == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
let o;
try {
- o = X.getQueryData(AL(a)) || await X.fetchQuery({
- queryKey: AL(a),
- queryFn: () => RL(a, t)
+ o = X.getQueryData(NL(a)) || await X.fetchQuery({
+ queryKey: NL(a),
+ queryFn: () => VL(a, t)
});
} catch (e) {
- if (e instanceof LL) {
+ if (e instanceof BL) {
r.redirect({ kind: "gone" });
return;
}
@@ -44073,7 +44150,7 @@ async function Sue(e, t) {
id: Number(o.follow_item_id)
});
}
-function Cue(e) {
+function xue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = o(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -44094,42 +44171,42 @@ function Cue(e) {
unowned: !i.length && !l.length && !String(e.creator || "").trim()
};
}
-var HL = (e) => Math.min(Math.max(e || 0, 0), 100), UL = (e) => Math.round(HL(e) / 20), wue = (e) => {
- let t = UL(e);
+var GL = (e) => Math.min(Math.max(e || 0, 0), 100), KL = (e) => Math.round(GL(e) / 20), Sue = (e) => {
+ let t = KL(e);
return t ? `${t} 星` : "未评分";
-}, Tue = (e, t) => {
+}, Cue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Eue(e, t) {
+function wue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = o(t.tagLabel(e.k)), i = n.get(r);
(!i || o(e.k) === r && o(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var WL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), GL = (e, t) => ({
+var qL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), JL = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => o(e.k) !== o(t))
-}), KL = (e, t) => WL(e, t.k) ? e : {
+}), YL = (e, t) => qL(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, qL = "peach.recentTags";
-function JL() {
+}, XL = "peach.recentTags";
+function ZL() {
try {
- let e = JSON.parse(localStorage.getItem(qL) || "[]");
+ let e = JSON.parse(localStorage.getItem(XL) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Due(e) {
+function Tue(e) {
try {
- let t = JL().filter((t) => o(t) !== o(e));
- localStorage.setItem(qL, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = ZL().filter((t) => o(t) !== o(e));
+ localStorage.setItem(XL, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Oue(e, t, n) {
+function Eue(e, t, n) {
let r = o(e), i = new Map(t.map((e) => [o(e.k), e])), a = t.filter((e) => !r || o(e.k).includes(r)).slice(0, 120), s = r ? [] : n.map((e) => i.get(o(e)) || {
k: e,
n: 0
@@ -44140,59 +44217,59 @@ function Oue(e, t, n) {
create: r && !c ? e.trim() : ""
};
}
-var kue = {
+var Due = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Aue = {
+}, Oue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function jue(e) {
+function kue(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: Aue[e.kind],
+ title: Oue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var YL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Mue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(YL(e.part_label))}</small>` : "";
-function Nue(e, t, n, r) {
+var QL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Aue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(QL(e.part_label))}</small>` : "";
+function jue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Pue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Fue(e, t) {
+var Mue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Nue(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Iue(e) {
+function Pue(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function Lue(e, t) {
+function Fue(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Rue(e) {
+function Iue(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 zue(e) {
+function Lue(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Rue(n ?? t.body);
+ return Iue(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var Bue = "/api/cover-crop", Vue = (e, t) => q(Bue, {
+var Rue = "/api/cover-crop", zue = (e, t) => q(Rue, {
code: e,
box: t
-}), XL = .704;
-function ZL({ className: e }) {
+}), $L = .704;
+function eR({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -44205,7 +44282,7 @@ function ZL({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function Hue({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Bue({ 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,
@@ -44216,15 +44293,15 @@ function Hue({ 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)(ZL, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(vy, {
- getContainer: () => zue(o.current),
- children: /* @__PURE__ */ (0, L.jsx)(DP, {
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, L.jsx)(_y, {
+ getContainer: () => Lue(o.current),
+ children: /* @__PURE__ */ (0, L.jsx)(wP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(Uue, {
+ children: /* @__PURE__ */ (0, L.jsx)(Vue, {
code: e,
coverUrl: t,
box: n,
@@ -44234,9 +44311,9 @@ function Hue({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Uue({ 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 = RA(), f = It({
- mutationFn: (t) => Vue(e, t),
+function Vue({ 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 = PA(), f = It({
+ mutationFn: (t) => zue(e, t),
onSuccess: () => {
i(), r();
}
@@ -44248,19 +44325,19 @@ function Uue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : gP(e, XL);
- c(vP(t, e, null));
+ } : pP(e, $L);
+ c(hP(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)(OP, { children: /* @__PURE__ */ (0, L.jsx)(ZL, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(TP, { children: /* @__PURE__ */ (0, L.jsx)(eR, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sO, {
+ /* @__PURE__ */ (0, L.jsx)(oO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -44275,8 +44352,8 @@ function Uue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: QS,
+ /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: ZS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -44286,24 +44363,24 @@ function Uue({ 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)(jP, {
+ children: /* @__PURE__ */ (0, L.jsx)(OP, {
src: t,
- aspect: l ? XL : null,
+ aspect: l ? $L : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- mP(e) && p(e);
+ dP(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)(yL, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xL, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(vP(s, a, XL));
+ u(e), e && s && a && c(hP(s, a, $L));
},
children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -44332,21 +44409,21 @@ function Uue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var QL = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var tR = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), $L = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), nR = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function Wue(e) {
+function Hue(e) {
let { queue: t, actions: n } = e, r = Ft({
- queryKey: t ? jL(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => zL(t, e.helpers, n),
+ queryKey: t ? PL(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => HL(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? VL(i, e.id) : t ? null : e.id, o = Ft({
- queryKey: AL(a ?? 0),
- queryFn: ({ signal: e }) => RL(a, e),
+ }), i = t && r.data || null, a = i ? WL(i, e.id) : t ? null : e.id, o = Ft({
+ queryKey: NL(a ?? 0),
+ queryFn: ({ signal: e }) => VL(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -44357,9 +44434,9 @@ function Wue(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(eR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(rR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ children: e ? /* @__PURE__ */ (0, L.jsx)(Vw, {
message: d(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -44369,13 +44446,13 @@ function Wue(e) {
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(Gue, {
+ return /* @__PURE__ */ (0, L.jsx)(Uue, {
...e,
- item: xue(o.data, i),
+ item: yue(o.data, i),
queue: i
}, o.data.id);
}
-var eR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var rR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -44384,35 +44461,35 @@ var eR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: s("x") }
});
-function Gue(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = sde(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
+function Uue(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = ade(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
(0, I.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, I.useEffect)(() => {
- n?.kind === "playlist" && q(ML, {
+ n?.kind === "playlist" && q(FL, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Fue(t, i.sourceOffline(t.location || ""));
+ let s = Nue(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: n ? "sgrid mixgrid" : "sgrid",
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(Kue, {
+ /* @__PURE__ */ (0, L.jsx)(Wue, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, L.jsx)(Jue, {
+ n ? /* @__PURE__ */ (0, L.jsx)(Kue, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Zue, {
+ /* @__PURE__ */ (0, L.jsx)(Yue, {
item: t,
queue: n,
write: a,
@@ -44420,9 +44497,9 @@ function Gue(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(ode, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(ide, { ...e }) : null] });
}
-function Kue({ item: e, gate: t, helpers: n, actions: r }) {
+function Wue({ item: e, gate: t, helpers: n, actions: r }) {
let [i, o] = (0, I.useState)(t ? "" : "auto"), s = (0, I.useRef)(null), c = (0, I.useRef)(e);
(0, I.useLayoutEffect)(() => {
let e = s.current;
@@ -44433,8 +44510,8 @@ function Kue({ item: e, gate: t, helpers: n, actions: r }) {
className: "vwrap",
"data-item-media": t || "video",
children: [
- /* @__PURE__ */ (0, L.jsx)(eR, { onClose: r.close }),
- t === "offline" ? /* @__PURE__ */ (0, L.jsx)(que, {
+ /* @__PURE__ */ (0, L.jsx)(rR, { onClose: r.close }),
+ t === "offline" ? /* @__PURE__ */ (0, L.jsx)(Gue, {
item: e,
badge: l,
helpers: n,
@@ -44444,7 +44521,7 @@ function Kue({ item: e, gate: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, L.jsx)($L, { html: l }),
+ /* @__PURE__ */ (0, L.jsx)(nR, { html: l }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -44459,7 +44536,7 @@ function Kue({ item: e, gate: t, helpers: n, actions: r }) {
id: "gate",
"data-item-gate": "metered",
onClick: () => o("clicked"),
- children: [/* @__PURE__ */ (0, L.jsx)($L, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
+ children: [/* @__PURE__ */ (0, L.jsx)(nR, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
}) : null,
/* @__PURE__ */ (0, L.jsx)("video", {
ref: s,
@@ -44473,7 +44550,7 @@ function Kue({ item: e, gate: t, helpers: n, actions: r }) {
]
});
}
-function que({ item: e, badge: t, helpers: n, actions: r }) {
+function Gue({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -44484,7 +44561,7 @@ function que({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, L.jsx)($L, { html: t }),
+ /* @__PURE__ */ (0, L.jsx)(nR, { html: t }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -44498,8 +44575,8 @@ function que({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
- let a = jue(e), o = (0, I.useRef)(null), c = Xue(e, t, r), l = (0, I.useRef)(c);
+function Kue({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let a = kue(e), o = (0, I.useRef)(null), c = Jue(e, t, r), l = (0, I.useRef)(c);
l.current = c;
let u = (0, I.useCallback)((t) => {
o.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -44507,7 +44584,7 @@ function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => l.current.move(+e, +t, n)
}));
- }, [n, e.kind]), d = Yue(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
+ }, [n, e.kind]), d = que(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -44526,7 +44603,7 @@ function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, L.jsx)(uI, {
+ return /* @__PURE__ */ (0, L.jsx)(dI, {
kind: e.kind,
title: a.title,
summary: a.summary,
@@ -44535,33 +44612,33 @@ function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: u,
children: e.items.map((a) => {
let o = e.kind === "editions" && a.edition_label ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `javedition ${kue[a.edition_label] || "censored"}`,
+ className: `javedition ${Due[a.edition_label] || "censored"}`,
"data-queue-edition": "",
children: a.edition_label
}) : null;
- return /* @__PURE__ */ (0, L.jsxs)(dI, {
+ return /* @__PURE__ */ (0, L.jsxs)(fI, {
current: a.id === t,
"data-queue-item": a.id,
row: { "data-queue-row": a.id },
onClick: () => r.openQueueItem(p, a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($L, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(nR, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
})] }),
- lead: /* @__PURE__ */ (0, L.jsx)($L, { html: n.queueAvatarHtml(a) }),
+ lead: /* @__PURE__ */ (0, L.jsx)(nR, { html: n.queueAvatarHtml(a) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-queue-remove": a.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => c.remove(a.id),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -44572,14 +44649,14 @@ function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-truncate-end": "",
- children: e.kind === "parts" ? YL(a.part_label) : n.mixLabel(a)
+ children: e.kind === "parts" ? QL(a.part_label) : n.mixLabel(a)
})]
}, a.id);
})
});
}
-function Yue(e, t) {
- let n = It({ mutationFn: (t) => q(ML, {
+function que(e, t) {
+ let n = It({ mutationFn: (t) => q(FL, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -44592,11 +44669,11 @@ function Yue(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function Xue(e, t, n) {
- let r = jL({
+function Jue(e, t, n) {
+ let r = PL({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (X.setQueryData(r, BL(e)), e), a = (t) => q(ML, {
+ }), i = (e) => (X.setQueryData(r, UL(e)), e), a = (t) => q(FL, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = It({
@@ -44612,8 +44689,8 @@ function Xue(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Nue(s, t, r, c);
- if (Pue(l, s)) return;
+ let l = jue(s, t, r, c);
+ if (Mue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -44659,7 +44736,7 @@ function Xue(e, t, n) {
}
};
}
-function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function Yue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let o = e.location === "online", s = n.busyAttrs, [c, l] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "side",
@@ -44667,7 +44744,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "sidecontent",
children: [
- /* @__PURE__ */ (0, L.jsx)(Que, {
+ /* @__PURE__ */ (0, L.jsx)(Xue, {
item: e,
queue: t,
helpers: r,
@@ -44679,7 +44756,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, L.jsx)(ede, {
+ /* @__PURE__ */ (0, L.jsx)(Que, {
item: e,
write: n
}),
@@ -44689,7 +44766,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
e.width || "?",
"×",
e.height || "?"
@@ -44697,11 +44774,11 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
}),
e.release_date ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
@@ -44709,22 +44786,22 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(tde, {
+ /* @__PURE__ */ (0, L.jsx)($ue, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(nde, {
+ /* @__PURE__ */ (0, L.jsx)(ede, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(ide, { item: e }),
+ /* @__PURE__ */ (0, L.jsx)(nde, { item: e }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "fb",
"data-item-feedback": "",
@@ -44738,7 +44815,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...s("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44750,7 +44827,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => l((e) => !e),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44761,7 +44838,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...s("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44772,7 +44849,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...s("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "eye" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "eye" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44783,7 +44860,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...s("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44792,7 +44869,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "playlist" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "playlist" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44803,7 +44880,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...s("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "sparkles" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44814,11 +44891,11 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...s("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "trash" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(ade, {
+ /* @__PURE__ */ (0, L.jsx)(rde, {
item: e,
open: c,
write: n
@@ -44829,7 +44906,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...s("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, L.jsx)(QL, { name: "sperm" }),
+ /* @__PURE__ */ (0, L.jsx)(tR, { name: "sperm" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "mono",
@@ -44842,7 +44919,7 @@ function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function Que({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function Xue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, I.useRef)(null), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(!1);
(0, I.useLayoutEffect)(() => {
let e = a.current;
@@ -44852,7 +44929,7 @@ function Que({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Mue(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Aue(e, t);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -44879,18 +44956,18 @@ function Que({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: u,
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: o ? "chevron-up" : "chevron-down" })
}),
- e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(Hue, {
+ e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(Bue, {
code: e.code,
coverUrl: `/cover?code=${encodeURIComponent(e.code)}`,
box: e.poster_box || null,
onSaved: () => void X.invalidateQueries({
- queryKey: AL(e.id),
+ queryKey: NL(e.id),
exact: !0
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)($ue, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)(Zue, {
id: e.id,
actions: r,
onStatus: i
@@ -44900,7 +44977,7 @@ function Que({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function $ue({ id: e, actions: t, onStatus: n }) {
+function Zue({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, I.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -44930,17 +45007,17 @@ function $ue({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "folder-sync" })
})] });
}
-function ede({ item: e, write: t }) {
- let n = UL(e.rating);
+function Que({ item: e, write: t }) {
+ let n = KL(e.rating);
return /* @__PURE__ */ (0, L.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": HL(e.rating),
+ "data-value": GL(e.rating),
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -44957,18 +45034,18 @@ function ede({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "star" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: wue(e.rating)
+ children: Sue(e.rating)
})]
});
}
-function tde({ item: e, helpers: t, actions: n }) {
- let r = (0, I.useMemo)(() => Cue(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
- let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)($L, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
+function $ue({ item: e, helpers: t, actions: n }) {
+ let r = (0, I.useMemo)(() => xue(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
+ let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)(nR, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
src: `/logo?studio=${encodeURIComponent(r.name)}&variant=icon`,
alt: "",
loading: "lazy",
@@ -45022,7 +45099,7 @@ function tde({ item: e, helpers: t, actions: n }) {
onClick: n.openUnowned,
children: [/* @__PURE__ */ (0, L.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "user-round" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "user-round" })
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -45065,19 +45142,19 @@ function tde({ item: e, helpers: t, actions: n }) {
"data-entity-name": e.name,
title: e.name,
onClick: () => n.openEntity("series", e.name),
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-series-link": "",
title: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name))
})]
}) : null
]
});
}
-function nde({ item: e, write: t, helpers: n, actions: r }) {
- let i = Eue(e, n);
+function ede({ item: e, write: t, helpers: n, actions: r }) {
+ let i = wue(e, n);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "stags",
id: "detailTags",
@@ -45096,16 +45173,16 @@ function nde({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(rde, {
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(tde, {
item: e,
write: t,
helpers: n
})]
});
}
-function rde({ item: e, write: t, helpers: n }) {
+function tde({ item: e, write: t, helpers: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(!1), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(-1), h = (0, I.useCallback)(() => {
i.current && _(i.current), c(!1);
}, []);
@@ -45119,7 +45196,7 @@ function rde({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Oue(d, n.tagCandidates(), JL()) : {
+ let g = s ? Eue(d, n.tagCandidates(), ZL()) : {
recent: [],
results: [],
create: ""
@@ -45147,12 +45224,12 @@ function rde({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? v[p] : null;
- r ? y(r, r.n !== -1 && WL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? y(r, r.n !== -1 && qL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, x = -1, S = (t) => {
x += 1;
- let r = x, i = WL(e, t.k);
+ let r = x, i = qL(e, t.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -45160,7 +45237,7 @@ function rde({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => y(t, i),
children: [
- /* @__PURE__ */ (0, L.jsx)(QL, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, L.jsx)(tR, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -45183,7 +45260,7 @@ function rde({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (E(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(tR, { name: "plus" })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -45193,7 +45270,7 @@ function rde({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, L.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -45234,7 +45311,7 @@ function rde({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -45249,8 +45326,8 @@ function rde({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function ide({ item: e }) {
- let t = Iue(e);
+function nde({ item: e }) {
+ let t = Pue(e);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -45284,7 +45361,7 @@ function ide({ item: e }) {
})]
});
}
-function ade({ item: e, open: t, write: n }) {
+function rde({ item: e, open: t, write: n }) {
let [r, i] = (0, I.useState)(e.like_reason || ""), a = (0, I.useRef)(null);
(0, I.useEffect)(() => {
t && a.current?.focus();
@@ -45323,11 +45400,11 @@ function ade({ item: e, open: t, write: n }) {
})]
});
}
-function ode(e) {
+function ide(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
- queryKey: _ue(t.id, n),
+ queryKey: hue(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await hw(yue(t.id, n), e);
+ let r = await mw(_ue(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, I.useState)(() => r.relatedSkeletonHtml()), s = (0, I.useCallback)((e) => {
@@ -45342,7 +45419,7 @@ function ode(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, L.jsx)(xT, {
+ children: a.data ? /* @__PURE__ */ (0, L.jsx)(yT, {
mode: "items",
variant: "next",
items: a.data,
@@ -45356,12 +45433,12 @@ function ode(e) {
cache: i.cache,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)($L, { html: o })
+ }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)(nR, { html: o })
})]
});
}
-function sde(e, t, n, r) {
- let i = e.id, a = AL(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
+function ade(e, t, n, r) {
+ let i = e.id, a = NL(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), p = () => X.getQueryData(a) || e, m = (e) => {
@@ -45377,7 +45454,7 @@ function sde(e, t, n, r) {
rating: t.rating,
o_count: t.o_count
};
- return kre(i, r), n([t]), t;
+ return Are(i, r), n([t]), t;
}, h = (e, t) => q(e, {
id: i,
...t
@@ -45392,7 +45469,7 @@ function sde(e, t, n, r) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(bue, t === void 0 ? { kind: e } : {
+ let n = await h(vue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -45412,21 +45489,21 @@ function sde(e, t, n, r) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = p().rating || 0, r = Tue(n, e);
- await v("rate", r), t.toast(r ? `已评 ${UL(r)} 星` : "已取消评分", { undo: async () => {
+ let n = p().rating || 0, r = Cue(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${KL(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: p().feedback || null }, r = await v(e);
- t.toast(Lue(e, r), { undo: async () => {
+ t.toast(Fue(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(p().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(PL, {});
+ let e = await h(LL, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(PL, {})).watch_later });
+ m({ watch_later: (await h(LL, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -45436,9 +45513,9 @@ function sde(e, t, n, r) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(FL, { wanted: !e.wanted });
+ }), r = await h(RL, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(FL, e));
+ n(await h(RL, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -45452,7 +45529,7 @@ function sde(e, t, n, r) {
});
d("保存中…");
try {
- o(await h(IL, {
+ o(await h(zL, {
liked: a,
reason: i
}));
@@ -45462,7 +45539,7 @@ function sde(e, t, n, r) {
d("已保存"), setTimeout(() => d((e) => e === "已保存" ? "" : e), 1400);
let s = p();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(IL, r));
+ o(await h(zL, r));
} });
});
},
@@ -45471,11 +45548,11 @@ function sde(e, t, n, r) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => GL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
- await h(NL, {
+ m((t) => JL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
+ await h(IL, {
operation: "add",
tag: e.k
- }), m((t) => KL(t, e));
+ }), m((t) => YL(t, e));
} });
}),
addTag: (e) => {
@@ -45484,14 +45561,14 @@ function sde(e, t, n, r) {
(await h("/api/item-tag", {
operation: "add",
tag: n
- })).ok && (m((e) => KL(e, {
+ })).ok && (m((e) => YL(e, {
k: n,
cat: "general"
- })), Due(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
- await h(NL, {
+ })), Tue(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
+ await h(IL, {
operation: "remove",
tag: n
- }), m((e) => GL(e, n));
+ }), m((e) => JL(e, n));
} }));
});
}
@@ -45499,15 +45576,15 @@ function sde(e, t, n, r) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function cde({ value: e }) {
+function ode({ 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 lde = "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 tR({ tabs: e, value: t, label: n, onChange: r }) {
+var sde = "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 iR({ 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;
@@ -45535,14 +45612,14 @@ function tR({ 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 ? lT(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? sT(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: lde,
+ className: sde,
onClick: () => {
i || r(e.value);
},
@@ -45558,23 +45635,23 @@ function tR({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var nR = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var aR = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function ude({ tag: e, actions: t }) {
+function cde({ 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": dN(t.online, e.cat),
+ "data-tag-cat": cN(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)(nR, {}),
+ /* @__PURE__ */ (0, L.jsx)(aR, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -45586,23 +45663,23 @@ function ude({ tag: e, actions: t }) {
]
});
}
-function dde({ groups: e, actions: t }) {
+function lde({ 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: gw({
+ className: hw({
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)(cde, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(ode, { 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)(ude, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(cde, {
tag: e,
actions: t
}, e.k))
@@ -45610,8 +45687,8 @@ function dde({ groups: e, actions: t }) {
}, e))
});
}
-var fde = "\xA0";
-function pde({ tags: e, actions: t }) {
+var ude = "\xA0";
+function dde({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -45619,11 +45696,11 @@ function pde({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": dN(t.online, e.cat),
+ "data-tag-cat": cN(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 + fde, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + ude, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -45631,7 +45708,7 @@ function pde({ tags: e, actions: t }) {
}, e.k))
});
}
-var mde = [[
+var fde = [[
"cloud",
"标签云",
"tags"
@@ -45640,16 +45717,16 @@ var mde = [[
"字母表",
"text-aa"
]];
-function hde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(EM, {
+function pde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(CM, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(OM, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(TM, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : dN(n, e),
+ "data-tag-cat": e === "all" ? "all" : cN(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(nR, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(aR, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -45668,19 +45745,19 @@ function hde({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(Uk, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${ZN}`,
- children: mde.map(([e, t, n]) => {
- let r = lT(n);
- return /* @__PURE__ */ (0, L.jsx)(Gk, {
+ className: `ml-auto ${JN}`,
+ children: fde.map(([e, t, n]) => {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Wk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: QN,
+ className: YN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45692,13 +45769,13 @@ function hde({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function gde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(SL, {
+function mde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(wL, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, L.jsx)(jj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -45730,7 +45807,7 @@ function gde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var _de = [{
+var hde = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -45738,7 +45815,7 @@ var _de = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], rR = [{
+}], oR = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -45746,7 +45823,7 @@ var _de = [{
value: "online",
label: "在线",
symbol: "rss"
-}], vde = {
+}], gde = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -45766,20 +45843,20 @@ var _de = [{
"layout-grid"
]]
};
-function yde({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, L.jsx)(qN, {
- "aria-label": `${XM[e]}索引版式`,
+function _de({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(WN, {
+ "aria-label": `${qM[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${JN}`,
- children: vde[nN(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = lT(n);
- return /* @__PURE__ */ (0, L.jsx)(Gk, {
+ className: `flex-none max-board-narrow:order-3 ${GN}`,
+ children: gde[$M(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Wk, {
value: e,
"aria-label": t,
- className: XN,
+ className: qN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45789,8 +45866,8 @@ function yde({ kind: e, layout: t, onChange: n }) {
})
});
}
-var bde = lT("search");
-function xde({ label: e, value: t, onQuery: n }) {
+var vde = sT("search");
+function yde({ 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) => {
@@ -45805,15 +45882,15 @@ function xde({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, L.jsx)(qj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, L.jsx)(Qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Yj, {
type: "search",
- leadingIcon: bde,
+ leadingIcon: vde,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -45823,14 +45900,14 @@ function xde({ label: e, value: t, onQuery: n }) {
})
});
}
-function Sde(e) {
- let [t, n] = (0, I.useState)(() => rN({
+function bde(e) {
+ let [t, n] = (0, I.useState)(() => eN({
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 = XM[u], _ = u === "tags" && p === "online", v = 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 = qM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -45840,7 +45917,7 @@ function Sde(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = sN(iN(t)), w = Lt({
+ }, C = iN(tN(t)), w = Lt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -45849,21 +45926,21 @@ function Sde(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: y ? Pe : void 0
- }), T = lN(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = uN(T.length, !!w.hasNextPage);
+ }), T = oN(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = sN(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" ? mN(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? dN(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(tR, {
- tabs: rR,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(iR, {
+ tabs: oR,
value: p,
label: "词表",
onChange: (e) => {
@@ -45873,15 +45950,15 @@ function Sde(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(tR, {
- tabs: rR,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(iR, {
+ tabs: oR,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : nN(u) ? /* @__PURE__ */ (0, L.jsx)(tR, {
- tabs: _de,
+ }) : $M(u) ? /* @__PURE__ */ (0, L.jsx)(iR, {
+ tabs: hde,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -45898,7 +45975,7 @@ function Sde(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? $M : QM).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? XM : YM).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,
@@ -45913,12 +45990,12 @@ function Sde(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- tN(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ QM(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,
- tN(u) ? /* @__PURE__ */ (0, L.jsx)(yde, {
+ QM(u) ? /* @__PURE__ */ (0, L.jsx)(_de, {
kind: u,
layout: r,
onChange: A
@@ -45927,7 +46004,7 @@ function Sde(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(xde, {
+ /* @__PURE__ */ (0, L.jsx)(yde, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -45937,7 +46014,7 @@ function Sde(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(hde, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(pde, {
categories: N,
category: h,
online: _,
@@ -45962,8 +46039,8 @@ function Sde(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: lT("search"),
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: sT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
@@ -45972,18 +46049,18 @@ function Sde(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)(wde, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Sde, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, L.jsx)(yN, {
+ if (v) return /* @__PURE__ */ (0, L.jsx)(gN, {
items: T,
layout: r,
props: e
});
- if (tN(u)) return /* @__PURE__ */ (0, L.jsx)(vN, {
+ if (QM(u)) return /* @__PURE__ */ (0, L.jsx)(hN, {
kind: u,
items: T,
layout: r,
@@ -45994,10 +46071,10 @@ function Sde(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(dde, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(lde, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(pde, {
+ }) : /* @__PURE__ */ (0, L.jsx)(dde, {
tags: O,
actions: t
});
@@ -46012,13 +46089,13 @@ function Sde(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(vw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(_w, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, L.jsx)(gde, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, L.jsx)(mde, {
count: a.size,
match: s,
onMatch: c,
@@ -46031,31 +46108,31 @@ function Sde(e) {
]
});
}
-var Cde = {
+var xde = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function wde({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: lT("search"),
+function Sde({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: sT("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Cde[e], a = /* @__PURE__ */ (0, L.jsx)(fw, {
+ let i = n && e === "performers" ? "创作者" : xde[e], a = /* @__PURE__ */ (0, L.jsx)(dw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: lT(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: sT(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",
@@ -46065,15 +46142,15 @@ function wde({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var iR = {
+var sR = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, Tde = (e) => iR[e.junk_kind || "other"] || iR.other;
-function Ede(e) {
+}, Cde = (e) => sR[e.junk_kind || "other"] || sR.other;
+function wde(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -46084,21 +46161,21 @@ function Ede(e) {
glyph: "check"
};
}
-var Dde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Ode = (e, t) => [
+var Tde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Ede = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function kde({ kind: e, view: t }) {
+function Dde({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function Ade(e, t) {
- let n = await hw(`/api/ads?${kde(e)}`, t);
+async function Ode(e, t) {
+ let n = await mw(`/api/ads?${Dde(e)}`, t);
return {
...n,
items: n.items || []
@@ -46106,19 +46183,19 @@ async function Ade(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function aR({ name: e }) {
+function cR({ 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 oR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function jde({ 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] = Tde(e), g = String(e.name || ""), _ = Ede(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]") || oR(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var lR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function kde({ 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] = Cde(e), g = String(e.name || ""), _ = wde(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]") || lR(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), oR(i, t)) {
+ if (t.stopPropagation(), lR(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -46160,7 +46237,7 @@ function jde({ 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)(aR, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(cR, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -46172,7 +46249,7 @@ function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(aR, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(cR, { name: "check" })
})
]
}),
@@ -46209,7 +46286,7 @@ function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: k("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(aR, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : /* @__PURE__ */ (0, L.jsx)(cR, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -46221,7 +46298,7 @@ function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": _.label,
...w(_.operation),
onClick: C(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(aR, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(cR, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -46233,7 +46310,7 @@ function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(aR, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(cR, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -46248,7 +46325,7 @@ function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
]
});
}
-var Mde = (0, I.memo)(jde), Nde = [
+var Ade = (0, I.memo)(kde), jde = [
[
"",
"全部",
@@ -46285,53 +46362,53 @@ var Mde = (0, I.memo)(jde), Nde = [
"hard-drive"
]
];
-function sR(e = "", t = "pending") {
+function uR(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 Pde(e) {
+function Mde(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: sR("", "pending")
+ href: uR("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: sR("", "dismissed")
+ href: uR("", "dismissed")
};
}
-var Fde = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Nde = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function cR({ name: e }) {
+function dR({ 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 lR({ scope: e, count: t }) {
+function fR({ 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 Ide({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = RA(), { kind: a, view: o } = e, s = Pde(o), c = (e) => {
+function Pde({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = PA(), { kind: a, view: o } = e, s = Mde(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") || sR()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || uR()));
}, 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)(CM, {
- label: Fde(o),
+ children: /* @__PURE__ */ (0, L.jsx)(bM, {
+ label: Nde(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -46344,16 +46421,16 @@ function Ide({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- Nde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: sR(e, o),
+ jde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: uR(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(cR, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(dR, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)(lR, {
+ /* @__PURE__ */ (0, L.jsx)(fR, {
scope: e,
- count: t ? Dde(t, e) : 0
+ count: t ? Tde(t, e) : 0
})
]
}, e || "all")),
@@ -46366,9 +46443,9 @@ function Ide({ 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)(cR, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(dR, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)(lR, {
+ /* @__PURE__ */ (0, L.jsx)(fR, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -46381,38 +46458,38 @@ function Ide({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var Lde = lT("check"), Rde = (e, t) => e[1] === t.view && e[2] === t.kind;
-function zde(e) {
+var Fde = sT("check"), Ide = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Lde(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
let r = Ft({
- queryKey: Ode(t, e.revision),
+ queryKey: Ede(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await Ade(t, e);
+ let r = await Ode(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && Rde(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Ide(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = Bde(e.countRow), a = r.isPending;
+ let i = Rde(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 && w(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Ide, {
+ let { navigate: o } = e.actions, s = i ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Pde, {
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)(Vde, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(zde, {
props: e,
data: r.data,
pending: a,
@@ -46420,7 +46497,7 @@ function zde(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Bde(e) {
+function Rde(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -46430,8 +46507,8 @@ function Bde(e) {
};
}, [e]), t;
}
-function Vde({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Vw(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 zde({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Bw(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", {
@@ -46439,14 +46516,14 @@ function Vde({ 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)(Hw, {
+ if (!t) return /* @__PURE__ */ (0, L.jsx)(Vw, {
message: d(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: Lde,
+ return /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: Fde,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -46455,7 +46532,7 @@ function Vde({ 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)(Mde, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(Ade, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -46463,11 +46540,11 @@ function Vde({ 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)(Hde, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Bde, { onMore: p }, s) : null] });
})()]
});
}
-function Hde({ onMore: e }) {
+function Bde({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -46485,12 +46562,12 @@ function Hde({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var uR = "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", Ude = {
- gray: `${uR} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${uR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${uR} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var pR = "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", Vde = {
+ gray: `${pR} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${pR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${pR} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Wde({ value: e, max: t }) {
+function Hde({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -46518,16 +46595,16 @@ function Wde({ value: e, max: t }) {
})]
});
}
-function Gde(e) {
- let { job: t } = oj(e), n = t.data, r = t.isError ? n ? eE : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Ude(e) {
+ let { job: t } = rj(e), n = t.data, r = t.isError ? n ? QT : 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 ? "扫描与资料采集未完成" : aE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dC : nC;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : rE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? uC : tC;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Ude[s],
+ className: Vde[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Wde, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Hde, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -46537,42 +46614,42 @@ function Gde(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, L.jsx)(EA, {
+ }), /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: KS,
+ trailingIcon: GS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Kde = "/api/playlists", dR = "/api/playlist", fR = ["playlists"], pR = (e) => hw(Kde, e);
-async function qde(e) {
+var Wde = "/api/playlists", mR = "/api/playlist", hR = ["playlists"], gR = (e) => mw(Wde, e);
+async function Gde(e) {
await X.fetchQuery({
- queryKey: fR,
- queryFn: () => pR(e),
+ queryKey: hR,
+ queryFn: () => gR(e),
staleTime: 0
});
}
-var mR = () => X.invalidateQueries({
- queryKey: fR,
+var _R = () => X.invalidateQueries({
+ queryKey: hR,
exact: !0
-}), Jde = (e) => e.current_asset_id || e.preview_asset_id || null, hR = (e) => `/poster?id=${e}&c=4`, Yde = (e) => q(dR, {
+}), Kde = (e) => e.current_asset_id || e.preview_asset_id || null, vR = (e) => `/poster?id=${e}&c=4`, qde = (e) => q(mR, {
action: "create",
name: e,
asset_ids: []
-}), gR = (e, t) => q(dR, {
+}), yR = (e, t) => q(mR, {
action: "rename",
id: e,
name: t
-}), _R = (e) => q(dR, {
+}), bR = (e) => q(mR, {
action: "delete",
id: e
-}), Xde = (e) => hw(`${dR}?id=${e}`).catch(() => null);
-function Zde(e) {
+}), Jde = (e) => mw(`${mR}?id=${e}`).catch(() => null);
+function Yde(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(dR, {
+ return q(mR, {
action: "create",
name: e.name,
asset_ids: t,
@@ -46582,18 +46659,18 @@ function Zde(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Qde = lT("ellipsis"), $de = lT("pencil"), efe = lT("trash"), tfe = lT("playlist"), vR = sw(OA, kA, "text-body-2-medium"), yR = "播放列表名称不能为空", bR = (e) => async () => {
+var Xde = sT("ellipsis"), Zde = sT("pencil"), Qde = sT("trash"), $de = sT("playlist"), xR = ow(DA, OA, "text-body-2-medium"), SR = "播放列表名称不能为空", CR = (e) => async () => {
try {
await e();
} finally {
- mR();
+ _R();
}
};
-function nfe({ toast: e }) {
+function efe({ toast: e }) {
let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = It({
- mutationFn: (e) => Yde(e),
+ mutationFn: (e) => qde(e),
onSuccess: (t) => {
- n(""), i(""), mR(), e("已新建播放列表", { undo: bR(() => _R(t.playlist.id)) });
+ n(""), i(""), _R(), e("已新建播放列表", { undo: CR(() => bR(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -46603,7 +46680,7 @@ function nfe({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(yR);
+ i(SR);
return;
}
a.mutate(t);
@@ -46612,7 +46689,7 @@ function nfe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, L.jsx)($j, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -46631,7 +46708,7 @@ function nfe({ toast: e }) {
})]
});
}
-function rfe({ target: e, close: t, toast: n }) {
+function tfe({ 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;
@@ -46642,13 +46719,13 @@ function rfe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = It({
- mutationFn: ({ row: e, value: t }) => gR(e.id, t),
+ mutationFn: ({ row: e, value: t }) => yR(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), mR(), n("已重命名播放列表", { undo: bR(() => gR(r.id, r.name)) });
+ t(), _R(), n("已重命名播放列表", { undo: CR(() => yR(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, L.jsx)(DP, {
+ return /* @__PURE__ */ (0, L.jsx)(wP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -46660,7 +46737,7 @@ function rfe({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(yR);
+ o(SR);
return;
}
c.mutate({
@@ -46671,11 +46748,11 @@ function rfe({ 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)(sO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(oO, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, L.jsx)($j, {
+ }), /* @__PURE__ */ (0, L.jsx)(Xj, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -46703,7 +46780,7 @@ function rfe({ target: e, close: t, toast: n }) {
})
});
}
-function ife({ name: e, onRename: t, onDelete: n }) {
+function nfe({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -46717,33 +46794,33 @@ function ife({ 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)(Qde, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xde, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: DA,
- children: /* @__PURE__ */ (0, L.jsxs)(wA, {
+ className: EA,
+ children: /* @__PURE__ */ (0, L.jsxs)(CA, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: vR,
+ className: xR,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)($de, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Zde, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: vR,
+ className: xR,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(efe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Qde, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -46751,13 +46828,13 @@ function ife({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function afe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function rfe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Ft({
- queryKey: fR,
- queryFn: ({ signal: e }) => pR(e)
+ queryKey: hR,
+ queryFn: ({ signal: e }) => gR(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, mR());
+ l.current !== a && (l.current = a, _R());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -46775,8 +46852,8 @@ function afe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Xde(e.id);
- await _R(e.id), mR(), i("已删除播放列表", t ? { undo: bR(() => Zde(t)) } : void 0);
+ let t = await Jde(e.id);
+ await bR(e.id), _R(), i("已删除播放列表", t ? { undo: CR(() => Yde(t)) } : void 0);
}
});
};
@@ -46791,39 +46868,39 @@ function afe({ 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)(nfe, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(efe, { 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 = Jde(i);
- return /* @__PURE__ */ (0, L.jsx)(yT, {
+ let a = Kde(i);
+ return /* @__PURE__ */ (0, L.jsx)(_T, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? hR(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(hR),
+ poster: i.preview_asset_id ? vR(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(vR),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(ife, {
+ menu: /* @__PURE__ */ (0, L.jsx)(nfe, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: tfe,
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: $de,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(rfe, {
+ /* @__PURE__ */ (0, L.jsx)(tfe, {
target: s,
close: () => c(null),
toast: i
@@ -46833,11 +46910,11 @@ function afe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function ofe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function ife({ 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: gw({
+ className: hw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -46853,7 +46930,7 @@ function ofe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: wE(t),
+ src: SE(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -46901,19 +46978,19 @@ function ofe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function sfe(e) {
+function afe(e) {
let t = Ft({
- queryKey: xE,
- queryFn: ({ signal: e }) => SE(e)
+ queryKey: yE,
+ queryFn: ({ signal: e }) => bE(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(vw, { 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)(yw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(vw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: hw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -46926,21 +47003,21 @@ function sfe(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ofe, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ife, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(_w, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { children: /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: Yte,
+ icon: Xte,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function cfe(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 = UE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function ofe(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 = VE(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",
"aria-label": "复核筛选",
@@ -46948,29 +47025,29 @@ function cfe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(bj, {
+ i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(_j, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(xj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(vj, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -46978,7 +47055,7 @@ function cfe(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: XS,
+ leadingIcon: YS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -46989,12 +47066,12 @@ function cfe(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, L.jsxs)(SL, {
+ }), /* @__PURE__ */ (0, L.jsxs)(wL, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, L.jsxs)(bj, {
+ b ? /* @__PURE__ */ (0, L.jsxs)(_j, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -47002,10 +47079,10 @@ function cfe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(xj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(vj, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: e
}, e))]
@@ -47041,7 +47118,7 @@ function cfe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var lfe = {
+var sfe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -47051,14 +47128,14 @@ var lfe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, xR = "reviewgenretags";
-function ufe({ tags: e }) {
+}, wR = "reviewgenretags";
+function cfe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: xR,
+ id: wR,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function SR({ candidate: e, selectable: t = !1 }) {
+function TR({ 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",
@@ -47095,7 +47172,7 @@ function SR({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: lfe[e] || e
+ children: sfe[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -47110,36 +47187,36 @@ function SR({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function dfe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function lfe({ 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)(SR, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: /* @__PURE__ */ (0, L.jsx)(TR, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, L.jsx)(Uk, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Gk, {
+ children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Wk, {
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)(SR, {
+ children: /* @__PURE__ */ (0, L.jsx)(TR, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function ffe({ genre: e, tags: t, locked: n, toast: r }) {
+function ufe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = It({
- mutationFn: (t) => jre(e, t),
+ mutationFn: (t) => Mre(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Nre();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Pre();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -47158,16 +47235,16 @@ function ffe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Xj, {
+ /* @__PURE__ */ (0, L.jsx)(qj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Yj, {
size: "small",
- list: t.length ? xR : void 0,
+ list: t.length ? wR : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -47199,8 +47276,8 @@ function ffe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function pfe({ row: e, tags: t, locked: n, toast: r }) {
- let i = ZE(e);
+function dfe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = YE(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -47208,7 +47285,7 @@ function pfe({ 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)(ffe, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(ufe, {
genre: e,
tags: t,
locked: n,
@@ -47218,9 +47295,9 @@ function pfe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var CR = (e = "") => /^https?:\/\//i.test(e) ? e : "", mfe = (e = "") => CR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function wR({ url: e }) {
- let t = mfe(e || ""), [n, r] = (0, I.useState)(!1);
+var ER = (e = "") => /^https?:\/\//i.test(e) ? e : "", ffe = (e = "") => ER(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function DR({ url: e }) {
+ let t = ffe(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", {
@@ -47235,7 +47312,7 @@ function wR({ url: e }) {
})
});
}
-function TR({ asset: e, openItem: t }) {
+function OR({ 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",
@@ -47251,7 +47328,7 @@ function TR({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, L.jsx)(iv, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, L.jsx)(rv, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, L.jsx)("b", {
@@ -47261,21 +47338,21 @@ function TR({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Wte,
+ leadingIcon: Gte,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function hfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function pfe({ 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 ${bL}`,
+ 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 ${SL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -47291,8 +47368,8 @@ function hfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function gfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = CR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function mfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = ER(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: [
@@ -47302,10 +47379,10 @@ function gfe({ 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)(fw, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "secondary",
size: "small",
- trailingIcon: rC,
+ trailingIcon: nC,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -47317,7 +47394,7 @@ function gfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(wR, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(DR, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -47360,7 +47437,7 @@ function gfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function _fe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function hfe({ 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);
@@ -47416,7 +47493,7 @@ function _fe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsx)(Aj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Dj, {
size: "sm",
state: {
isSelected: n,
@@ -47427,7 +47504,7 @@ function _fe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, L.jsx)(iv, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, L.jsx)(rv, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -47436,19 +47513,19 @@ function _fe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var vfe = gw({
+var gfe = hw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), ER = "flex min-h-6 min-w-0 items-center", yfe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function bfe(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 = RA(), h = RA(), g = t === "metadata_fields", _ = RE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = JE(t, n), x = qE(t, n), S = KE(t, n), C = YE(n), w = XE(n), T = GE(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", {
+}), kR = "flex min-h-6 min-w-0 items-center", _fe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function vfe(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 = PA(), h = PA(), g = t === "metadata_fields", _ = IE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = KE(t, n), x = GE(t, n), S = WE(t, n), C = qE(n), w = JE(n), T = UE(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)(TR, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(OR, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(hfe, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(pfe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -47458,14 +47535,14 @@ function bfe(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(TR, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(OR, {
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)(dfe, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(lfe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -47474,7 +47551,7 @@ function bfe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(_fe, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(hfe, {
assets: D,
picked: r.assets,
locked: s,
@@ -47482,21 +47559,21 @@ function bfe(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "inset",
- icon: lC,
+ icon: cC,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(gfe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(mfe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(wR, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${ER} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(DR, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${kR} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "blue",
children: x
@@ -47506,7 +47583,7 @@ function bfe(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: ER,
+ className: kR,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -47516,20 +47593,20 @@ function bfe(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${vfe} ${yfe(t)} overflow-hidden`,
+ className: `${gfe} ${_fe(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: `${ER} shrink-0`,
+ className: `${kR} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, L.jsx)(jj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -47539,7 +47616,7 @@ function bfe(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ O ? /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -47563,7 +47640,7 @@ function bfe(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)(uw, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(lw, {
variant: "caption",
color: "soft",
children: e
@@ -47573,7 +47650,7 @@ function bfe(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)(pfe, {
+ /* @__PURE__ */ (0, L.jsx)(dfe, {
row: n,
tags: u,
locked: s,
@@ -47635,8 +47712,8 @@ function bfe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var xfe = "flex cursor-pointer items-center justify-between gap-2";
-function Sfe({ page: e, pages: t, onPage: n }) {
+var yfe = "flex cursor-pointer items-center justify-between gap-2";
+function bfe({ 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",
@@ -47650,7 +47727,7 @@ function Sfe({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: TE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: CE(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: "…"
@@ -47673,38 +47750,38 @@ function Sfe({ page: e, pages: t, onPage: n }) {
]
});
}
-function Cfe(e) {
+function xfe(e) {
let [t, n] = (0, I.useState)(() => matchMedia("(max-width:900px)").matches);
(0, I.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(LE(e.category) ? e.category : IE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(FE(e.category) ? e.category : PE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
N.current = !1;
}, []);
let ee = Ft({
- queryKey: NE,
- queryFn: ({ signal: e }) => eD(e)
+ queryKey: jE,
+ queryFn: ({ signal: e }) => $E(e)
}).data || {
sections: {},
counts: {}
- }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = zE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = BE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = HE(VE(te, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = LE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = RE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = BE(zE(te, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
...e,
rows: e.rows.filter((e) => ce.has(e.item_key))
- })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || QE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
+ })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || XE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
let t = new Set(e);
x((e) => new Set([...e].filter((e) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, de = (e, t) => T((n) => new Map(n).set(e, t)), fe = (e) => {
p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), C(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, pe = It({
- mutationFn: ({ row: e, status: t }) => tD($E(f, e, t, ue(e))),
+ mutationFn: ({ row: e, status: t }) => eD(ZE(f, e, t, ue(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
de(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- nD(f, [t.item_key]), z([t.item_key]), c(Are(n));
+ tD(f, [t.item_key]), z([t.item_key]), c(QE(n));
},
onError: (e, { row: t }) => de(t.item_key, K(e))
}), me = It({
@@ -47714,7 +47791,7 @@ function Cfe(e) {
if (!N.current) break;
D(`正在处理 ${i} / ${t.length}`);
try {
- let t = await tD($E(f, a, e, ue(a)));
+ let t = await eD(ZE(f, a, e, ue(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -47728,7 +47805,7 @@ function Cfe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- nD(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ tD(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
D(K(e));
@@ -47758,7 +47835,7 @@ function Cfe(e) {
A(e), M("");
let t = await o(e);
N.current && (A(0), M(t));
- }, ve = Pre(ee.mirror, u), ye = ee.genre_tags || [], be = {
+ }, ve = Fre(ee.mirror, u), ye = ee.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -47767,7 +47844,7 @@ function Cfe(e) {
avatarInner: s,
toast: c
};
- return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(vw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, L.jsx)(J, {
@@ -47783,13 +47860,13 @@ function Cfe(e) {
}) : void 0,
children: ve
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ufe, { tags: ye }),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(cfe, { tags: ye }),
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- LE(t) && fe(t);
+ FE(t) && fe(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -47798,27 +47875,27 @@ function Cfe(e) {
children: [/* @__PURE__ */ (0, L.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, L.jsx)(bA, {
+ }), /* @__PURE__ */ (0, L.jsx)(yA, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: FE.map((e) => {
+ children: NE.map((e) => {
let t = Number(ee.counts[e] || 0);
- return /* @__PURE__ */ (0, L.jsxs)(xA, {
+ return /* @__PURE__ */ (0, L.jsxs)(bA, {
id: e,
- className: xfe,
- children: [PE[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: yfe,
+ children: [ME[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, L.jsxs)(SA, {
+ }), /* @__PURE__ */ (0, L.jsxs)(xA, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(cfe, {
+ te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(ofe, {
groupOptions: F,
groupBy: re,
onGroupBy: (e) => {
@@ -47834,7 +47911,7 @@ function Cfe(e) {
onSelected: x,
selectedRows: R,
metadata: P,
- approvable: R.every((e) => GE(f, e)),
+ approvable: R.every((e) => UE(f, e)),
busy: me.isPending,
feedback: E,
onUnifySource: ge,
@@ -47859,7 +47936,7 @@ function Cfe(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(bfe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(vfe, {
category: f,
row: e,
choice: ue(e),
@@ -47867,7 +47944,7 @@ function Cfe(e) {
selected: b.has(e.item_key),
onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return O.current = WE(i, se, O.current, e.item_key, t, n), i;
+ return O.current = HE(i, se, O.current, e.item_key, t, n), i;
}),
locked: ne,
busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
@@ -47882,12 +47959,12 @@ function Cfe(e) {
handlers: be
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: ZS,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(gw, {
+ icon: XS,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, L.jsx)(Sfe, {
+ /* @__PURE__ */ (0, L.jsx)(bfe, {
page: oe.page,
pages: oe.pages,
onPage: y
@@ -47900,30 +47977,30 @@ function Cfe(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var wfe = "/api/scraping", Tfe = "/api/scraping/settings", Efe = "/api/scraping/check", DR = "/api/scraping/cover", Dfe = "/api/scraping/amane-bridge", Ofe = "/api/scraping/amane-bridge/check", kfe = "/api/scraping/amane-bridge/rebuild", OR = ["scraping"], kR = ["scraping", "cover"], AR = ["scraping", "amane-bridge"], jR = (e) => hw(wfe, e), MR = (e) => hw(DR, e), NR = (e) => hw(Dfe, e);
-async function Afe(e) {
+var Sfe = "/api/scraping", Cfe = "/api/scraping/settings", wfe = "/api/scraping/check", AR = "/api/scraping/cover", Tfe = "/api/scraping/amane-bridge", Efe = "/api/scraping/amane-bridge/check", Dfe = "/api/scraping/amane-bridge/rebuild", jR = ["scraping"], MR = ["scraping", "cover"], NR = ["scraping", "amane-bridge"], PR = (e) => mw(Sfe, e), FR = (e) => mw(AR, e), IR = (e) => mw(Tfe, e);
+async function Ofe(e) {
await Promise.all([
X.fetchQuery({
- queryKey: OR,
- queryFn: () => jR(e)
+ queryKey: jR,
+ queryFn: () => PR(e)
}),
X.fetchQuery({
- queryKey: kR,
- queryFn: () => MR(e)
+ queryKey: MR,
+ queryFn: () => FR(e)
}),
X.fetchQuery({
- queryKey: AR,
- queryFn: () => NR(e)
+ queryKey: NR,
+ queryFn: () => IR(e)
})
]);
}
-function jfe(e, t) {
+function kfe(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 Mfe = [["peach", "Peach 代理"], ["direct", "直接连接"]], PR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function Nfe({ source: e }) {
+var Afe = [["peach", "Peach 代理"], ["direct", "直接连接"]], LR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function jfe({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("img", {
src: p({ source: e }),
alt: "",
@@ -47934,13 +48011,13 @@ function Nfe({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Pfe({ 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)(PR[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+function Mfe({ 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)(LR[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 = It({
- mutationFn: (t) => q(Tfe, {
+ mutationFn: (t) => q(Cfe, {
source: e.source,
network: n,
cookie: i,
@@ -47948,12 +48025,12 @@ function Pfe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(OR, (t) => t && {
+ X.setQueryData(jR, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = It({ mutationFn: () => q(Efe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = It({ mutationFn: () => q(wfe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -47978,40 +48055,40 @@ function Pfe({ source: e, toast: t }) {
}
}
let C = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(Nfe, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(ej, {
+ children: [/* @__PURE__ */ (0, L.jsx)(jfe, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(ZA, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(UA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, L.jsx)(bj, {
+ children: /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Mfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: Afe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, L.jsxs)(YA, {
+ T ? /* @__PURE__ */ (0, L.jsxs)(KA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, L.jsx)(EA, {
+ children: /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: KS,
+ trailingIcon: GS,
children: "配置 Peach 代理"
})
}) : null,
@@ -48024,20 +48101,20 @@ function Pfe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, L.jsx)(qN, {
+ /* @__PURE__ */ (0, L.jsx)(WN, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: JN,
- children: PR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
+ className: GN,
+ children: LR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Wk, {
value: e,
- className: YN,
+ className: KN,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, L.jsx)($j, {
+ c === "paste" ? /* @__PURE__ */ (0, L.jsx)(Xj, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -48046,7 +48123,7 @@ function Pfe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -48072,14 +48149,14 @@ function Pfe({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, L.jsx)(QA, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, L.jsx)(YA, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: jfe(t, e.label)
+ children: kfe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -48101,26 +48178,26 @@ function Pfe({ source: e, toast: t }) {
]
});
}
-function Ffe({ toast: e }) {
- let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Tj({
- queryKey: kR,
- queryFn: ({ signal: e }) => MR(e),
- start: () => q(DR, { code: t }),
+function Nfe({ toast: e }) {
+ let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Sj({
+ queryKey: MR,
+ queryFn: ({ signal: e }) => FR(e),
+ start: () => q(AR, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, L.jsx)(qA, {
+ return /* @__PURE__ */ (0, L.jsx)(WA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ children: /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)($j, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -48135,7 +48212,7 @@ function Ffe({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(_w, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -48147,11 +48224,11 @@ function Ffe({ toast: e }) {
] })
});
}
-function Ife({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = Tj({
- queryKey: AR,
- queryFn: ({ signal: e }) => NR(e),
- start: () => q(kfe, {}),
+function Pfe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Sj({
+ queryKey: NR,
+ queryFn: ({ signal: e }) => IR(e),
+ start: () => q(Dfe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -48160,49 +48237,49 @@ function Ife({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = It({ mutationFn: () => q(Ofe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(qA, {
+ }), a = It({ mutationFn: () => q(Efe, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(WA, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: K(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, L.jsx)(ej, {
+ aside: /* @__PURE__ */ (0, L.jsx)(ZA, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
- /* @__PURE__ */ (0, L.jsxs)(nj, {
+ /* @__PURE__ */ (0, L.jsxs)(QA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)($A, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(YA, {
+ /* @__PURE__ */ (0, L.jsxs)(KA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(_w, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -48213,7 +48290,7 @@ function Ife({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(XA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -48230,23 +48307,23 @@ function Ife({ toast: e }) {
]
});
}
-function Lfe({ toast: e }) {
+function Ffe({ toast: e }) {
let t = Ft({
- queryKey: OR,
- queryFn: ({ signal: e }) => jR(e)
+ queryKey: jR,
+ queryFn: ({ signal: e }) => PR(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, L.jsx)(Ffe, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Pfe, {
+ /* @__PURE__ */ (0, L.jsx)(Nfe, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Mfe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, L.jsx)(Ife, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ /* @__PURE__ */ (0, L.jsx)(Pfe, { toast: e })
+ ] }) : /* @__PURE__ */ (0, L.jsx)(vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -48254,24 +48331,24 @@ function Lfe({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var FR = "/api/configuration", Rfe = "/api/pick-folder", IR = ["configuration"], LR = (e) => hw(FR, e);
-async function RR(e) {
+var RR = "/api/configuration", Ife = "/api/pick-folder", zR = ["configuration"], BR = (e) => mw(RR, e);
+async function VR(e) {
await X.fetchQuery({
- queryKey: IR,
- queryFn: () => LR(e)
+ queryKey: zR,
+ queryFn: () => BR(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var zfe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Bfe = "仅填域名;留空使用默认地址";
+var Lfe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Rfe = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Vfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = Sw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function zfe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.sites), i = xw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -48280,9 +48357,9 @@ function Vfe({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: zfe }),
- n.map((e) => /* @__PURE__ */ (0, L.jsx)($j, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: Lfe }),
+ n.map((e) => /* @__PURE__ */ (0, L.jsx)(Xj, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -48291,10 +48368,10 @@ function Vfe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Bfe
+ hint: Rfe
}, e.key)),
- i.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -48303,21 +48380,21 @@ function Vfe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Hfe({ data: e, receipt: t }) {
+function Bfe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Ufe, {
+ children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Vfe, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Vfe, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(zfe, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Ufe({ 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 = Sw(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+function Vfe({ 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 = xw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -48327,30 +48404,30 @@ function Ufe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -48358,11 +48435,11 @@ function Ufe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(YA, {
+ e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(KA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, L.jsx)(JA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -48373,23 +48450,23 @@ function Ufe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var zR = /* @__PURE__ */ new Set([
+var HR = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), Wfe = [
+]), Hfe = [
65,
67,
90
-], BR = 120;
-function Gfe({ initial: e, initialJob: t }) {
+], UR = 120;
+function Ufe({ 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 = Sw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = zR.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = xw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = HR.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -48406,9 +48483,9 @@ function Gfe({ 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 = zR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = HR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await hw("/api/configuration/update-status", e.signal);
+ let t = await mw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -48416,12 +48493,12 @@ function Gfe({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await hw("/api/configuration/automatic-updates", e.signal);
+ let n = await mw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= BR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= UR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < BR && (n = setTimeout(c, t));
+ !e.signal.aborted && o < UR && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -48429,63 +48506,63 @@ function Gfe({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, h = () => void c.run("check", (e) => hw("/api/configuration/updates", e), r, (t) => {
+ }, h = () => void c.run("check", (e) => mw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), c.setError(K(t));
}), _ = c.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsxs)(QA, { children: [
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(YA, {
+ /* @__PURE__ */ (0, L.jsxs)(KA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(JA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(QA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(ZA, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(YA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(JA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(YA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(xw, {
+ /* @__PURE__ */ (0, L.jsx)(bw, {
label: "更新准备进度",
value: i.progress,
- stops: Wfe
+ stops: Hfe
}),
- /* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: v })
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(XA, {
- status: /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(qA, {
+ status: /* @__PURE__ */ (0, L.jsx)(ZA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -48512,98 +48589,98 @@ function Gfe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Kfe = [
+var Wfe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function qfe({ data: e, receipt: t, reopenTutorial: n }) {
+function Gfe({ 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)(Yfe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(qfe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, L.jsx)(Gfe, {
+ e.updates ? /* @__PURE__ */ (0, L.jsx)(Ufe, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Xfe, { facts: e.facts }),
- /* @__PURE__ */ (0, L.jsx)(Jfe, {
+ /* @__PURE__ */ (0, L.jsx)(Jfe, { facts: e.facts }),
+ /* @__PURE__ */ (0, L.jsx)(Kfe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Zfe, {
+ e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Yfe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Jfe({ receipt: e, reopenTutorial: t }) {
- let n = Sw();
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+function Kfe({ receipt: e, reopenTutorial: t }) {
+ let n = xw();
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [/* @__PURE__ */ (0, L.jsx)(ZA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function Yfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Sw(e.error), s = (r) => {
+function qfe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = xw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, L.jsx)(bj, {
+ children: /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Kfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: Wfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ o.error ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(QA, { children: o.error })
+ children: /* @__PURE__ */ (0, L.jsx)(YA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -48612,19 +48689,19 @@ function Yfe({ initial: e, receipt: t }) {
]
});
}
-function Xfe({ facts: e }) {
- return /* @__PURE__ */ (0, L.jsx)(qA, {
+function Jfe({ facts: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(WA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, L.jsx)(tj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(nj, {
+ children: /* @__PURE__ */ (0, L.jsx)(QA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)($A, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(ej, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(ZA, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Zfe({ uninstall: e, receipt: t }) {
+function Yfe({ uninstall: e, receipt: t }) {
let [n, r] = (0, I.useState)(!1), [i, a] = (0, I.useState)(""), o = () => void g({
title: "卸载 Peach",
danger: !0,
@@ -48638,26 +48715,26 @@ function Zfe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
- e.available ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, L.jsx)(jj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ e.available ? /* @__PURE__ */ (0, L.jsx)(JA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, L.jsx)(rj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(UA, {
+ children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(zA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, L.jsx)(XA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(qA, {
status: s ? /* @__PURE__ */ (0, L.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -48673,7 +48750,7 @@ function Zfe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Qfe = [
+var Xfe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -48692,32 +48769,32 @@ var Qfe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], $fe = [
+], Zfe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function epe() {
+function Qfe() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(ej, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(JA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(ZA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, L.jsxs)(rj, {
+ })] }), /* @__PURE__ */ (0, L.jsxs)(ej, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Qfe.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: Xfe.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: $fe.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: Zfe.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",
@@ -48738,9 +48815,9 @@ function epe() {
/* @__PURE__ */ (0, L.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(ZA, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -48752,7 +48829,7 @@ function epe() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var VR = [
+var WR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -48796,13 +48873,13 @@ var VR = [
["star", "收藏"],
["tags", "主题"]
];
-function tpe(e) {
+function $fe(e) {
let t = e === "local" ? "" : m[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var HR = "auto";
-function npe({ 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] = tpe(n);
+var GR = "auto";
+function epe({ 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] = $fe(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
@@ -48816,35 +48893,35 @@ function npe({ 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)(aj, { mark: e || l }), ((e) => e && VR.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: e || l }), ((e) => e && WR.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: DA,
- children: /* @__PURE__ */ (0, L.jsxs)(Lk, {
+ className: EA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Ik, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, L.jsx)(sO, {
+ /* @__PURE__ */ (0, L.jsx)(oO, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(Uk, {
"aria-label": "候选图标",
- value: s || HR,
- onChange: (e) => c(e === HR ? "" : e),
+ value: s || GR,
+ onChange: (e) => c(e === GR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: VR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
- value: e || HR,
+ children: WR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Wk, {
+ value: e || GR,
"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)(aj, { mark: e || l })
- }, e || HR))
+ children: /* @__PURE__ */ (0, L.jsx)(nj, { mark: e || l })
+ }, e || GR))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -48866,15 +48943,15 @@ function npe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var rpe = "/api/configuration/push-discovery", ipe = "/api/configuration/push-discovery/secret";
-function ape({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Sw(), l = RA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+var tpe = "/api/configuration/push-discovery", npe = "/api/configuration/push-discovery/secret";
+function rpe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = xw(), l = PA(), 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,
...t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -48884,14 +48961,14 @@ function ape({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(rpe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(tpe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -48901,10 +48978,10 @@ function ape({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -48914,10 +48991,10 @@ function ape({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(xL, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -48928,30 +49005,30 @@ function ape({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ d.enabled ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(tj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(nj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(QA, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)($A, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, L.jsx)(nj, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)($A, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(rj, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(ej, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -48962,17 +49039,17 @@ function ape({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(JA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -48980,7 +49057,7 @@ function ape({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -48989,19 +49066,19 @@ function ape({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: QS,
+ /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: ZS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -49019,15 +49096,15 @@ function ape({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ o || c.error ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(QA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, L.jsx)(YA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(XA, {
+ /* @__PURE__ */ (0, L.jsxs)(qA, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(ipe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(npe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -49044,8 +49121,8 @@ function ape({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var ope = 8e3;
-function spe({ className: e }) {
+var ipe = 8e3;
+function ape({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -49058,33 +49135,33 @@ function spe({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var UR = [
+var KR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], cpe = (e) => UR.find(([t]) => t === e)?.[1] ?? e, WR = (e) => m[e] || "database", GR = (e = "") => ({
+], ope = (e) => KR.find(([t]) => t === e)?.[1] ?? e, qR = (e) => m[e] || "database", JR = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function lpe(e) {
- let t = e.media_sources?.filter((e) => UR.some(([t]) => t === e.location));
+function spe(e) {
+ let t = e.media_sources?.filter((e) => KR.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) => GR(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => JR(e));
}
-var upe = (e) => !(e instanceof pw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function dpe({ data: e, receipt: t }) {
+var cpe = (e) => !(e instanceof fw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function lpe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, L.jsx)(fpe, {
+ e.editable ? /* @__PURE__ */ (0, L.jsx)(upe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, L.jsx)(J, {
@@ -49092,21 +49169,21 @@ function dpe({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, L.jsx)(mpe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(ape, {
+ /* @__PURE__ */ (0, L.jsx)(fpe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(rpe, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function fpe({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => lpe(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 = Sw();
+function upe({ data: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(() => spe(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 = xw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), ope);
+ let e = setTimeout(() => location.assign(m.url), ipe);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -49117,14 +49194,14 @@ function fpe({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, GR()]);
+ _(n.length), r((e) => [...e, JR()]);
}, 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(Rfe, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Ife, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -49133,7 +49210,7 @@ function fpe({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(FR, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(RR, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -49142,18 +49219,18 @@ function fpe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = upe(e);
+ let t = cpe(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, L.jsx)(qA, {
+ if (m) return /* @__PURE__ */ (0, L.jsx)(WA, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, L.jsx)(EA, {
+ /* @__PURE__ */ (0, L.jsx)(TA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -49163,14 +49240,14 @@ function fpe({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)($A, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -49181,7 +49258,7 @@ function fpe({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -49194,14 +49271,14 @@ function fpe({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: spe,
+ /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: ape,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(BA, {
- icon: QS,
+ n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(IA, {
+ icon: ZS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -49209,7 +49286,7 @@ function fpe({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -49218,7 +49295,7 @@ function fpe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(npe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(XA, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(epe, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -49227,20 +49304,20 @@ function fpe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(bj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(XA, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: UR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(xj, {
+ children: KR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(vj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: WR(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: qR(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)($j, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(Xj, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -49257,18 +49334,18 @@ function fpe({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, L.jsx)(epe, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ A ? /* @__PURE__ */ (0, L.jsx)(Qfe, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, L.jsxs)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)($j, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(JA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(Xj, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -49278,7 +49355,7 @@ function fpe({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, L.jsx)(jj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -49288,7 +49365,7 @@ function fpe({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(XA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(qA, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -49298,7 +49375,7 @@ function fpe({ data: e, receipt: t }) {
})]
});
}
-function ppe({ online: e }) {
+function dpe({ 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",
@@ -49322,21 +49399,21 @@ function ppe({ online: e }) {
}), "未检测"]
});
}
-function mpe({ data: e }) {
- let t = e.media_sources, n = Sw();
- return t ? /* @__PURE__ */ (0, L.jsxs)(qA, {
+function fpe({ data: e }) {
+ let t = e.media_sources, n = xw();
+ return t ? /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, L.jsx)(tj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(nj, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: WR(e.location) }), cpe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(ppe, { online: e.online })]
+ /* @__PURE__ */ (0, L.jsx)(QA, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)($A, {
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(nj, { mark: qR(e.location) }), ope(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(dpe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ n.error ? /* @__PURE__ */ (0, L.jsx)(KA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(QA, { children: n.error })
+ children: /* @__PURE__ */ (0, L.jsx)(YA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => LR(e), (e) => X.setQueryData(IR, e)),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => BR(e), (e) => X.setQueryData(zR, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -49345,13 +49422,13 @@ function mpe({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var hpe = {
+var ppe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function gpe({ 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 = Sw(), g = (e) => {
+function mpe({ 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 = xw(), 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) {
@@ -49368,28 +49445,28 @@ function gpe({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof pw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof fw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = hpe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ }, _ = ppe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, L.jsxs)(YA, { children: [
- _ ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ _ ? /* @__PURE__ */ (0, L.jsx)(JA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(jj, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(Oj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)($j, {
+ n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(Xj, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -49402,7 +49479,7 @@ function gpe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($j, {
+ v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Xj, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -49415,7 +49492,7 @@ function gpe({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, L.jsx)($j, {
+ }), /* @__PURE__ */ (0, L.jsx)(Xj, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -49434,9 +49511,9 @@ function gpe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, L.jsx)(XA, {
+ }), v ? /* @__PURE__ */ (0, L.jsx)(qA, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -49448,19 +49525,19 @@ function gpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var _pe = 2e3, vpe = [["quick", "临时链接"], ["named", "命名隧道"]], ype = {
+var hpe = 2e3, gpe = [["quick", "临时链接"], ["named", "命名隧道"]], _pe = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function bpe({ 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 = Sw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function vpe({ 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 = xw(), 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(() => {
- LR(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(IR, t), i(t.tunnel), o(t.revision));
+ BR(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(zR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, _pe);
+ }, hpe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -49475,30 +49552,30 @@ function bpe({ 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 pw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof fw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
- r.named_available ? /* @__PURE__ */ (0, L.jsx)(qN, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, L.jsx)(WN, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: JN,
- children: vpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
+ className: GN,
+ children: gpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Wk, {
value: e,
- className: YN,
+ className: KN,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ZA, { children: ype[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($j, {
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: _pe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Xj, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -49509,7 +49586,7 @@ function bpe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, L.jsx)($j, {
+ }), /* @__PURE__ */ (0, L.jsx)(Xj, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -49529,7 +49606,7 @@ function bpe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, L.jsx)(ej, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, {
href: r.url,
children: r.url
})
@@ -49539,9 +49616,9 @@ function bpe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsxs)(XA, {
+ r.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsxs)(qA, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -49557,24 +49634,24 @@ function bpe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var xpe = [
+var ype = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Spe({ data: e, receipt: t }) {
+function bpe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(Cpe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(xpe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, L.jsx)(gpe, {
+ e.access ? /* @__PURE__ */ (0, L.jsx)(mpe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, L.jsx)(bpe, {
+ e.tunnel ? /* @__PURE__ */ (0, L.jsx)(vpe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -49582,9 +49659,9 @@ function Spe({ data: e, receipt: t }) {
]
});
}
-function Cpe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Sw();
- return /* @__PURE__ */ (0, L.jsxs)(qA, {
+function xpe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = xw();
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -49596,25 +49673,25 @@ function Cpe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(UA, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, L.jsx)(bj, {
+ children: /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: xpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: ype.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(YA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(KA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, L.jsx)($j, {
+ i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(Xj, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -49628,10 +49705,10 @@ function Cpe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -49641,10 +49718,10 @@ function Cpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function wpe({ receipt: e, reopenTutorial: t }) {
+function Spe({ receipt: e, reopenTutorial: t }) {
let n = Ft({
- queryKey: IR,
- queryFn: ({ signal: e }) => LR(e)
+ queryKey: zR,
+ queryFn: ({ signal: e }) => BR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -49665,22 +49742,22 @@ function wpe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, L.jsx)(Hfe, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, L.jsx)(Bfe, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, L.jsx)(dpe, { ...i }),
+ /* @__PURE__ */ (0, L.jsx)(lpe, { ...i }),
o ? /* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, L.jsx)(Spe, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, L.jsx)(bpe, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, L.jsx)(qfe, {
+ /* @__PURE__ */ (0, L.jsx)(Gfe, {
...i,
reopenTutorial: t
})
@@ -49689,35 +49766,35 @@ function wpe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var Tpe = (e) => {
+var Cpe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function Epe({ openConfiguration: e }) {
+function wpe({ openConfiguration: e }) {
let t = Ft({
- queryKey: IR,
- queryFn: ({ signal: e }) => LR(e)
+ queryKey: zR,
+ queryFn: ({ signal: e }) => BR(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ children: [n ? /* @__PURE__ */ (0, L.jsxs)(QA, { children: [
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, L.jsx)(nj, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
term: "更新",
- children: Tpe(n)
+ children: Cpe(n)
})
- ] }) : /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "配置读取失败",
children: t.error ? K(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, L.jsx)(XA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(qA, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: e,
@@ -49728,14 +49805,14 @@ function Epe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Dpe = "/api/stats", KR = ["stats"], qR = (e) => hw(Dpe, e);
-async function Ope(e) {
+var Tpe = "/api/stats", YR = ["stats"], XR = (e) => mw(Tpe, e);
+async function Epe(e) {
await X.fetchQuery({
- queryKey: KR,
- queryFn: () => qR(e)
+ queryKey: YR,
+ queryFn: () => XR(e)
});
}
-var JR = (e, t) => t ? Math.round(e / t * 100) : 0, kpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, YR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, XR = (e) => (e.max_reached || 0) * 100, Ape = (e) => e.kind === "online" ? "在线直接观看" : YR(e) < XR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", jpe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Mpe = (e) => Math.max(1, ...e) * 1.1, Npe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Ppe = {
+var ZR = (e, t) => t ? Math.round(e / t * 100) : 0, Dpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, QR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, $R = (e) => (e.max_reached || 0) * 100, Ope = (e) => e.kind === "online" ? "在线直接观看" : QR(e) < $R(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", kpe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Ape = (e) => Math.max(1, ...e) * 1.1, jpe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Mpe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -49743,18 +49820,18 @@ var JR = (e, t) => t ? Math.round(e / t * 100) : 0, kpe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, Fpe = (e) => e.map((e) => ({
- name: Ppe[e.k] ?? e.k,
+}, Npe = (e) => e.map((e) => ({
+ name: Mpe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), Ipe = {
+})).sort((e, t) => t.value - e.value), Ppe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, ZR = (e, t = {}) => e.map((e) => ({
+}, ez = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Lpe = (e) => ZR(e, Ipe), Rpe = [
+})), Fpe = (e) => ez(e, Ppe), Ipe = [
[
1,
1,
@@ -49790,49 +49867,49 @@ var JR = (e, t) => t ? Math.round(e / t * 100) : 0, kpe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], zpe = (e) => Rpe.map(([t, n, r]) => ({
+], Lpe = (e) => Ipe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), Bpe = /* @__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 QR(e) {
- return typeof e == "string" && Bpe.includes(e);
+})), Rpe = /* @__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 tz(e) {
+ return typeof e == "string" && Rpe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var Vpe = /* @__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 $R(e) {
- return typeof e == "string" && Vpe.has(e);
+var zpe = /* @__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 nz(e) {
+ return typeof e == "string" && zpe.has(e);
}
-function ez(e) {
+function rz(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function tz(e) {
+function iz(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($R(n) || ez(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nz(n) || rz(n)) && (t[n] = e[n]);
return t;
}
-function nz(e) {
+function az(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return tz(t);
+ return iz(t);
}
- return typeof e == "object" && !Array.isArray(e) ? tz(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? iz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function rz(e) {
+function oz(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($R(n) || ez(n) || QR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nz(n) || rz(n) || tz(n)) && (t[n] = e[n]);
return t;
}
-function Hpe(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? rz(e.props) : typeof e == "object" && !Array.isArray(e) ? rz(e) : null;
+function Bpe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? oz(e.props) : typeof e == "object" && !Array.isArray(e) ? oz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var Upe = [
+var Vpe = [
"children",
"width",
"height",
@@ -49842,25 +49919,25 @@ var Upe = [
"title",
"desc"
];
-function iz() {
- return iz = Object.assign ? Object.assign.bind() : function(e) {
+function sz() {
+ return sz = 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;
- }, iz.apply(null, arguments);
+ }, sz.apply(null, arguments);
}
-function Wpe(e, t) {
+function Hpe(e, t) {
if (e == null) return {};
- var n, r, i = Gpe(e, t);
+ var n, r, i = Upe(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 Gpe(e, t) {
+function Upe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49869,14 +49946,14 @@ function Gpe(e, t) {
}
return n;
}
-var az = /*#__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 = Wpe(e, Upe), d = a || {
+var cz = /*#__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 = Hpe(e, Vpe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = bh("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", iz({}, rz(u), {
+ return /*#__PURE__*/ I.createElement("svg", sz({}, oz(u), {
className: f,
width: r,
height: i,
@@ -49884,26 +49961,26 @@ var az = /*#__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);
-}), Kpe = ["children", "className"];
-function oz() {
- return oz = Object.assign ? Object.assign.bind() : function(e) {
+}), Wpe = ["children", "className"];
+function lz() {
+ return lz = 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;
- }, oz.apply(null, arguments);
+ }, lz.apply(null, arguments);
}
-function qpe(e, t) {
+function Gpe(e, t) {
if (e == null) return {};
- var n, r, i = Jpe(e, t);
+ var n, r, i = Kpe(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 Jpe(e, t) {
+function Kpe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49912,39 +49989,39 @@ function Jpe(e, t) {
}
return n;
}
-var sz = /*#__PURE__*/ I.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = qpe(e, Kpe), a = bh("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", oz({ className: a }, rz(i), { ref: t }), n);
-}), cz = /*#__PURE__*/ (0, I.createContext)(null), Ype = () => (0, I.useContext)(cz);
+var uz = /*#__PURE__*/ I.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Gpe(e, Wpe), a = bh("recharts-layer", r);
+ return /*#__PURE__*/ I.createElement("g", lz({ className: a }, oz(i), { ref: t }), n);
+}), dz = /*#__PURE__*/ (0, I.createContext)(null), qpe = () => (0, I.useContext)(dz);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function lz(e) {
+function fz(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var uz = Math.cos, dz = Math.sin, fz = Math.sqrt, pz = Math.PI;
-pz / 2;
-var mz = 2 * pz, hz = Math.PI, gz = 2 * hz, _z = 1e-6, Xpe = gz - _z;
-function vz(e) {
+var pz = Math.cos, mz = Math.sin, hz = Math.sqrt, gz = Math.PI;
+gz / 2;
+var _z = 2 * gz, vz = Math.PI, yz = 2 * vz, bz = 1e-6, Jpe = yz - bz;
+function xz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Zpe(e) {
+function Ype(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return vz;
+ if (t > 15) return xz;
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 yz = class {
+var Sz = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? vz : Zpe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? xz : Ype(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -49965,18 +50042,18 @@ var yz = 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 > _z) {
- if (!(Math.abs(u * s - c * l) > _z) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > bz) {
+ if (!(Math.abs(u * s - c * l) > bz) || !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((hz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > _z && 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((vz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > bz && 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) > _z || Math.abs(this._y1 - l) > _z) && this._append`L${c},${l}`, n && (d < 0 && (d = d % gz + gz), d > Xpe ? 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 > _z && this._append`A${n},${n},0,${+(d >= hz)},${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) > bz || Math.abs(this._y1 - l) > bz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % yz + yz), d > Jpe ? 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 > bz && this._append`A${n},${n},0,${+(d >= vz)},${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`;
@@ -49985,10 +50062,10 @@ var yz = class {
return this._;
}
};
-yz.prototype;
+Sz.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function bz(e) {
+function Cz(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -49999,18 +50076,18 @@ function bz(e) {
t = e;
}
return e;
- }, () => new yz(t);
+ }, () => new Sz(t);
}
Array.prototype.slice;
-function xz(e) {
+function wz(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 Sz(e) {
+function Tz(e) {
this._context = e;
}
-Sz.prototype = {
+Tz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50033,33 +50110,33 @@ Sz.prototype = {
}
}
};
-function Cz(e) {
- return new Sz(e);
+function Ez(e) {
+ return new Tz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function wz(e) {
+function Dz(e) {
return e[0];
}
-function Tz(e) {
+function Oz(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function Ez(e, t) {
- var n = lz(!0), r = null, i = Cz, a = null, o = bz(s);
- e = typeof e == "function" ? e : e === void 0 ? wz : lz(e), t = typeof t == "function" ? t : t === void 0 ? Tz : lz(t);
+function kz(e, t) {
+ var n = fz(!0), r = null, i = Ez, a = null, o = Cz(s);
+ e = typeof e == "function" ? e : e === void 0 ? Dz : fz(e), t = typeof t == "function" ? t : t === void 0 ? Oz : fz(t);
function s(s) {
- var c, l = (s = xz(s)).length, u, d = !1, f;
+ var c, l = (s = wz(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 : lz(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lz(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : lz(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : fz(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -50068,11 +50145,11 @@ function Ez(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function Dz(e, t, n) {
- var r = null, i = lz(!0), a = null, o = Cz, s = null, c = bz(l);
- e = typeof e == "function" ? e : e === void 0 ? wz : lz(+e), t = typeof t == "function" ? t : lz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Tz : lz(+n);
+function Az(e, t, n) {
+ var r = null, i = fz(!0), a = null, o = Ez, s = null, c = Cz(l);
+ e = typeof e == "function" ? e : e === void 0 ? Dz : fz(+e), t = typeof t == "function" ? t : fz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Oz : fz(+n);
function l(l) {
- var u, d, f, p = (l = xz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = wz(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();
@@ -50086,20 +50163,20 @@ function Dz(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return Ez().defined(i).curve(o).context(a);
+ return kz().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lz(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : lz(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : lz(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : fz(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lz(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lz(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : lz(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : fz(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -50107,7 +50184,7 @@ function Dz(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : lz(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : fz(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -50116,7 +50193,7 @@ function Dz(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var Oz = class {
+var jz = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -50143,70 +50220,70 @@ var Oz = class {
this._x0 = e, this._y0 = t;
}
};
-function Qpe(e) {
- return new Oz(e, !0);
+function Xpe(e) {
+ return new jz(e, !0);
}
-function $pe(e) {
- return new Oz(e, !1);
+function Zpe(e) {
+ return new jz(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var kz = { draw(e, t) {
- let n = fz(t / pz);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, mz);
-} }, eme = { draw(e, t) {
- let n = fz(t / 5) / 2;
+var Mz = { draw(e, t) {
+ let n = hz(t / gz);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, _z);
+} }, Qpe = { draw(e, t) {
+ let n = hz(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();
-} }, Az = fz(1 / 3), tme = Az * 2, nme = { draw(e, t) {
- let n = fz(t / tme), r = n * Az;
+} }, Nz = hz(1 / 3), $pe = Nz * 2, eme = { draw(e, t) {
+ let n = hz(t / $pe), r = n * Nz;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, rme = { draw(e, t) {
- let n = fz(t), r = -n / 2;
+} }, tme = { draw(e, t) {
+ let n = hz(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, ime = .8908130915292852, jz = dz(pz / 10) / dz(7 * pz / 10), ame = dz(mz / 10) * jz, ome = -uz(mz / 10) * jz, sme = { draw(e, t) {
- let n = fz(t * ime), r = ame * n, i = ome * n;
+} }, nme = .8908130915292852, Pz = mz(gz / 10) / mz(7 * gz / 10), rme = mz(_z / 10) * Pz, ime = -pz(_z / 10) * Pz, ame = { draw(e, t) {
+ let n = hz(t * nme), r = rme * n, i = ime * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = mz * t / 5, o = uz(a), s = dz(a);
+ let a = _z * t / 5, o = pz(a), s = mz(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, Mz = fz(3), cme = { draw(e, t) {
- let n = -fz(t / (Mz * 3));
- e.moveTo(0, n * 2), e.lineTo(-Mz * n, -n), e.lineTo(Mz * n, -n), e.closePath();
-} }, Nz = -.5, Pz = fz(3) / 2, Fz = 1 / fz(12), lme = (Fz / 2 + 1) * 3, ume = { draw(e, t) {
- let n = fz(t / lme), r = n / 2, i = n * Fz, a = r, o = n * Fz + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Nz * r - Pz * i, Pz * r + Nz * i), e.lineTo(Nz * a - Pz * o, Pz * a + Nz * o), e.lineTo(Nz * s - Pz * c, Pz * s + Nz * c), e.lineTo(Nz * r + Pz * i, Nz * i - Pz * r), e.lineTo(Nz * a + Pz * o, Nz * o - Pz * a), e.lineTo(Nz * s + Pz * c, Nz * c - Pz * s), e.closePath();
+} }, Fz = hz(3), ome = { draw(e, t) {
+ let n = -hz(t / (Fz * 3));
+ e.moveTo(0, n * 2), e.lineTo(-Fz * n, -n), e.lineTo(Fz * n, -n), e.closePath();
+} }, Iz = -.5, Lz = hz(3) / 2, Rz = 1 / hz(12), sme = (Rz / 2 + 1) * 3, cme = { draw(e, t) {
+ let n = hz(t / sme), r = n / 2, i = n * Rz, a = r, o = n * Rz + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Iz * r - Lz * i, Lz * r + Iz * i), e.lineTo(Iz * a - Lz * o, Lz * a + Iz * o), e.lineTo(Iz * s - Lz * c, Lz * s + Iz * c), e.lineTo(Iz * r + Lz * i, Iz * i - Lz * r), e.lineTo(Iz * a + Lz * o, Iz * o - Lz * a), e.lineTo(Iz * s + Lz * c, Iz * c - Lz * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function dme(e, t) {
- let n = null, r = bz(i);
- e = typeof e == "function" ? e : lz(e || kz), t = typeof t == "function" ? t : lz(t === void 0 ? 64 : +t);
+function lme(e, t) {
+ let n = null, r = Cz(i);
+ e = typeof e == "function" ? e : fz(e || Mz), t = typeof t == "function" ? t : fz(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 : lz(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : lz(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+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 Iz() {}
+function zz() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function Lz(e, t, n) {
+function Bz(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 Rz(e) {
+function Vz(e) {
this._context = e;
}
-Rz.prototype = {
+Vz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50218,7 +50295,7 @@ Rz.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: Lz(this, this._x1, this._y1);
+ case 3: Bz(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;
@@ -50232,22 +50309,22 @@ Rz.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: Lz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function fme(e) {
- return new Rz(e);
+function ume(e) {
+ return new Vz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function zz(e) {
+function Hz(e) {
this._context = e;
}
-zz.prototype = {
- areaStart: Iz,
- areaEnd: Iz,
+Hz.prototype = {
+ areaStart: zz,
+ areaEnd: zz,
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;
},
@@ -50273,20 +50350,20 @@ zz.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: Lz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function pme(e) {
- return new zz(e);
+function dme(e) {
+ return new Hz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function Bz(e) {
+function Uz(e) {
this._context = e;
}
-Bz.prototype = {
+Uz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50313,22 +50390,22 @@ Bz.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: Lz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function mme(e) {
- return new Bz(e);
+function fme(e) {
+ return new Uz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function Vz(e) {
+function Wz(e) {
this._context = e;
}
-Vz.prototype = {
- areaStart: Iz,
- areaEnd: Iz,
+Wz.prototype = {
+ areaStart: zz,
+ areaEnd: zz,
lineStart: function() {
this._point = 0;
},
@@ -50339,30 +50416,30 @@ Vz.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function hme(e) {
- return new Vz(e);
+function pme(e) {
+ return new Wz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function Hz(e) {
+function Gz(e) {
return e < 0 ? -1 : 1;
}
-function Uz(e, t, n) {
+function Kz(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 (Hz(a) + Hz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (Gz(a) + Gz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function Wz(e, t) {
+function qz(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function Gz(e, t, n) {
+function Jz(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 Kz(e) {
+function Yz(e) {
this._context = e;
}
-Kz.prototype = {
+Yz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50377,7 +50454,7 @@ Kz.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: Gz(this, this._t0, Wz(this, this._t0));
+ case 3: Jz(this, this._t0, qz(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -50392,24 +50469,24 @@ Kz.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, Gz(this, Wz(this, n = Uz(this, e, t)), n);
+ this._point = 3, Jz(this, qz(this, n = Kz(this, e, t)), n);
break;
- default: Gz(this, this._t0, n = Uz(this, e, t));
+ default: Jz(this, this._t0, n = Kz(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function qz(e) {
- this._context = new Jz(e);
+function Xz(e) {
+ this._context = new Zz(e);
}
-(qz.prototype = Object.create(Kz.prototype)).point = function(e, t) {
- Kz.prototype.point.call(this, t, e);
+(Xz.prototype = Object.create(Yz.prototype)).point = function(e, t) {
+ Yz.prototype.point.call(this, t, e);
};
-function Jz(e) {
+function Zz(e) {
this._context = e;
}
-Jz.prototype = {
+Zz.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -50423,18 +50500,18 @@ Jz.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function gme(e) {
- return new Kz(e);
+function mme(e) {
+ return new Yz(e);
}
-function _me(e) {
- return new qz(e);
+function hme(e) {
+ return new Xz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Yz(e) {
+function Qz(e) {
this._context = e;
}
-Yz.prototype = {
+Qz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50448,7 +50525,7 @@ Yz.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 = Xz(e), i = Xz(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 = $z(e), i = $z(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;
},
@@ -50456,7 +50533,7 @@ Yz.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Xz(e) {
+function $z(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];
@@ -50464,15 +50541,15 @@ function Xz(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 vme(e) {
- return new Yz(e);
+function gme(e) {
+ return new Qz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function Zz(e, t) {
+function eB(e, t) {
this._context = e, this._t = t;
}
-Zz.prototype = {
+eB.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50500,78 +50577,78 @@ Zz.prototype = {
this._x = e, this._y = t;
}
};
-function yme(e) {
- return new Zz(e, .5);
+function _me(e) {
+ return new eB(e, .5);
}
-function bme(e) {
- return new Zz(e, 0);
+function vme(e) {
+ return new eB(e, 0);
}
-function xme(e) {
- return new Zz(e, 1);
+function yme(e) {
+ return new eB(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function Qz(e, t) {
+function tB(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 $z(e) {
+function nB(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 Sme(e, t) {
+function bme(e, t) {
return e[t];
}
-function Cme(e) {
+function xme(e) {
let t = [];
return t.key = e, t;
}
-function wme() {
- var e = lz([]), t = $z, n = Qz, r = Sme;
+function Sme() {
+ var e = fz([]), t = nB, n = tB, r = bme;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Cme), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), xme), 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 = xz(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = wz(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 : lz(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : lz(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : fz(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? $z : typeof e == "function" ? e : lz(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? nB : typeof e == "function" ? e : fz(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? Qz, i) : n;
+ return arguments.length ? (n = e ?? tB, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Tme(e, t) {
+function Cme(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;
}
- Qz(e, t);
+ tB(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Eme(e, t) {
+function wme(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;
}
- Qz(e, t);
+ tB(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function Dme(e, t) {
+function Tme(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) {
@@ -50583,53 +50660,53 @@ function Dme(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, Qz(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, tB(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function eB(e) {
+function rB(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Ome = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function tB(e) {
+var Eme = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function iB(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Ome.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Eme.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function nB(e) {
+function aB(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 rB(e) {
+function oB(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function kme(e) {
- return e == null ? "" : iB(e);
+function Dme(e) {
+ return e == null ? "" : sB(e);
}
-function iB(e) {
+function sB(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(iB).join(",");
- if (rB(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(sB).join(",");
+ if (oB(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 aB(e) {
- if (Array.isArray(e)) return e.map(nB);
+function cB(e) {
+ if (Array.isArray(e)) return e.map(aB);
if (typeof e == "symbol") return [e];
- e = kme(e);
+ e = Dme(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -50657,100 +50734,100 @@ function aB(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function oB(e, t, n) {
+function lB(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (eB(t)) return n;
+ if (rB(t)) return n;
let r = e[t];
- return r === void 0 ? tB(t) && !Object.hasOwn(e, t) ? oB(e, aB(t), n) : n : r;
+ return r === void 0 ? iB(t) && !Object.hasOwn(e, t) ? lB(e, cB(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = nB(t));
+ typeof t == "number" && (t = aB(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Ame(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), eB(t)) return n;
+ if (Array.isArray(t)) return Ome(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), rB(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Ame(e, t, n) {
+function Ome(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || eB(t[e])) return n;
+ if (r == null || rB(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var jme = 4;
-function sB(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : jme), n = Math.round(e * t) / t;
+var kme = 4;
+function uB(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kme), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function cB(e) {
+function dB(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 + sB(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + uB(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var lB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, uB = (e) => typeof e == "number" && e != +e, dB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !uB(e), fB = (e) => Z(e) || typeof e == "string", Mme = 0, pB = (e) => {
- var t = ++Mme;
+var fB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, pB = (e) => typeof e == "number" && e != +e, mB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !pB(e), hB = (e) => Z(e) || typeof e == "string", Ame = 0, gB = (e) => {
+ var t = ++Ame;
return `${e || ""}${t}`;
-}, mB = function(e, t) {
+}, _B = 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 (dB(e)) {
+ if (mB(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return uB(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, hB = (e) => {
+ return pB(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, vB = (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 gB(e, t, n) {
- return Z(e) && Z(t) ? sB(e + n * (t - e)) : t;
+function yB(e, t, n) {
+ return Z(e) && Z(t) ? uB(e + n * (t - e)) : t;
}
-function _B(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : oB(e, t)) === n);
+function bB(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : lB(e, t)) === n);
}
-var vB = (e) => e == null, yB = (e) => vB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function bB(e) {
+var xB = (e) => e == null, SB = (e) => xB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function CB(e) {
return e != null;
}
-function xB() {}
+function wB() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var Nme = [
+var jme = [
"type",
"size",
"sizeType"
];
-function SB() {
- return SB = Object.assign ? Object.assign.bind() : function(e) {
+function TB() {
+ return TB = 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;
- }, SB.apply(null, arguments);
+ }, TB.apply(null, arguments);
}
-function CB(e, t) {
+function EB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50760,30 +50837,30 @@ function CB(e, t) {
}
return n;
}
-function wB(e) {
+function DB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? CB(Object(n), !0).forEach(function(t) {
- Pme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CB(Object(n)).forEach(function(t) {
+ t % 2 ? EB(Object(n), !0).forEach(function(t) {
+ Mme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Pme(e, t, n) {
- return (t = Fme(t)) in e ? Object.defineProperty(e, t, {
+function Mme(e, t, n) {
+ return (t = Nme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fme(e) {
- var t = Ime(e, "string");
+function Nme(e) {
+ var t = Pme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ime(e, t) {
+function Pme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50793,16 +50870,16 @@ function Ime(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Lme(e, t) {
+function Fme(e, t) {
if (e == null) return {};
- var n, r, i = Rme(e, t);
+ var n, r, i = Ime(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 Rme(e, t) {
+function Ime(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50811,68 +50888,68 @@ function Rme(e, t) {
}
return n;
}
-var TB = {
- symbolCircle: kz,
- symbolCross: eme,
- symbolDiamond: nme,
- symbolSquare: rme,
- symbolStar: sme,
- symbolTriangle: cme,
- symbolWye: ume
-}, zme = Math.PI / 180, Bme = (e) => TB[`symbol${yB(e)}`] || kz, Vme = (e, t, n) => {
+var OB = {
+ symbolCircle: Mz,
+ symbolCross: Qpe,
+ symbolDiamond: eme,
+ symbolSquare: tme,
+ symbolStar: ame,
+ symbolTriangle: ome,
+ symbolWye: cme
+}, Lme = Math.PI / 180, Rme = (e) => OB[`symbol${SB(e)}`] || Mz, zme = (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 * zme;
+ var r = 18 * Lme;
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;
}
-}, Hme = (e, t) => {
- TB[`symbol${yB(e)}`] = t;
-}, EB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = wB(wB({}, Lme(e, Nme)), {}, {
+}, Bme = (e, t) => {
+ OB[`symbol${SB(e)}`] = t;
+}, kB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = DB(DB({}, Fme(e, jme)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Bme(a), t = dme().type(e).size(Vme(n, r, a))();
+ var e = Rme(a), t = lme().type(e).size(zme(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = rz(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", SB({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = oz(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", TB({}, u, {
className: bh("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-EB.registerSymbol = Hme;
+kB.registerSymbol = Bme;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var DB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, OB = (e, t) => {
+var AB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, jB = (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) => {
- QR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ tz(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Ume = (e, t, n) => (r) => (e(t, n, r), null), kB = (e, t, n) => {
+}, Vme = (e, t, n) => (r) => (e(t, n, r), null), MB = (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];
- QR(i) && typeof a == "function" && (r ||= {}, r[i] = Ume(a, t, n));
+ tz(i) && typeof a == "function" && (r ||= {}, r[i] = Vme(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function AB(e, t) {
+function NB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50882,30 +50959,30 @@ function AB(e, t) {
}
return n;
}
-function Wme(e) {
+function Hme(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AB(Object(n), !0).forEach(function(t) {
- Gme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AB(Object(n)).forEach(function(t) {
+ t % 2 ? NB(Object(n), !0).forEach(function(t) {
+ Ume(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gme(e, t, n) {
- return (t = Kme(t)) in e ? Object.defineProperty(e, t, {
+function Ume(e, t, n) {
+ return (t = Wme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kme(e) {
- var t = qme(e, "string");
+function Wme(e) {
+ var t = Gme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qme(e, t) {
+function Gme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50915,22 +50992,22 @@ function qme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jB(e, t) {
- var n = Wme({}, e), r = t;
+function PB(e, t) {
+ var n = Hme({}, 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 MB() {
- return MB = Object.assign ? Object.assign.bind() : function(e) {
+function FB() {
+ return FB = 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;
- }, MB.apply(null, arguments);
+ }, FB.apply(null, arguments);
}
-function NB(e, t) {
+function IB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50940,30 +51017,30 @@ function NB(e, t) {
}
return n;
}
-function PB(e) {
+function LB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? NB(Object(n), !0).forEach(function(t) {
- Jme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NB(Object(n)).forEach(function(t) {
+ t % 2 ? IB(Object(n), !0).forEach(function(t) {
+ Kme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Jme(e, t, n) {
- return (t = Yme(t)) in e ? Object.defineProperty(e, t, {
+function Kme(e, t, n) {
+ return (t = qme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Yme(e) {
- var t = Xme(e, "string");
+function qme(e) {
+ var t = Jme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xme(e, t) {
+function Jme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50973,7 +51050,7 @@ function Xme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FB = 32, Zme = {
+var RB = 32, Yme = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -50981,20 +51058,20 @@ var FB = 32, Zme = {
verticalAlign: "middle",
labelStyle: {}
};
-function Qme(e) {
+function Xme(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function $me(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = FB / 2, a = FB / 6, o = FB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Zme(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = RB / 2, a = RB / 6, o = RB / 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: Qme(t.payload),
+ strokeDasharray: Xme(t.payload),
x1: 0,
y1: i,
- x2: FB,
+ x2: RB,
y2: i,
className: "recharts-legend-icon"
});
@@ -51004,35 +51081,35 @@ function $me(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${FB}M${2 * o},${i}
+ H${RB}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,${FB / 8}h${FB}v${FB * 3 / 4}h${-FB}z`,
+ d: `M0,${RB / 8}h${RB}v${RB * 3 / 4}h${-RB}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = PB({}, t);
+ var l = LB({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(EB, {
+ return /*#__PURE__*/ I.createElement(kB, {
fill: s,
cx: i,
cy: i,
- size: FB,
+ size: RB,
sizeType: "diameter",
type: c
});
}
-function ehe(e) {
+function Qme(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: FB,
- height: FB
+ width: RB,
+ height: RB
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -51048,20 +51125,20 @@ function ehe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? PB({}, s) : {};
+ var p = typeof s == "object" ? LB({}, 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", MB({
+ return /*#__PURE__*/ I.createElement("li", FB({
className: f,
style: l,
key: `legend-item-${r}`
- }, kB(e, t, r)), /*#__PURE__*/ I.createElement(az, {
+ }, MB(e, t, r)), /*#__PURE__*/ I.createElement(cz, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ I.createElement($me, {
+ }, /*#__PURE__*/ I.createElement(Zme, {
data: t,
iconType: o,
inactiveColor: a
@@ -51071,8 +51148,8 @@ function ehe(e) {
}, m));
});
}
-var the = (e) => {
- var t = jB(e, Zme), { payload: n, layout: r, align: i } = t;
+var $me = (e) => {
+ var t = PB(e, Yme), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -51082,11 +51159,11 @@ var the = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(ehe, MB({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(Qme, FB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function nhe(e, t) {
+function ehe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -51096,77 +51173,77 @@ function nhe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function rhe(e, t) {
+function the(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function IB(e) {
+function zB(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function ihe(e) {
+function nhe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function LB(e) {
- return e != null && typeof e != "function" && ihe(e.length);
+function BB(e) {
+ return e != null && typeof e != "function" && nhe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function ahe(e) {
+function rhe(e) {
return function(t) {
- return oB(t, e);
+ return lB(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function RB(e) {
+function VB(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function ohe(e) {
+function ihe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function she(e) {
+function ahe(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 zB(e) {
+function HB(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 che = "[object RegExp]", BB = "[object String]", VB = "[object Number]", HB = "[object Boolean]", UB = "[object Arguments]", lhe = "[object Symbol]", uhe = "[object Date]", dhe = "[object Map]", fhe = "[object Set]", phe = "[object Array]", mhe = "[object ArrayBuffer]", hhe = "[object Object]", ghe = "[object DataView]", _he = "[object Uint8Array]", vhe = "[object Uint8ClampedArray]", yhe = "[object Uint16Array]", bhe = "[object Uint32Array]", xhe = "[object Int8Array]", She = "[object Int16Array]", Che = "[object Int32Array]", whe = "[object Float32Array]", The = "[object Float64Array]", WB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var ohe = "[object RegExp]", UB = "[object String]", WB = "[object Number]", GB = "[object Boolean]", KB = "[object Arguments]", she = "[object Symbol]", che = "[object Date]", lhe = "[object Map]", uhe = "[object Set]", dhe = "[object Array]", fhe = "[object ArrayBuffer]", phe = "[object Object]", mhe = "[object DataView]", hhe = "[object Uint8Array]", ghe = "[object Uint8ClampedArray]", _he = "[object Uint16Array]", vhe = "[object Uint32Array]", yhe = "[object Int8Array]", bhe = "[object Int16Array]", xhe = "[object Int32Array]", She = "[object Float32Array]", Che = "[object Float64Array]", qB = 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 Ehe(e) {
- return WB.Buffer !== void 0 && WB.Buffer.isBuffer(e);
+function whe(e) {
+ return qB.Buffer !== void 0 && qB.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Dhe(e, t) {
- return GB(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function The(e, t) {
+ return JB(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function GB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function JB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (RB(e)) return e;
+ if (VB(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] = GB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = JB(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());
@@ -51177,132 +51254,132 @@ function GB(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, GB(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, JB(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(GB(a, void 0, n, r, i));
+ for (let a of e) t.add(JB(a, void 0, n, r, i));
return t;
}
- if (Ehe(e)) return e.subarray();
- if (ohe(e)) {
+ if (whe(e)) return e.subarray();
+ if (ihe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = GB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = JB(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), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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, KB(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, YB(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
- if (typeof e == "object" && Ohe(e)) {
+ if (typeof e == "object" && Ehe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), KB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
return e;
}
-function KB(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...she(t)];
+function YB(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...ahe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = GB(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = JB(t[s], s, n, r, i));
}
}
-function Ohe(e) {
- switch (zB(e)) {
- case UB:
- case phe:
+function Ehe(e) {
+ switch (HB(e)) {
+ case KB:
+ case dhe:
+ case fhe:
case mhe:
- case ghe:
- case HB:
- case uhe:
- case whe:
- case The:
- case xhe:
+ case GB:
+ case che:
case She:
case Che:
- case dhe:
- case VB:
- case hhe:
- case che:
- case fhe:
- case BB:
+ case yhe:
+ case bhe:
+ case xhe:
case lhe:
+ case WB:
+ case phe:
+ case ohe:
+ case uhe:
+ case UB:
+ case she:
+ case hhe:
+ case ghe:
case _he:
- case vhe:
- case yhe:
- case bhe: return !0;
+ case vhe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function khe(e) {
- return GB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Dhe(e) {
+ return JB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function qB(e, t) {
+function XB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function JB(e) {
+function ZB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function YB(e, t, n) {
- return typeof n == "function" ? XB(e, t, function e(t, r, i, a, o, s) {
+function QB(e, t, n) {
+ return typeof n == "function" ? $B(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? XB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : YB(e, t, () => void 0);
+ return c === void 0 ? $B(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : QB(e, t, () => void 0);
}
-function XB(e, t, n, r, i = !1) {
+function $B(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Ahe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? XB(e, { ...t }, n, r, i) : qB(e, t);
- default: return JB(e) && i ? typeof t != "string" || t === "" : qB(e, t);
+ case "object": return Ohe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? $B(e, { ...t }, n, r, i) : XB(e, t);
+ default: return ZB(e) && i ? typeof t != "string" || t === "" : XB(e, t);
}
}
-function Ahe(e, t, n, r, i = !1) {
+function Ohe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return ZB(e, t, n, r);
- if (t instanceof Map) return jhe(e, t, n, r);
- if (t instanceof Set) return Mhe(e, t, n, r);
+ if (Array.isArray(t)) return eV(e, t, n, r);
+ if (t instanceof Map) return khe(e, t, n, r);
+ if (t instanceof Set) return Ahe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) RB(e) && (e = Object(e));
+ if (i) VB(e) && (e = Object(e));
else {
- let t = zB(e);
+ let t = HB(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -51318,13 +51395,13 @@ function Ahe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function jhe(e, t, n, r) {
+function khe(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 ZB(e, t, n, r) {
+function eV(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -51342,40 +51419,40 @@ function ZB(e, t, n, r) {
}
return !0;
}
-function Mhe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && ZB([...e], [...t], n, r);
+function Ahe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && eV([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function QB(e, t) {
- return YB(e, t, () => void 0);
+function tV(e, t) {
+ return QB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Nhe(e) {
- return e = khe(e), (t) => QB(t, e);
+function jhe(e) {
+ return e = Dhe(e), (t) => tV(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Phe(e, t) {
- return Dhe(e, (n, r, i, a) => {
+function Mhe(e, t) {
+ return The(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (zB(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (HB(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), KB(t, e, i, a), t;
+ return a.set(e, t), YB(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case VB:
- case BB:
- case HB: {
+ case WB:
+ case UB:
+ case GB: {
let t = new e.constructor(e?.valueOf());
- return KB(t, e), t;
+ return YB(t, e), t;
}
- case UB: {
+ case KB: {
let t = {};
- return KB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return YB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -51384,79 +51461,79 @@ function Phe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Fhe(e) {
- return Phe(e);
+function Nhe(e) {
+ return Mhe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Ihe = /^(?:0|[1-9]\d*)$/;
-function $B(e, t = 2 ** 53 - 1) {
+var Phe = /^(?:0|[1-9]\d*)$/;
+function nV(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 Ihe.test(e);
+ case "string": return Phe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function Lhe(e) {
- return typeof e == "object" && !!e && zB(e) === "[object Arguments]";
+function Fhe(e) {
+ return typeof e == "object" && !!e && HB(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function Rhe(e, t) {
+function Ihe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && tB(t) && !(t in Object(e)) ? aB(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && iB(t) && !(t in Object(e)) ? cB(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = nB(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Lhe(r)) && $B(t) && Number(t) < r.length)) return !1;
+ let t = aB(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Fhe(r)) && nV(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function zhe(e, t) {
+function Lhe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = nB(e);
+ case "number": e = aB(e);
}
- return t = Fhe(t), function(n) {
- let r = oB(n, e);
- return r === void 0 ? Rhe(n, e) : t === void 0 ? r === void 0 : QB(r, t);
+ return t = Nhe(t), function(n) {
+ let r = lB(n, e);
+ return r === void 0 ? Ihe(n, e) : t === void 0 ? r === void 0 : tV(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function eV(e) {
- if (e == null) return IB;
+function rV(e) {
+ if (e == null) return zB;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? zhe(e[0], e[1]) : Nhe(e);
- default: return ahe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Lhe(e[0], e[1]) : jhe(e);
+ default: return rhe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Bhe(e) {
+function Rhe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function tV(e, t = IB) {
- return LB(e) ? nhe(Array.from(e), rhe(eV(t), 1)).map(Bhe) : [];
+function iV(e, t = zB) {
+ return BB(e) ? ehe(Array.from(e), the(rV(t), 1)).map(Rhe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function nV(e, t, n) {
- return t === !0 ? tV(e, n) : typeof t == "function" ? tV(e, t) : e;
+function aV(e, t, n) {
+ return t === !0 ? iV(e, n) : typeof t == "function" ? iV(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Vhe = /* @__PURE__ */ F(((e) => {
+var zhe = /* @__PURE__ */ F(((e) => {
var t = ce(), n = Jh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -51501,60 +51578,60 @@ var Vhe = /* @__PURE__ */ F(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Hhe = /* @__PURE__ */ F(((e, t) => {
- t.exports = Vhe();
-})), rV = /*#__PURE__*/ (0, I.createContext)(null), Uhe = Hhe(), Whe = (e) => e, iV = () => {
- var e = (0, I.useContext)(rV);
- return e ? e.store.dispatch : Whe;
-}, aV = () => {}, oV = () => aV, sV = (e, t) => e === t;
+})), Bhe = /* @__PURE__ */ F(((e, t) => {
+ t.exports = zhe();
+})), oV = /*#__PURE__*/ (0, I.createContext)(null), Vhe = Bhe(), Hhe = (e) => e, sV = () => {
+ var e = (0, I.useContext)(oV);
+ return e ? e.store.dispatch : Hhe;
+}, cV = () => {}, Uhe = () => cV, Whe = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(rV), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(oV), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : aV, [t, e]);
- return (0, Uhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : oV, t ? t.store.getState : aV, t ? t.store.getState : aV, n, sV);
+ } : cV, [t, e]);
+ return (0, Vhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Uhe, t ? t.store.getState : cV, t ? t.store.getState : cV, n, Whe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function cV(e, t = `expected a function, instead received ${typeof e}`) {
+function lV(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function lV(e, t = `expected an object, instead received ${typeof e}`) {
+function uV(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function uV(e, t = "expected all items to be functions, instead received the following types: ") {
+function dV(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 dV = (e) => Array.isArray(e) ? e : [e];
-function fV(e) {
+var fV = (e) => Array.isArray(e) ? e : [e];
+function pV(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return uV(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return dV(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function pV(e, t) {
+function mV(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var mV = class {
+var hV = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, hV = typeof WeakRef < "u" ? WeakRef : mV, gV = 0, _V = 1;
-function vV() {
+}, gV = typeof WeakRef < "u" ? WeakRef : hV, _V = 0, vV = 1;
+function yV() {
return {
- s: gV,
+ s: _V,
v: void 0,
o: null,
p: null
};
}
-function yV(e, t = {}) {
- let n = vV(), { resultEqualityCheck: r } = t, i, a = 0;
+function bV(e, t = {}) {
+ let n = yV(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -51563,43 +51640,43 @@ function yV(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = vV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = yV(), 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 = vV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = yV(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === _V) c = t.v;
+ if (t.s === vV) 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 hV(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new gV(c) : c;
}
- return s.s = _V, s.v = c, c;
+ return s.s = vV, s.v = c, c;
}
return o.clearCache = () => {
- n = vV(), o.resetResultsCount();
+ n = yV(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function bV(e, ...t) {
+function xV(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()), cV(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = yV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), lV(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = bV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = dV(c), p = dV(u), m = fV(e), h = s(function() {
+ }, f = fV(c), p = fV(u), m = pV(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = pV(m, arguments);
+ let e = mV(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -51621,14 +51698,14 @@ function bV(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ bV(yV), xV = Object.assign((e, t = $) => {
- lV(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ xV(bV), SV = Object.assign((e, t = $) => {
+ uV(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: () => xV });
+}, { withTypes: () => SV });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function SV(e, t = 1) {
+function CV(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -51639,17 +51716,17 @@ function SV(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function CV(e, t, n) {
- return JB(n) && (typeof t == "number" && LB(n) && $B(t) && t < n.length || typeof t == "string" && t in n) ? qB(n[t], e) : !1;
+function wV(e, t, n) {
+ return ZB(n) && (typeof t == "number" && BB(n) && nV(t) && t < n.length || typeof t == "string" && t in n) ? XB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function wV(e) {
+function TV(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var TV = (e, t, n) => {
+var EV = (e, t, n) => {
if (e !== t) {
- let r = wV(e), i = wV(t);
+ let r = TV(e), i = TV(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -51657,15 +51734,15 @@ var TV = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, EV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, DV = /^\w*$/;
-function OV(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || rB(e) ? !0 : typeof e == "string" && (DV.test(e) || !EV.test(e)) || t != null && Object.hasOwn(t, e);
+}, DV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, OV = /^\w*$/;
+function kV(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || oB(e) ? !0 : typeof e == "string" && (OV.test(e) || !DV.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function kV(e, t, n, r) {
+function AV(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = LB(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 = BB(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]];
@@ -51673,16 +51750,16 @@ function kV(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) || OV(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || kV(e) ? e : {
key: e,
- path: aB(e)
+ path: cB(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 = TV(e.criteria[r], t.criteria[r], n[r]);
+ let i = EV(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -51690,25 +51767,25 @@ function kV(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function AV(e, ...t) {
+function jV(e, ...t) {
let n = t.length;
- return n > 1 && CV(e, t[0], t[1]) ? t = [] : n > 2 && CV(t[0], t[1], t[2]) && (t = [t[0]]), kV(e, SV(t), ["asc"]);
+ return n > 1 && wV(e, t[0], t[1]) ? t = [] : n > 2 && wV(t[0], t[1], t[2]) && (t = [t[0]]), AV(e, CV(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var jV = (e) => e.legend.settings, MV = (e) => e.legend.size, NV = $([(e) => e.legend.payload, jV], (e, t) => {
+var MV = (e) => e.legend.settings, NV = (e) => e.legend.size, PV = $([(e) => e.legend.payload, MV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? AV(r, n) : r;
+ return n ? jV(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function PV() {
- return Q(NV);
+function FV() {
+ return Q(PV);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var FV = 1;
-function IV() {
+var IV = 1;
+function LV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -51723,7 +51800,7 @@ function IV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > FV || Math.abs(i.left - t.left) > FV || Math.abs(i.top - t.top) > FV || Math.abs(i.width - t.width) > FV) && n({
+ (Math.abs(i.height - t.height) > IV || Math.abs(i.left - t.left) > IV || Math.abs(i.top - t.top) > IV || Math.abs(i.width - t.width) > IV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -51740,26 +51817,26 @@ function IV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function LV(e) {
+function RV(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 RV = typeof Symbol == "function" && Symbol.observable || "@@observable", zV = () => Math.random().toString(36).substring(7).split("").join("."), BV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ zV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zV()}`
+var zV = typeof Symbol == "function" && Symbol.observable || "@@observable", BV = () => Math.random().toString(36).substring(7).split("").join("."), VV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ BV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ BV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${BV()}`
};
-function VV(e) {
+function HV(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 HV(e, t, n) {
- if (typeof e != "function") throw Error(LV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(LV(0));
+function UV(e, t, n) {
+ if (typeof e != "function") throw Error(RV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(RV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(LV(1));
- return n(HV)(e, t);
+ if (typeof n != "function") throw Error(RV(1));
+ return n(UV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -51768,27 +51845,27 @@ function HV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(LV(3));
+ if (c) throw Error(RV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(LV(4));
- if (c) throw Error(LV(5));
+ if (typeof e != "function") throw Error(RV(4));
+ if (c) throw Error(RV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(LV(6));
+ if (c) throw Error(RV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!VV(e)) throw Error(LV(7));
- if (e.type === void 0) throw Error(LV(8));
- if (typeof e.type != "string") throw Error(LV(17));
- if (c) throw Error(LV(9));
+ if (!HV(e)) throw Error(RV(7));
+ if (e.type === void 0) throw Error(RV(8));
+ if (typeof e.type != "string") throw Error(RV(17));
+ if (c) throw Error(RV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -51799,41 +51876,41 @@ function HV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(LV(10));
- r = e, f({ type: BV.REPLACE });
+ if (typeof e != "function") throw Error(RV(10));
+ r = e, f({ type: VV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(LV(11));
+ if (typeof t != "object" || !t) throw Error(RV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [RV]() {
+ [zV]() {
return this;
}
};
}
- return f({ type: BV.INIT }), {
+ return f({ type: VV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [RV]: m
+ [zV]: m
};
}
-function UV(e) {
+function WV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: BV.INIT }) === void 0) throw Error(LV(12));
- if (n(void 0, { type: BV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(LV(13));
+ if (n(void 0, { type: VV.INIT }) === void 0) throw Error(RV(12));
+ if (n(void 0, { type: VV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(RV(13));
});
}
-function WV(e) {
+function GV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -51841,7 +51918,7 @@ function WV(e) {
}
let r = Object.keys(n), i;
try {
- UV(n);
+ WV(n);
} catch (e) {
i = e;
}
@@ -51850,124 +51927,124 @@ function WV(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(LV(14));
+ if (u === void 0) throw t && t.type, Error(RV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function GV(...e) {
+function KV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function KV(...e) {
+function qV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(LV(15));
+ throw Error(RV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = GV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = KV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function qV(e) {
- return VV(e) && "type" in e && typeof e.type == "string";
+function JV(e) {
+ return HV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var JV = Symbol.for("immer-nothing"), YV = Symbol.for("immer-draftable"), XV = Symbol.for("immer-state");
-function ZV(e, ...t) {
+var YV = Symbol.for("immer-nothing"), XV = Symbol.for("immer-draftable"), ZV = Symbol.for("immer-state");
+function QV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var QV = Object, $V = QV.getPrototypeOf, eH = "constructor", tH = "prototype", nH = "configurable", rH = "enumerable", iH = "writable", aH = "value", oH = (e) => !!e && !!e[XV];
-function sH(e) {
- return e ? uH(e) || _H(e) || !!e[YV] || !!e[eH]?.[YV] || vH(e) || yH(e) : !1;
+var $V = Object, eH = $V.getPrototypeOf, tH = "constructor", nH = "prototype", rH = "configurable", iH = "enumerable", aH = "writable", oH = "value", sH = (e) => !!e && !!e[ZV];
+function cH(e) {
+ return e ? dH(e) || vH(e) || !!e[XV] || !!e[tH]?.[XV] || yH(e) || bH(e) : !1;
}
-var cH = QV[tH][eH].toString(), lH = /* @__PURE__ */ new WeakMap();
-function uH(e) {
- if (!e || !bH(e)) return !1;
- let t = $V(e);
- if (t === null || t === QV[tH]) return !0;
- let n = QV.hasOwnProperty.call(t, eH) && t[eH];
+var lH = $V[nH][tH].toString(), uH = /* @__PURE__ */ new WeakMap();
+function dH(e) {
+ if (!e || !xH(e)) return !1;
+ let t = eH(e);
+ if (t === null || t === $V[nH]) return !0;
+ let n = $V.hasOwnProperty.call(t, tH) && t[tH];
if (n === Object) return !0;
- if (!xH(n)) return !1;
- let r = lH.get(n);
- return r === void 0 && (r = Function.toString.call(n), lH.set(n, r)), r === cH;
+ if (!SH(n)) return !1;
+ let r = uH.get(n);
+ return r === void 0 && (r = Function.toString.call(n), uH.set(n, r)), r === lH;
}
-function dH(e, t, n = !0) {
- fH(e) === 0 ? (n ? Reflect.ownKeys(e) : QV.keys(e)).forEach((n) => {
+function fH(e, t, n = !0) {
+ pH(e) === 0 ? (n ? Reflect.ownKeys(e) : $V.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function fH(e) {
- let t = e[XV];
- return t ? t.type_ : _H(e) ? 1 : vH(e) ? 2 : yH(e) ? 3 : 0;
+function pH(e) {
+ let t = e[ZV];
+ return t ? t.type_ : vH(e) ? 1 : yH(e) ? 2 : bH(e) ? 3 : 0;
}
-var pH = (e, t, n = fH(e)) => n === 2 ? e.has(t) : QV[tH].hasOwnProperty.call(e, t), mH = (e, t, n = fH(e)) => n === 2 ? e.get(t) : e[t], hH = (e, t, n, r = fH(e)) => {
+var mH = (e, t, n = pH(e)) => n === 2 ? e.has(t) : $V[nH].hasOwnProperty.call(e, t), hH = (e, t, n = pH(e)) => n === 2 ? e.get(t) : e[t], gH = (e, t, n, r = pH(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function gH(e, t) {
+function _H(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var _H = Array.isArray, vH = (e) => e instanceof Map, yH = (e) => e instanceof Set, bH = (e) => typeof e == "object", xH = (e) => typeof e == "function", SH = (e) => typeof e == "boolean";
-function CH(e) {
+var vH = Array.isArray, yH = (e) => e instanceof Map, bH = (e) => e instanceof Set, xH = (e) => typeof e == "object", SH = (e) => typeof e == "function", CH = (e) => typeof e == "boolean";
+function wH(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var wH = (e) => e.copy_ || e.base_, TH = (e) => e.modified_ ? e.copy_ : e.base_;
-function EH(e, t) {
- if (vH(e)) return new Map(e);
- if (yH(e)) return new Set(e);
- if (_H(e)) return Array[tH].slice.call(e);
- let n = uH(e);
+var TH = (e) => e.copy_ || e.base_, EH = (e) => e.modified_ ? e.copy_ : e.base_;
+function DH(e, t) {
+ if (yH(e)) return new Map(e);
+ if (bH(e)) return new Set(e);
+ if (vH(e)) return Array[nH].slice.call(e);
+ let n = dH(e);
if (t === !0 || t === "class_only" && !n) {
- let t = QV.getOwnPropertyDescriptors(e);
- delete t[XV];
+ let t = $V.getOwnPropertyDescriptors(e);
+ delete t[ZV];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[iH] === !1 && (a[iH] = !0, a[nH] = !0), (a.get || a.set) && (t[i] = {
- [nH]: !0,
- [iH]: !0,
- [rH]: a[rH],
- [aH]: e[i]
+ a[aH] === !1 && (a[aH] = !0, a[rH] = !0), (a.get || a.set) && (t[i] = {
+ [rH]: !0,
+ [aH]: !0,
+ [iH]: a[iH],
+ [oH]: e[i]
});
}
- return QV.create($V(e), t);
+ return $V.create(eH(e), t);
}
{
- let t = $V(e);
+ let t = eH(e);
if (t !== null && n) return { ...e };
- let r = QV.create(t);
- return QV.assign(r, e);
- }
-}
-function DH(e, t = !1) {
- return AH(e) || oH(e) || !sH(e) ? e : (fH(e) > 1 && QV.defineProperties(e, {
- set: kH,
- add: kH,
- clear: kH,
- delete: kH
- }), QV.freeze(e), t && dH(e, (e, t) => {
- DH(t, !0);
+ let r = $V.create(t);
+ return $V.assign(r, e);
+ }
+}
+function OH(e, t = !1) {
+ return jH(e) || sH(e) || !cH(e) ? e : (pH(e) > 1 && $V.defineProperties(e, {
+ set: AH,
+ add: AH,
+ clear: AH,
+ delete: AH
+ }), $V.freeze(e), t && fH(e, (e, t) => {
+ OH(t, !0);
}, !1), e);
}
-function OH() {
- ZV(2);
+function kH() {
+ QV(2);
}
-var kH = { [aH]: OH };
-function AH(e) {
- return e === null || !bH(e) || QV.isFrozen(e);
+var AH = { [oH]: kH };
+function jH(e) {
+ return e === null || !xH(e) || $V.isFrozen(e);
}
-var jH = "MapSet", MH = "Patches", NH = "ArrayMethods", PH = {};
-function FH(e) {
- let t = PH[e];
- return t || ZV(0, e), t;
+var MH = "MapSet", NH = "Patches", PH = "ArrayMethods", FH = {};
+function IH(e) {
+ let t = FH[e];
+ return t || QV(0, e), t;
}
-var IH = (e) => !!PH[e], LH, RH = () => LH, zH = (e, t) => ({
+var LH = (e) => !!FH[e], RH, zH = () => RH, BH = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -51975,114 +52052,114 @@ var IH = (e) => !!PH[e], LH, RH = () => LH, zH = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: IH(jH) ? FH(jH) : void 0,
- arrayMethodsPlugin_: IH(NH) ? FH(NH) : void 0
+ mapSetPlugin_: LH(MH) ? IH(MH) : void 0,
+ arrayMethodsPlugin_: LH(PH) ? IH(PH) : void 0
});
-function BH(e, t) {
- t && (e.patchPlugin_ = FH(MH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function VH(e) {
- HH(e), e.drafts_.forEach(WH), e.drafts_ = null;
+function VH(e, t) {
+ t && (e.patchPlugin_ = IH(NH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function HH(e) {
- e === LH && (LH = e.parent_);
+ UH(e), e.drafts_.forEach(GH), e.drafts_ = null;
+}
+function UH(e) {
+ e === RH && (RH = e.parent_);
}
-var UH = (e) => LH = zH(LH, e);
-function WH(e) {
- let t = e[XV];
+var WH = (e) => RH = BH(RH, e);
+function GH(e) {
+ let t = e[ZV];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function GH(e, t) {
+function KH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[XV].modified_ && (VH(t), ZV(4)), sH(e) && (e = KH(t, e));
+ n[ZV].modified_ && (HH(t), QV(4)), cH(e) && (e = qH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[XV].base_, e, t);
- } else e = KH(t, n);
- return qH(t, e, !0), VH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === JV ? void 0 : e;
-}
-function KH(e, t) {
- if (AH(t)) return t;
- let n = t[XV];
- if (!n) return tU(t, e.handledSet_, e);
- if (!YH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[ZV].base_, e, t);
+ } else e = qH(t, n);
+ return JH(t, e, !0), HH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === YV ? void 0 : e;
+}
+function qH(e, t) {
+ if (jH(t)) return t;
+ let n = t[ZV];
+ if (!n) return nU(t, e.handledSet_, e);
+ if (!XH(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);
- $H(n, e);
+ eU(n, e);
}
return n.copy_;
}
-function qH(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && DH(t, n);
+function JH(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OH(t, n);
}
-function JH(e) {
+function YH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var YH = (e, t) => e.scope_ === t, XH = [];
-function ZH(e, t, n, r) {
- let i = wH(e), a = e.type_;
- if (r !== void 0 && mH(i, r, a) === t) {
- hH(i, r, n, a);
+var XH = (e, t) => e.scope_ === t, ZH = [];
+function QH(e, t, n, r) {
+ let i = TH(e), a = e.type_;
+ if (r !== void 0 && hH(i, r, a) === t) {
+ gH(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- dH(i, (e, n) => {
- if (oH(n)) {
+ fH(i, (e, n) => {
+ if (sH(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? XH;
- for (let e of o) hH(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? ZH;
+ for (let e of o) gH(i, e, n, a);
}
-function QH(e, t, n) {
+function $H(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !YH(i, r)) return;
+ if (!i || !XH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = TH(i);
- ZH(e, i.draft_ ?? i, a, n), $H(i, r);
+ let a = EH(i);
+ QH(e, i.draft_ ?? i, a, n), eU(i, r);
});
}
-function $H(e, t) {
+function eU(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);
}
- JH(e);
+ YH(e);
}
}
-function eU(e, t, n) {
+function tU(e, t, n) {
let { scope_: r } = e;
- if (oH(n)) {
- let i = n[XV];
- YH(i, r) && i.callbacks_.push(function() {
- uU(e), ZH(e, n, TH(i), t);
+ if (sH(n)) {
+ let i = n[ZV];
+ XH(i, r) && i.callbacks_.push(function() {
+ dU(e), QH(e, n, EH(i), t);
});
- } else sH(n) && e.callbacks_.push(function() {
- let i = wH(e);
- e.type_ === 3 ? i.has(n) && tU(n, r.handledSet_, r) : mH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && tU(mH(e.copy_, t, e.type_), r.handledSet_, r);
+ } else cH(n) && e.callbacks_.push(function() {
+ let i = TH(e);
+ e.type_ === 3 ? i.has(n) && nU(n, r.handledSet_, r) : hH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && nU(hH(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function tU(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || oH(e) || t.has(e) || !sH(e) || AH(e) ? e : (t.add(e), dH(e, (r, i) => {
- if (oH(i)) {
- let t = i[XV];
- YH(t, n) && (hH(e, r, TH(t), e.type_), JH(t));
- } else sH(i) && tU(i, t, n);
+function nU(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || sH(e) || t.has(e) || !cH(e) || jH(e) ? e : (t.add(e), fH(e, (r, i) => {
+ if (sH(i)) {
+ let t = i[ZV];
+ XH(t, n) && (gH(e, r, EH(t), e.type_), YH(t));
+ } else cH(i) && nU(i, t, n);
}), e);
}
-function nU(e, t) {
- let n = _H(e), r = {
+function rU(e, t) {
+ let n = vH(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : RH(),
+ scope_: t ? t.scope_ : zH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -52093,108 +52170,108 @@ function nU(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = rU;
- n && (i = [r], a = iU);
+ }, i = r, a = iU;
+ n && (i = [r], a = aU);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var rU = {
+var iU = {
get(e, t) {
- if (t === XV) return e;
+ if (t === ZV) 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 = wH(e);
- if (!pH(i, t, e.type_)) return sU(e, i, t);
+ let i = TH(e);
+ if (!mH(i, t, e.type_)) return cU(e, i, t);
let a = i[t];
- if (e.finalized_ || !sH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && CH(t)) return a;
- if (a === aU(e.base_, t) || oU(e, t, a)) {
- uU(e);
- let n = e.type_ === 1 ? +t : t, r = fU(e.scope_, a, e, n);
+ if (e.finalized_ || !cH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && wH(t)) return a;
+ if (a === oU(e.base_, t) || sU(e, t, a)) {
+ dU(e);
+ let n = e.type_ === 1 ? +t : t, r = pU(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in wH(e);
+ return t in TH(e);
},
ownKeys(e) {
- return Reflect.ownKeys(wH(e));
+ return Reflect.ownKeys(TH(e));
},
set(e, t, n) {
- let r = cU(wH(e), t);
+ let r = lU(TH(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = aU(wH(e), t), i = r?.[XV];
+ let r = oU(TH(e), t), i = r?.[ZV];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (gH(n, r) && (n !== void 0 || pH(e.base_, t, e.type_))) return !0;
- uU(e), lU(e);
+ if (_H(n, r) && (n !== void 0 || mH(e.base_, t, e.type_))) return !0;
+ dU(e), uU(e);
}
- return e.copy_[t] === n && (n !== void 0 || pH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), eU(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || mH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), tU(e, t, n), !0);
},
deleteProperty(e, t) {
- return uU(e), aU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), lU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return dU(e), oU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), uU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = wH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = TH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [iH]: !0,
- [nH]: e.type_ !== 1 || t !== "length",
- [rH]: r[rH],
- [aH]: n[t]
+ [aH]: !0,
+ [rH]: e.type_ !== 1 || t !== "length",
+ [iH]: r[iH],
+ [oH]: n[t]
};
},
defineProperty() {
- ZV(11);
+ QV(11);
},
getPrototypeOf(e) {
- return $V(e.base_);
+ return eH(e.base_);
},
setPrototypeOf() {
- ZV(12);
+ QV(12);
}
-}, iU = {};
-for (let e in rU) {
- let t = rU[e];
- iU[e] = function() {
+}, aU = {};
+for (let e in iU) {
+ let t = iU[e];
+ aU[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-iU.deleteProperty = function(e, t) {
- return iU.set.call(this, e, t, void 0);
-}, iU.set = function(e, t, n) {
- return rU.set.call(this, e[0], t, n, e[0]);
+aU.deleteProperty = function(e, t) {
+ return aU.set.call(this, e, t, void 0);
+}, aU.set = function(e, t, n) {
+ return iU.set.call(this, e[0], t, n, e[0]);
};
-function aU(e, t) {
- let n = e[XV];
- return (n ? wH(n) : e)[t];
-}
-function oU(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !sH(n) || n[XV] ? !1 : e.baseRefs_.has(n);
+function oU(e, t) {
+ let n = e[ZV];
+ return (n ? TH(n) : e)[t];
}
function sU(e, t, n) {
- let r = cU(t, n);
- return r ? aH in r ? r[aH] : r.get?.call(e.draft_) : void 0;
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !cH(n) || n[ZV] ? !1 : e.baseRefs_.has(n);
+}
+function cU(e, t, n) {
+ let r = lU(t, n);
+ return r ? oH in r ? r[oH] : r.get?.call(e.draft_) : void 0;
}
-function cU(e, t) {
+function lU(e, t) {
if (!(t in e)) return;
- let n = $V(e);
+ let n = eH(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = $V(n);
+ n = eH(n);
}
}
-function lU(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && lU(e.parent_));
-}
function uU(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), EH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && uU(e.parent_));
+}
+function dU(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), DH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var dU = class {
+var fU = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (xH(e) && !xH(t)) {
+ if (SH(e) && !SH(t)) {
let n = t;
t = e;
let r = this;
@@ -52202,30 +52279,30 @@ var dU = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- xH(t) || ZV(6), n !== void 0 && !xH(n) && ZV(7);
+ SH(t) || QV(6), n !== void 0 && !SH(n) && QV(7);
let r;
- if (sH(e)) {
- let i = UH(this), a = fU(i, e, void 0), o = !0;
+ if (cH(e)) {
+ let i = WH(this), a = pU(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? VH(i) : HH(i);
+ o ? HH(i) : UH(i);
}
- return BH(i, n), GH(r, i);
+ return VH(i, n), KH(r, i);
}
- if (!e || !bH(e)) {
- if (r = t(e), r === void 0 && (r = e), r === JV && (r = void 0), this.autoFreeze_ && DH(r, !0), n) {
+ if (!e || !xH(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === YV && (r = void 0), this.autoFreeze_ && OH(r, !0), n) {
let t = [], i = [];
- FH(MH).generateReplacementPatches_(e, r, {
+ IH(NH).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- ZV(1, e);
+ QV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (xH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (SH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -52234,18 +52311,18 @@ var dU = class {
n,
r
];
- }, SH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), SH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), SH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, CH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), CH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), CH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- sH(e) || ZV(8), oH(e) && (e = pU(e));
- let t = UH(this), n = fU(t, e, void 0);
- return n[XV].isManual_ = !0, HH(t), n;
+ cH(e) || QV(8), sH(e) && (e = mU(e));
+ let t = WH(this), n = pU(t, e, void 0);
+ return n[ZV].isManual_ = !0, UH(t), n;
}
finishDraft(e, t) {
- let n = e && e[XV];
- (!n || !n.isManual_) && ZV(9);
+ let n = e && e[ZV];
+ (!n || !n.isManual_) && QV(9);
let { scope_: r } = n;
- return BH(r, t), GH(void 0, r);
+ return VH(r, t), KH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -52269,48 +52346,48 @@ var dU = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = FH(MH).applyPatches_;
- return oH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = IH(NH).applyPatches_;
+ return sH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function fU(e, t, n, r) {
- let [i, a] = vH(t) ? FH(jH).proxyMap_(t, n) : yH(t) ? FH(jH).proxySet_(t, n) : nU(t, n);
- return (n?.scope_ ?? RH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? QH(n, a, r) : a.callbacks_.push(function(e) {
+function pU(e, t, n, r) {
+ let [i, a] = yH(t) ? IH(MH).proxyMap_(t, n) : bH(t) ? IH(MH).proxySet_(t, n) : rU(t, n);
+ return (n?.scope_ ?? zH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? $H(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 pU(e) {
- return oH(e) || ZV(10, e), mU(e);
-}
function mU(e) {
- if (!sH(e) || AH(e)) return e;
- let t = e[XV], n, r = !0;
+ return sH(e) || QV(10, e), hU(e);
+}
+function hU(e) {
+ if (!cH(e) || jH(e)) return e;
+ let t = e[ZV], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = EH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = EH(e, !0);
- return dH(n, (e, t) => {
- hH(n, e, mU(t));
+ t.finalized_ = !0, n = DH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = DH(e, !0);
+ return fH(n, (e, t) => {
+ gH(n, e, hU(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var hU = new dU().produce;
+var gU = new fU().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function gU(e) {
+function _U(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var _U = gU(), vU = gU, yU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? GV : GV.apply(null, arguments);
+var vU = _U(), yU = _U, bU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? KV : KV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function bU(e, t) {
+function xU(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(kW(0));
+ if (!r) throw Error(AW(0));
return {
type: e,
payload: r.payload,
@@ -52323,9 +52400,9 @@ function bU(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => qV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => JV(t) && t.type === e, n;
}
-var xU = class e extends Array {
+var SU = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -52339,29 +52416,29 @@ var xU = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function SU(e) {
- return sH(e) ? hU(e, () => {}) : e;
+function CU(e) {
+ return cH(e) ? gU(e, () => {}) : e;
}
-function CU(e, t, n) {
+function wU(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function wU(e) {
+function TU(e) {
return typeof e == "boolean";
}
-var TU = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new xU();
- return t && (wU(t) ? a.push(_U) : a.push(vU(t.extraArgument))), a;
-}, EU = "RTK_autoBatch", DU = () => (e) => ({
+var EU = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new SU();
+ return t && (TU(t) ? a.push(vU) : a.push(yU(t.extraArgument))), a;
+}, DU = "RTK_autoBatch", OU = () => (e) => ({
payload: e,
- meta: { [EU]: !0 }
-}), OU = (e) => (t) => {
+ meta: { [DU]: !0 }
+}), kU = (e) => (t) => {
setTimeout(t, e);
-}, kU = (e, t) => (n) => {
+}, AU = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, AU = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? kU(window.requestAnimationFrame, 100) : OU(10) : e.type === "callback" ? e.queueNotification : OU(e.timeout), l = () => {
+}, jU = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? AU(window.requestAnimationFrame, 100) : kU(10) : e.type === "callback" ? e.queueNotification : kU(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -52373,37 +52450,37 @@ var TU = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[EU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[DU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, jU = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new xU(e);
- return n && r.push(AU(typeof n == "object" ? n : void 0)), r;
+}, MU = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new SU(e);
+ return n && r.push(jU(typeof n == "object" ? n : void 0)), r;
};
-function MU(e) {
- let t = TU(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function NU(e) {
+ let t = EU(), { 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 (VV(n)) c = WV(n);
- else throw Error(kW(1));
+ else if (HV(n)) c = GV(n);
+ else throw Error(AW(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = GV;
- i && (u = yU({
+ let u = KV;
+ i && (u = bU({
trace: !1,
...typeof i == "object" && i
}));
- let d = jU(KV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return HV(c, o, p);
+ let d = MU(qV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return UV(c, o, p);
}
-function NU(e) {
+function PU(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(kW(28));
- if (r in t) throw Error(kW(29));
+ if (!r) throw Error(AW(28));
+ if (r in t) throw Error(AW(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -52428,25 +52505,25 @@ function NU(e) {
r
];
}
-function PU(e) {
+function FU(e) {
return typeof e == "function";
}
-function FU(e, t) {
- let [n, r, i] = NU(t), a;
- if (PU(e)) a = () => SU(e());
+function IU(e, t) {
+ let [n, r, i] = PU(t), a;
+ if (FU(e)) a = () => CU(e());
else {
- let t = SU(e);
+ let t = CU(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 (oH(e)) {
+ if (sH(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (sH(e)) return hU(e, (e) => n(e, t));
+ if (cH(e)) return gU(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -52461,20 +52538,20 @@ function FU(e, t) {
}
return o.getInitialState = a, o;
}
-var IU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", LU = (e = 21) => {
+var LU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", RU = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += IU[Math.random() * 64 | 0];
+ for (; n--;) t += LU[Math.random() * 64 | 0];
return t;
-}, RU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function zU(e, t) {
+}, zU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function BU(e, t) {
return `${e}/${t}`;
}
-function BU({ creators: e } = {}) {
- let t = e?.asyncThunk?.[RU];
+function VU({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[zU];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(kW(11));
- let i = (typeof e.reducers == "function" ? e.reducers(UU()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(AW(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(WU()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -52482,8 +52559,8 @@ function BU({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(kW(12));
- if (n in o.sliceCaseReducersByType) throw Error(kW(13));
+ if (!n) throw Error(AW(12));
+ if (n in o.sliceCaseReducersByType) throw Error(AW(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -52502,17 +52579,17 @@ function BU({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: zU(n, r),
+ type: BU(n, r),
createNotation: typeof e.reducers == "function"
};
- GU(a) ? qU(o, a, s, t) : WU(o, a, s);
+ KU(a) ? JU(o, a, s, t) : GU(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NU(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? PU(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return FU(e.initialState, (e) => {
+ return IU(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -52529,12 +52606,12 @@ function BU({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = CU(d, r, m)), i;
+ return i === void 0 && n && (i = wU(d, r, m)), i;
}
function i(t = l) {
- return CU(CU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return wU(wU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = VU(a, t, () => CU(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = HU(a, t, () => wU(d, t, m), n);
return r;
});
}
@@ -52568,15 +52645,15 @@ function BU({ creators: e } = {}) {
return g;
};
}
-function VU(e, t, n, r) {
+function HU(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var HU = /* @__PURE__ */ BU();
-function UU() {
+var UU = /* @__PURE__ */ VU();
+function WU() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -52600,57 +52677,57 @@ function UU() {
asyncThunk: e
};
}
-function WU({ type: e, reducerName: t, createNotation: n }, r, i) {
+function GU({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !KU(r)) throw Error(kW(17));
+ if (n && !qU(r)) throw Error(AW(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? bU(e, o) : bU(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? xU(e, o) : xU(e));
}
-function GU(e) {
+function KU(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function KU(e) {
+function qU(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function qU({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(kW(18));
+function JU({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(AW(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || JU,
- pending: s || JU,
- rejected: c || JU,
- settled: l || JU
+ fulfilled: o || YU,
+ pending: s || YU,
+ rejected: c || YU,
+ settled: l || YU
});
}
-function JU() {}
-var YU = "task", XU = "listener", ZU = "completed", QU = "cancelled", $U = `task-${QU}`, eW = `task-${ZU}`, tW = `${XU}-${QU}`, nW = `${XU}-${ZU}`, rW = class {
+function YU() {}
+var XU = "task", ZU = "listener", QU = "completed", $U = "cancelled", eW = `task-${$U}`, tW = `task-${QU}`, nW = `${ZU}-${$U}`, rW = `${ZU}-${QU}`, iW = class {
constructor(e) {
- this.code = e, this.message = `${YU} ${QU} (reason: ${e})`;
+ this.code = e, this.message = `${XU} ${$U} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, iW = (e, t) => {
- if (typeof e != "function") throw TypeError(kW(32));
-}, aW = () => {}, oW = (e, t = aW) => (e.catch(t), e), sW = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), cW = (e) => {
- if (e.aborted) throw new rW(e.reason);
+}, aW = (e, t) => {
+ if (typeof e != "function") throw TypeError(AW(32));
+}, oW = () => {}, sW = (e, t = oW) => (e.catch(t), e), cW = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), lW = (e) => {
+ if (e.aborted) throw new iW(e.reason);
};
-function lW(e, t) {
- let n = aW;
+function uW(e, t) {
+ let n = oW;
return new Promise((r, i) => {
- let a = () => i(new rW(e.reason));
+ let a = () => i(new iW(e.reason));
if (e.aborted) {
a();
return;
}
- n = sW(e, a), t.finally(() => n()).then(r, i);
+ n = cW(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = aW;
+ n = oW;
});
}
-var uW = async (e, t) => {
+var dW = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -52658,40 +52735,40 @@ var uW = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof rW ? "cancelled" : "rejected",
+ status: e instanceof iW ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, dW = (e) => (t) => oW(lW(e, t).then((t) => (cW(e), t))), fW = (e) => {
- let t = dW(e);
+}, fW = (e) => (t) => sW(uW(e, t).then((t) => (lW(e), t))), pW = (e) => {
+ let t = fW(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: pW } = Object, mW = {}, hW = "listenerMiddleware", gW = (e, t) => {
- let n = (t) => sW(e, () => t.abort(e.reason));
+}, { assign: mW } = Object, hW = {}, gW = "listenerMiddleware", _W = (e, t) => {
+ let n = (t) => cW(e, () => t.abort(e.reason));
return (r, i) => {
- iW(r, "taskExecutor");
+ aW(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = uW(async () => {
- cW(e), cW(a.signal);
+ let o = dW(async () => {
+ lW(e), lW(a.signal);
let t = await r({
- pause: dW(a.signal),
- delay: fW(a.signal),
+ pause: fW(a.signal),
+ delay: pW(a.signal),
signal: a.signal
});
- return cW(a.signal), t;
- }, () => a.abort(eW));
- return i?.autoJoin && t.push(o.catch(aW)), {
- result: dW(e)(o),
+ return lW(a.signal), t;
+ }, () => a.abort(tW));
+ return i?.autoJoin && t.push(o.catch(oW)), {
+ result: fW(e)(o),
cancel() {
- a.abort($U);
+ a.abort(eW);
}
};
};
-}, _W = (e, t) => {
+}, vW = (e, t) => {
let n = async (n, r) => {
- cW(t);
+ lW(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -52709,47 +52786,47 @@ var uW = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await lW(t, Promise.race(a));
- return cW(t), e;
+ let e = await uW(t, Promise.race(a));
+ return lW(t), e;
} finally {
i();
}
};
- return ((e, t) => oW(n(e, t)));
-}, vW = (e) => {
+ return ((e, t) => sW(n(e, t)));
+}, yW = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = bU(t).match;
+ if (t) i = xU(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(kW(21));
- return iW(a, "options.listener"), {
+ else if (!i) throw Error(AW(21));
+ return aW(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, yW = /* @__PURE__ */ pW((e) => {
- let { type: t, predicate: n, effect: r } = vW(e);
+}, bW = /* @__PURE__ */ mW((e) => {
+ let { type: t, predicate: n, effect: r } = yW(e);
return {
- id: LU(),
+ id: RU(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(kW(22));
+ throw Error(AW(22));
}
};
-}, { withTypes: () => yW }), bW = (e, t) => {
- let { type: n, effect: r, predicate: i } = vW(t);
+}, { withTypes: () => bW }), xW = (e, t) => {
+ let { type: n, effect: r, predicate: i } = yW(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, xW = (e) => {
+}, SW = (e) => {
e.pending.forEach((e) => {
- e.abort(tW);
+ e.abort(nW);
});
-}, SW = (e, t) => () => {
- for (let e of t.keys()) xW(e);
+}, CW = (e, t) => () => {
+ for (let e of t.keys()) SW(e);
e.clear();
-}, CW = (e, t, n) => {
+}, wW = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -52757,74 +52834,74 @@ var uW = async (e, t) => {
throw e;
}, 0);
}
-}, wW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/add`), { withTypes: () => wW }), TW = /* @__PURE__ */ bU(`${hW}/removeAll`), EW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/remove`), { withTypes: () => EW }), DW = (...e) => {
- console.error(`${hW}/error`, ...e);
-}, OW = (e = {}) => {
+}, TW = /* @__PURE__ */ mW(/* @__PURE__ */ xU(`${gW}/add`), { withTypes: () => TW }), EW = /* @__PURE__ */ xU(`${gW}/removeAll`), DW = /* @__PURE__ */ mW(/* @__PURE__ */ xU(`${gW}/remove`), { withTypes: () => DW }), OW = (...e) => {
+ console.error(`${gW}/error`, ...e);
+}, kW = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = DW } = e;
- iW(o, "onError");
+ }, { extra: a, onError: o = OW } = e;
+ aW(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && xW(e);
+ e.unsubscribe(), t?.cancelActive && SW(e);
}), c = ((e) => {
- let n = bW(t, e) ?? yW(e);
+ let n = xW(t, e) ?? bW(e);
return s(n);
});
- pW(c, { withTypes: () => c });
+ mW(c, { withTypes: () => c });
let l = (e) => {
- let n = bW(t, e);
- return n && (n.unsubscribe(), e.cancelActive && xW(n)), !!n;
+ let n = xW(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && SW(n)), !!n;
};
- pW(l, { withTypes: () => l });
+ mW(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = _W(c, u.signal), f = [];
+ let u = new AbortController(), d = vW(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, pW({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, mW({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: fW(u.signal),
- pause: dW(u.signal),
+ delay: pW(u.signal),
+ pause: fW(u.signal),
extra: a,
signal: u.signal,
- fork: gW(u.signal, f),
+ fork: _W(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(tW), n.delete(e));
+ e !== u && (e.abort(nW), n.delete(e));
});
},
cancel: () => {
- u.abort(tW), e.pending.delete(u);
+ u.abort(nW), e.pending.delete(u);
},
throwIfCancelled: () => {
- cW(u.signal);
+ lW(u.signal);
}
})));
} catch (e) {
- e instanceof rW || CW(o, e, { raisedBy: "effect" });
+ e instanceof iW || wW(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(nW), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(rW), i(e), e.pending.delete(u);
}
- }, d = SW(t, n);
+ }, d = CW(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!qV(r)) return n(r);
- if (wW.match(r)) return c(r.payload);
- if (TW.match(r)) {
+ if (!JV(r)) return n(r);
+ if (TW.match(r)) return c(r.payload);
+ if (EW.match(r)) {
d();
return;
}
- if (EW.match(r)) return l(r.payload);
+ if (DW.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === mW) throw Error(kW(23));
+ if (i === hW) throw Error(AW(23));
return i;
}, s;
try {
@@ -52835,13 +52912,13 @@ var uW = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, CW(o, e, { raisedBy: "predicate" });
+ s = !1, wW(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = mW;
+ i = hW;
}
return s;
},
@@ -52850,12 +52927,12 @@ var uW = async (e, t) => {
clearListeners: d
};
};
-function kW(e) {
+function AW(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var AW = HU({
+var jW = UU({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -52883,23 +52960,23 @@ var AW = HU({
e.scale = t.payload;
}
}
-}), { setMargin: jW, setLayout: MW, setChartSize: NW, setScale: PW } = AW.actions, FW = AW.reducer;
+}), { setMargin: MW, setLayout: NW, setChartSize: PW, setScale: FW } = jW.actions, IW = jW.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function IW(e, t, n) {
+function LW(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function LW(e) {
+function RW(e) {
return Number.isFinite(e);
}
-function RW(e) {
+function zW(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function zW(e, t) {
+function BW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52909,30 +52986,30 @@ function zW(e, t) {
}
return n;
}
-function BW(e) {
+function VW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zW(Object(n), !0).forEach(function(t) {
- VW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zW(Object(n)).forEach(function(t) {
+ t % 2 ? BW(Object(n), !0).forEach(function(t) {
+ HW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VW(e, t, n) {
- return (t = HW(t)) in e ? Object.defineProperty(e, t, {
+function HW(e, t, n) {
+ return (t = UW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HW(e) {
- var t = UW(e, "string");
+function UW(e) {
+ var t = WW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UW(e, t) {
+function WW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52942,63 +53019,63 @@ function UW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WW(e, t, n) {
- return vB(e) || vB(t) ? n : fB(t) ? oB(e, t, n) : typeof t == "function" ? t(e) : n;
+function GW(e, t, n) {
+ return xB(e) || xB(t) ? n : hB(t) ? lB(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var GW = (e, t, n) => {
+var KW = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return BW(BW({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return BW(BW({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return VW(VW({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return VW(VW({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, KW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qW = (e, t, n, r) => {
+}, qW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", JW = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, JW = (e, t, n) => {
+}, YW = (e, t, n) => {
if (!e) return null;
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 ? lB(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? fB(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 LW(i) ? {
+ return RW(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(bB) : c && l ? l.map((e, t) => {
+ }).filter(CB) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(bB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(CB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(bB) : o.domain().map((e, t) => {
+ }).filter(CB) : o.domain().map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(bB);
-}, YW = (e, t) => {
+ }).filter(CB);
+}, XW = (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]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, XW = {
+}, ZW = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -53006,16 +53083,16 @@ var GW = (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 = uB(c) ? l : c;
+ var c = s[1], l = s[0], u = pB(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: Tme,
- none: Qz,
- silhouette: Eme,
- wiggle: Dme,
+ expand: Cme,
+ none: tB,
+ silhouette: wme,
+ wiggle: Tme,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -53023,70 +53100,70 @@ var GW = (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 = uB(o[1]) ? o[0] : o[1];
+ var s = pB(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, ZW = (e, t, n) => {
- var r = XW[n] ?? Qz, i = wme().keys(t).value((e, t) => Number(WW(e, t, 0))).order($z).offset(r)(e);
+}, QW = (e, t, n) => {
+ var r = ZW[n] ?? tB, i = Sme().keys(t).value((e, t) => Number(GW(e, t, 0))).order(nB).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = WW(e[i], t[r], 0);
+ var a = GW(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function QW(e) {
+function $W(e) {
return e == null ? void 0 : String(e);
}
-function $W(e) {
+function eG(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !vB(i[t.dataKey])) {
- var s = _B(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !xB(i[t.dataKey])) {
+ var s = bB(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 = WW(i, vB(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = GW(i, xB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var eG = (e) => {
+var tG = (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 = WW(a, t.dataKey, t.scale.domain()[o]);
- if (vB(s)) return null;
+ var s = GW(a, t.dataKey, t.scale.domain()[o]);
+ if (xB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, tG = (e) => {
+}, nG = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, nG = (e) => {
+}, rG = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, rG = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], iG = (e, t, n) => {
- if (e != null) return rG(Object.keys(e).reduce((r, i) => {
+}, iG = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], aG = (e, t, n) => {
+ if (e != null) return iG(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = nG(IW(r, t, n));
- return !LW(i[0]) || !LW(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = rG(LW(r, t, n));
+ return !RW(i[0]) || !RW(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, aG = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oG = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sG = (e, t, n) => {
+}, oG = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sG = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, cG = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = AV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = jV(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);
}
@@ -53094,26 +53171,26 @@ var eG = (e) => {
}
return n ? void 0 : 0;
};
-function cG(e) {
+function lG(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return BW(BW({}, t), {}, {
+ return VW(VW({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function lG(e, t) {
+function uG(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var uG = (e, t) => {
+var dG = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, dG = (e, t) => t === "centric" ? e.angle : e.radius, fG = (e) => e.layout.width, pG = (e) => e.layout.height, mG = (e) => e.layout.scale, hG = (e) => e.layout.margin, gG = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _G = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vG = "data-recharts-item-index";
+}, fG = (e, t) => t === "centric" ? e.angle : e.radius, pG = (e) => e.layout.width, mG = (e) => e.layout.height, hG = (e) => e.layout.scale, gG = (e) => e.layout.margin, _G = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), vG = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), yG = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function yG(e, t) {
+function bG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53123,30 +53200,30 @@ function yG(e, t) {
}
return n;
}
-function bG(e) {
+function xG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yG(Object(n), !0).forEach(function(t) {
- xG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yG(Object(n)).forEach(function(t) {
+ t % 2 ? bG(Object(n), !0).forEach(function(t) {
+ SG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xG(e, t, n) {
- return (t = SG(t)) in e ? Object.defineProperty(e, t, {
+function SG(e, t, n) {
+ return (t = CG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SG(e) {
- var t = CG(e, "string");
+function CG(e) {
+ var t = wG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CG(e, t) {
+function wG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53156,58 +53233,58 @@ function CG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wG = (e) => e.brush.height;
-function TG(e) {
- return _G(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
+var TG = (e) => e.brush.height;
function EG(e) {
- return _G(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return vG(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function DG(e) {
- return gG(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return vG(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function OG(e) {
- return gG(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return _G(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function kG(e) {
+ return _G(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var kG = $([
- fG,
+var AG = $([
pG,
- hG,
- wG,
+ mG,
+ gG,
TG,
EG,
DG,
OG,
- jV,
- MV
+ kG,
+ MV,
+ NV
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = bG(bG({}, {
+ }, d = xG(xG({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = GW(d, c, l);
+ d.bottom += r, d = KW(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return bG(bG({ brushBottom: f }, d), {}, {
+ return xG(xG({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), AG = $(kG, (e) => ({
+}), jG = $(AG, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), jG = $(fG, pG, (e, t) => ({
+})), MG = $(pG, mG, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), MG = /*#__PURE__*/ (0, I.createContext)(null), NG = () => (0, I.useContext)(MG) != null, PG = (e) => e.brush, FG = $([
- PG,
- kG,
- hG
+})), NG = /*#__PURE__*/ (0, I.createContext)(null), PG = () => (0, I.useContext)(NG) != null, FG = (e) => e.brush, IG = $([
+ FG,
+ AG,
+ gG
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -53216,7 +53293,7 @@ var kG = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function IG(e, t, { signal: n, edges: r } = {}) {
+function LG(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -53241,11 +53318,11 @@ function IG(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function LG(e, t = 0, n = {}) {
+function RG(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = IG(function(...t) {
+ let s, c = null, l = LG(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -53254,9 +53331,9 @@ function LG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function RG(e, t = 0, n = {}) {
+function zG(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return LG(e, t, {
+ return RG(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -53264,7 +53341,7 @@ function RG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var zG = function(e, t) {
+var BG = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -53273,7 +53350,7 @@ var zG = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, BG = {
+}, VG = {
width: "100%",
height: "100%",
debounce: 0,
@@ -53282,45 +53359,45 @@ var zG = function(e, t) {
width: -1,
height: -1
}
-}, VG = (e, t, n) => {
- var { width: r = BG.width, height: i = BG.height, aspect: a, maxHeight: o } = n, s = dB(r) ? e : Number(r), c = dB(i) ? t : Number(i);
+}, HG = (e, t, n) => {
+ var { width: r = VG.width, height: i = VG.height, aspect: a, maxHeight: o } = n, s = mB(r) ? e : Number(r), c = mB(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
};
-}, HG = {
+}, UG = {
width: 0,
height: 0,
overflow: "visible"
-}, UG = {
+}, WG = {
width: 0,
overflowX: "visible"
-}, WG = {
+}, GG = {
height: 0,
overflowY: "visible"
-}, GG = {}, KG = (e) => {
- var { width: t, height: n } = e, r = dB(t), i = dB(n);
- return r && i ? HG : r ? UG : i ? WG : GG;
+}, KG = {}, qG = (e) => {
+ var { width: t, height: n } = e, r = mB(t), i = mB(n);
+ return r && i ? UG : r ? WG : i ? GG : KG;
};
-function qG(e) {
+function JG(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = BG.width, a = BG.height) : i === void 0 ? i = r && r > 0 ? void 0 : BG.width : a === void 0 && (a = r && r > 0 ? void 0 : BG.height), {
+ return i === void 0 && a === void 0 ? (i = VG.width, a = VG.height) : i === void 0 ? i = r && r > 0 ? void 0 : VG.width : a === void 0 && (a = r && r > 0 ? void 0 : VG.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function JG() {
- return JG = Object.assign ? Object.assign.bind() : function(e) {
+function YG() {
+ return YG = 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;
- }, JG.apply(null, arguments);
+ }, YG.apply(null, arguments);
}
-function YG(e, t) {
+function XG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53330,30 +53407,30 @@ function YG(e, t) {
}
return n;
}
-function XG(e) {
+function ZG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? YG(Object(n), !0).forEach(function(t) {
- ZG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YG(Object(n)).forEach(function(t) {
+ t % 2 ? XG(Object(n), !0).forEach(function(t) {
+ QG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZG(e, t, n) {
- return (t = QG(t)) in e ? Object.defineProperty(e, t, {
+function QG(e, t, n) {
+ return (t = $G(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QG(e) {
- var t = $G(e, "string");
+function $G(e) {
+ var t = eK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $G(e, t) {
+function eK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53363,19 +53440,19 @@ function $G(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eK = /*#__PURE__*/ (0, I.createContext)(BG.initialDimension);
-function tK(e) {
- return RW(e.width) && RW(e.height);
-}
+var tK = /*#__PURE__*/ (0, I.createContext)(VG.initialDimension);
function nK(e) {
+ return zW(e.width) && zW(e.height);
+}
+function rK(e) {
var { children: t, width: n, height: r } = e, i = (0, I.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return tK(i) ? /*#__PURE__*/ I.createElement(eK.Provider, { value: i }, t) : null;
+ return nK(i) ? /*#__PURE__*/ I.createElement(tK.Provider, { value: i }, t) : null;
}
-var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = BG.initialDimension, width: i, height: a, minWidth: o = BG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
+var iK = () => (0, I.useContext)(tK), aK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = VG.initialDimension, width: i, height: a, minWidth: o = VG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = VG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
g.current = p, (0, I.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, I.useState)({
containerWidth: r.width,
@@ -53390,7 +53467,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return xB;
+ if (h.current == null || typeof ResizeObserver > "u") return wB;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -53398,7 +53475,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = RG(e, u, {
+ u > 0 && (e = zG(e, u, {
trailing: !0,
leading: !1
}));
@@ -53408,17 +53485,17 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- zG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = VG(b, x, {
+ BG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = HG(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return zG(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
+ return BG(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
id: d ? `${d}` : void 0,
className: bh("recharts-responsive-container", f),
- style: XG(XG({}, m), {}, {
+ style: ZG(ZG({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -53426,30 +53503,30 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ I.createElement("div", { style: KG({
+ }, /*#__PURE__*/ I.createElement("div", { style: qG({
width: i,
height: a
- }) }, /*#__PURE__*/ I.createElement(nK, {
+ }) }, /*#__PURE__*/ I.createElement(rK, {
width: S,
height: C
}, l)));
-}), aK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = rK();
- if (RW(n.width) && RW(n.height)) return e.children;
- var { width: r, height: i } = qG({
+}), oK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = iK();
+ if (zW(n.width) && zW(n.height)) return e.children;
+ var { width: r, height: i } = JG({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = VG(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = HG(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(nK, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(rK, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ I.createElement(iK, JG({}, e, {
+ }, e.children) : /*#__PURE__*/ I.createElement(aK, YG({}, e, {
width: r,
height: i,
ref: t
@@ -53457,7 +53534,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function oK(e) {
+function sK(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -53467,15 +53544,15 @@ function oK(e) {
height: e.height
};
}
-var sK = () => {
- var e = NG(), t = Q(AG), n = Q(FG), r = Q(PG)?.padding;
+var cK = () => {
+ var e = PG(), t = Q(jG), n = Q(IG), r = Q(FG)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, cK = {
+}, lK = {
top: 0,
bottom: 0,
left: 0,
@@ -53483,16 +53560,16 @@ var sK = () => {
width: 0,
height: 0,
brushBottom: 0
-}, lK = () => Q(kG) ?? cK, uK = () => Q(fG), dK = () => Q(pG), fK = () => Q((e) => e.layout.margin), pK = (e) => e.layout.layoutType, mK = () => Q(pK), hK = () => {
- var e = mK();
+}, uK = () => Q(AG) ?? lK, dK = () => Q(pG), fK = () => Q(mG), pK = () => Q((e) => e.layout.margin), mK = (e) => e.layout.layoutType, hK = () => Q(mK), gK = () => {
+ var e = hK();
if (e === "horizontal" || e === "vertical") return e;
-}, gK = (e) => {
+}, _K = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, _K = () => Q(gK), vK = () => mK() !== void 0, yK = (e) => {
- var t = iV(), n = NG(), { width: r, height: i } = e, a = rK(), o = r, s = i;
+}, vK = () => Q(_K), yK = () => hK() !== void 0, bK = (e) => {
+ var t = sV(), n = PG(), { width: r, height: i } = e, a = iK(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
- !n && RW(o) && RW(s) && t(NW({
+ !n && zW(o) && zW(s) && t(PW({
width: o,
height: s
}));
@@ -53502,64 +53579,64 @@ var sK = () => {
o,
s
]), null;
-}, bK = Symbol.for("immer-nothing"), xK = Symbol.for("immer-draftable"), SK = Symbol.for("immer-state");
-function CK(e, ...t) {
+}, xK = Symbol.for("immer-nothing"), SK = Symbol.for("immer-draftable"), CK = Symbol.for("immer-state");
+function wK(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var wK = Object.getPrototypeOf;
-function TK(e) {
- return !!e && !!e[SK];
-}
+var TK = Object.getPrototypeOf;
function EK(e) {
- return e ? kK(e) || Array.isArray(e) || !!e[xK] || !!e.constructor?.[xK] || FK(e) || IK(e) : !1;
+ return !!e && !!e[CK];
}
-var DK = Object.prototype.constructor.toString(), OK = /* @__PURE__ */ new WeakMap();
-function kK(e) {
+function DK(e) {
+ return e ? AK(e) || Array.isArray(e) || !!e[SK] || !!e.constructor?.[SK] || IK(e) || LK(e) : !1;
+}
+var OK = Object.prototype.constructor.toString(), kK = /* @__PURE__ */ new WeakMap();
+function AK(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = OK.get(n);
- return r === void 0 && (r = Function.toString.call(n), OK.set(n, r)), r === DK;
+ let r = kK.get(n);
+ return r === void 0 && (r = Function.toString.call(n), kK.set(n, r)), r === OK;
}
-function AK(e, t, n = !0) {
- jK(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function jK(e, t, n = !0) {
+ MK(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function jK(e) {
- let t = e[SK];
- return t ? t.type_ : Array.isArray(e) ? 1 : FK(e) ? 2 : IK(e) ? 3 : 0;
+function MK(e) {
+ let t = e[CK];
+ return t ? t.type_ : Array.isArray(e) ? 1 : IK(e) ? 2 : LK(e) ? 3 : 0;
}
-function MK(e, t) {
- return jK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function NK(e, t) {
+ return MK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function NK(e, t, n) {
- let r = jK(e);
+function PK(e, t, n) {
+ let r = MK(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function PK(e, t) {
+function FK(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function FK(e) {
+function IK(e) {
return e instanceof Map;
}
-function IK(e) {
+function LK(e) {
return e instanceof Set;
}
-function LK(e) {
+function RK(e) {
return e.copy_ || e.base_;
}
-function RK(e, t) {
- if (FK(e)) return new Map(e);
- if (IK(e)) return new Set(e);
+function zK(e, t) {
+ if (IK(e)) return new Map(e);
+ if (LK(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = kK(e);
+ let n = AK(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[SK];
+ delete t[CK];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -53570,40 +53647,40 @@ function RK(e, t) {
value: e[i]
});
}
- return Object.create(wK(e), t);
+ return Object.create(TK(e), t);
}
{
- let t = wK(e);
+ let t = TK(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function zK(e, t = !1) {
- return HK(e) || TK(e) || !EK(e) ? e : (jK(e) > 1 && Object.defineProperties(e, {
- set: VK,
- add: VK,
- clear: VK,
- delete: VK
- }), Object.freeze(e), t && Object.values(e).forEach((e) => zK(e, !0)), e);
+function BK(e, t = !1) {
+ return UK(e) || EK(e) || !DK(e) ? e : (MK(e) > 1 && Object.defineProperties(e, {
+ set: HK,
+ add: HK,
+ clear: HK,
+ delete: HK
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => BK(e, !0)), e);
}
-function BK() {
- CK(2);
+function VK() {
+ wK(2);
}
-var VK = { value: BK };
-function HK(e) {
+var HK = { value: VK };
+function UK(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var UK = {};
-function WK(e) {
- let t = UK[e];
- return t || CK(0, e), t;
+var WK = {};
+function GK(e) {
+ let t = WK[e];
+ return t || wK(0, e), t;
}
-var GK;
-function KK() {
- return GK;
+var KK;
+function qK() {
+ return KK;
}
-function qK(e, t) {
+function JK(e, t) {
return {
drafts_: [],
parent_: e,
@@ -53612,62 +53689,62 @@ function qK(e, t) {
unfinalizedDrafts_: 0
};
}
-function JK(e, t) {
- t && (WK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function YK(e) {
- XK(e), e.drafts_.forEach(QK), e.drafts_ = null;
+function YK(e, t) {
+ t && (GK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function XK(e) {
- e === GK && (GK = e.parent_);
+ ZK(e), e.drafts_.forEach($K), e.drafts_ = null;
}
function ZK(e) {
- return GK = qK(GK, e);
+ e === KK && (KK = e.parent_);
}
function QK(e) {
- let t = e[SK];
+ return KK = JK(KK, e);
+}
+function $K(e) {
+ let t = e[CK];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function $K(e, t) {
+function eq(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[SK].modified_ && (YK(t), CK(4)), EK(e) && (e = eq(t, e), t.parent_ || nq(t, e)), t.patches_ && WK("Patches").generateReplacementPatches_(n[SK].base_, e, t.patches_, t.inversePatches_)) : e = eq(t, n, []), YK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === bK ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[CK].modified_ && (XK(t), wK(4)), DK(e) && (e = tq(t, e), t.parent_ || rq(t, e)), t.patches_ && GK("Patches").generateReplacementPatches_(n[CK].base_, e, t.patches_, t.inversePatches_)) : e = tq(t, n, []), XK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === xK ? void 0 : e;
}
-function eq(e, t, n) {
- if (HK(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[SK];
- if (!i) return AK(t, (r, a) => tq(e, i, t, r, a, n), r), t;
+function tq(e, t, n) {
+ if (UK(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[CK];
+ if (!i) return jK(t, (r, a) => nq(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return nq(e, i.base_, !0), i.base_;
+ if (!i.modified_) return rq(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), AK(a, (r, a) => tq(e, i, t, r, a, n, o), r), nq(e, t, !1), n && e.patches_ && WK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), jK(a, (r, a) => nq(e, i, t, r, a, n, o), r), rq(e, t, !1), n && e.patches_ && GK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function tq(e, t, n, r, i, a, o) {
+function nq(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = HK(i);
+ let s = UK(i);
if (!(s && !o)) {
- if (TK(i)) {
- let o = eq(e, i, a && t && t.type_ !== 3 && !MK(t.assigned_, r) ? a.concat(r) : void 0);
- if (NK(n, r, o), TK(o)) e.canAutoFreeze_ = !1;
+ if (EK(i)) {
+ let o = tq(e, i, a && t && t.type_ !== 3 && !NK(t.assigned_, r) ? a.concat(r) : void 0);
+ if (PK(n, r, o), EK(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (EK(i) && !s) {
+ if (DK(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- eq(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (FK(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && nq(e, i);
+ tq(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (IK(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && rq(e, i);
}
}
}
-function nq(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zK(t, n);
+function rq(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && BK(t, n);
}
-function rq(e, t) {
+function iq(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : KK(),
+ scope_: t ? t.scope_ : qK(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -53677,41 +53754,41 @@ function rq(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = iq;
- n && (i = [r], a = aq);
+ }, i = r, a = aq;
+ n && (i = [r], a = oq);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var iq = {
+var aq = {
get(e, t) {
- if (t === SK) return e;
- let n = LK(e);
- if (!MK(n, t)) return sq(e, n, t);
+ if (t === CK) return e;
+ let n = RK(e);
+ if (!NK(n, t)) return cq(e, n, t);
let r = n[t];
- return e.finalized_ || !EK(r) ? r : r === oq(e.base_, t) ? (uq(e), e.copy_[t] = fq(r, e)) : r;
+ return e.finalized_ || !DK(r) ? r : r === sq(e.base_, t) ? (dq(e), e.copy_[t] = pq(r, e)) : r;
},
has(e, t) {
- return t in LK(e);
+ return t in RK(e);
},
ownKeys(e) {
- return Reflect.ownKeys(LK(e));
+ return Reflect.ownKeys(RK(e));
},
set(e, t, n) {
- let r = cq(LK(e), t);
+ let r = lq(RK(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = oq(LK(e), t), i = r?.[SK];
+ let r = sq(RK(e), t), i = r?.[CK];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (PK(n, r) && (n !== void 0 || MK(e.base_, t))) return !0;
- uq(e), lq(e);
+ if (FK(n, r) && (n !== void 0 || NK(e.base_, t))) return !0;
+ dq(e), uq(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return oq(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, uq(e), lq(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return sq(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, dq(e), uq(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = LK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = RK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -53720,48 +53797,48 @@ var iq = {
};
},
defineProperty() {
- CK(11);
+ wK(11);
},
getPrototypeOf(e) {
- return wK(e.base_);
+ return TK(e.base_);
},
setPrototypeOf() {
- CK(12);
+ wK(12);
}
-}, aq = {};
-AK(iq, (e, t) => {
- aq[e] = function() {
+}, oq = {};
+jK(aq, (e, t) => {
+ oq[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), aq.deleteProperty = function(e, t) {
- return aq.set.call(this, e, t, void 0);
-}, aq.set = function(e, t, n) {
- return iq.set.call(this, e[0], t, n, e[0]);
+}), oq.deleteProperty = function(e, t) {
+ return oq.set.call(this, e, t, void 0);
+}, oq.set = function(e, t, n) {
+ return aq.set.call(this, e[0], t, n, e[0]);
};
-function oq(e, t) {
- let n = e[SK];
- return (n ? LK(n) : e)[t];
+function sq(e, t) {
+ let n = e[CK];
+ return (n ? RK(n) : e)[t];
}
-function sq(e, t, n) {
- let r = cq(t, n);
+function cq(e, t, n) {
+ let r = lq(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function cq(e, t) {
+function lq(e, t) {
if (!(t in e)) return;
- let n = wK(e);
+ let n = TK(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = wK(n);
+ n = TK(n);
}
}
-function lq(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && lq(e.parent_));
-}
function uq(e) {
- e.copy_ ||= RK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+ e.modified_ || (e.modified_ = !0, e.parent_ && uq(e.parent_));
}
-var dq = class {
+function dq(e) {
+ e.copy_ ||= zK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+}
+var fq = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -53772,25 +53849,25 @@ var dq = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && CK(6), n !== void 0 && typeof n != "function" && CK(7);
+ typeof t != "function" && wK(6), n !== void 0 && typeof n != "function" && wK(7);
let r;
- if (EK(e)) {
- let i = ZK(this), a = fq(e, void 0), o = !0;
+ if (DK(e)) {
+ let i = QK(this), a = pq(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? YK(i) : XK(i);
+ o ? XK(i) : ZK(i);
}
- return JK(i, n), $K(r, i);
+ return YK(i, n), eq(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === bK && (r = void 0), this.autoFreeze_ && zK(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === xK && (r = void 0), this.autoFreeze_ && BK(r, !0), n) {
let t = [], i = [];
- WK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ GK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- CK(1, e);
+ wK(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -53804,15 +53881,15 @@ var dq = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- EK(e) || CK(8), TK(e) && (e = pq(e));
- let t = ZK(this), n = fq(e, void 0);
- return n[SK].isManual_ = !0, XK(t), n;
+ DK(e) || wK(8), EK(e) && (e = mq(e));
+ let t = QK(this), n = pq(e, void 0);
+ return n[CK].isManual_ = !0, ZK(t), n;
}
finishDraft(e, t) {
- let n = e && e[SK];
- (!n || !n.isManual_) && CK(9);
+ let n = e && e[CK];
+ (!n || !n.isManual_) && wK(9);
let { scope_: r } = n;
- return JK(r, t), $K(void 0, r);
+ return YK(r, t), eq(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -53836,35 +53913,35 @@ var dq = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = WK("Patches").applyPatches_;
- return TK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = GK("Patches").applyPatches_;
+ return EK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function fq(e, t) {
- let n = FK(e) ? WK("MapSet").proxyMap_(e, t) : IK(e) ? WK("MapSet").proxySet_(e, t) : rq(e, t);
- return (t ? t.scope_ : KK()).drafts_.push(n), n;
-}
-function pq(e) {
- return TK(e) || CK(10, e), mq(e);
+function pq(e, t) {
+ let n = IK(e) ? GK("MapSet").proxyMap_(e, t) : LK(e) ? GK("MapSet").proxySet_(e, t) : iq(e, t);
+ return (t ? t.scope_ : qK()).drafts_.push(n), n;
}
function mq(e) {
- if (!EK(e) || HK(e)) return e;
- let t = e[SK], n, r = !0;
+ return EK(e) || wK(10, e), hq(e);
+}
+function hq(e) {
+ if (!DK(e) || UK(e)) return e;
+ let t = e[CK], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = RK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = RK(e, !0);
- return AK(n, (e, t) => {
- NK(n, e, mq(t));
+ t.finalized_ = !0, n = zK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = zK(e, !0);
+ return jK(n, (e, t) => {
+ PK(n, e, hq(t));
}, r), t && (t.finalized_ = !1), n;
}
-new dq().produce;
-function hq(e) {
+new fq().produce;
+function gq(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var gq = HU({
+var _q = UU({
name: "legend",
initialState: {
settings: {
@@ -53888,43 +53965,43 @@ var gq = HU({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(hq(t.payload));
+ e.payload.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).payload.indexOf(hq(n));
- i > -1 && (e.payload[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).payload.indexOf(gq(n));
+ i > -1 && (e.payload[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeLegendPayload: {
reducer(e, t) {
- var n = pU(e).payload.indexOf(hq(t.payload));
+ var n = mU(e).payload.indexOf(gq(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { setLegendSize: _q, setLegendSettings: vq, addLegendPayload: yq, replaceLegendPayload: bq, removeLegendPayload: xq } = gq.actions, Sq = gq.reducer, Cq = /* @__PURE__ */ F(((e) => {
+}), { setLegendSize: vq, setLegendSettings: yq, addLegendPayload: bq, replaceLegendPayload: xq, removeLegendPayload: Sq } = _q.actions, Cq = _q.reducer, wq = /* @__PURE__ */ F(((e) => {
var t = ce();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ F(((e, t) => {
- t.exports = Cq();
+ t.exports = wq();
})))();
-function wq(e) {
+function Tq(e) {
e();
}
-function Tq() {
+function Eq() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- wq(() => {
+ Tq(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -53946,12 +54023,12 @@ function Tq() {
}
};
}
-var Eq = {
+var Dq = {
notify() {},
get: () => []
};
-function Dq(e, t) {
- let n, r = Eq, i = 0, a = !1;
+function Oq(e, t) {
+ let n, r = Dq, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -53969,10 +54046,10 @@ function Dq(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Tq());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Eq());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = Eq);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = Dq);
}
function f() {
a || (a = !0, u());
@@ -53991,44 +54068,44 @@ function Dq(e, t) {
};
return m;
}
-var Oq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kq = typeof navigator < "u" && navigator.product === "ReactNative", Aq = Oq || kq ? I.useLayoutEffect : I.useEffect;
-function jq(e, t) {
+var kq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Aq = typeof navigator < "u" && navigator.product === "ReactNative", jq = kq || Aq ? I.useLayoutEffect : I.useEffect;
+function Mq(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function Mq(e, t) {
- if (jq(e, t)) return !0;
+function Nq(e, t) {
+ if (Mq(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !jq(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Mq(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var Nq = /* @__PURE__ */ Symbol.for("react-redux-context"), Pq = typeof globalThis < "u" ? globalThis : {};
-function Fq() {
+var Pq = /* @__PURE__ */ Symbol.for("react-redux-context"), Fq = typeof globalThis < "u" ? globalThis : {};
+function Iq() {
if (!I.createContext) return {};
- let e = Pq[Nq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
+ let e = Fq[Pq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
return t || (t = I.createContext(null), e.set(I.createContext, t)), t;
}
-var Iq = /* @__PURE__ */ Fq();
-function Lq(e) {
+var Lq = /* @__PURE__ */ Iq();
+function Rq(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = I.useMemo(() => {
- let e = Dq(i);
+ let e = Oq(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = I.useMemo(() => i.getState(), [i]);
- Aq(() => {
+ jq(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || Iq;
+ let s = n || Lq;
return /* @__PURE__ */ I.createElement(s.Provider, { value: a }, t);
}
-var Rq = Lq, zq = /* @__PURE__ */ new Set([
+var zq = Rq, Bq = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -54051,29 +54128,29 @@ var Rq = Lq, zq = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Bq(e, t) {
+function Vq(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function Vq(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (zq.has(n)) {
+function Hq(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Bq.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!Mq(e[n], t[n])) return !1;
- } else if (!Bq(e[n], t[n])) return !1;
+ if (!Nq(e[n], t[n])) return !1;
+ } else if (!Vq(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Hq = ["contextPayload"];
-function Uq() {
- return Uq = Object.assign ? Object.assign.bind() : function(e) {
+var Uq = ["contextPayload"];
+function Wq() {
+ return Wq = 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;
- }, Uq.apply(null, arguments);
+ }, Wq.apply(null, arguments);
}
-function Wq(e, t) {
+function Gq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54083,30 +54160,30 @@ function Wq(e, t) {
}
return n;
}
-function Gq(e) {
+function Kq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Wq(Object(n), !0).forEach(function(t) {
- Kq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wq(Object(n)).forEach(function(t) {
+ t % 2 ? Gq(Object(n), !0).forEach(function(t) {
+ qq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kq(e, t, n) {
- return (t = qq(t)) in e ? Object.defineProperty(e, t, {
+function qq(e, t, n) {
+ return (t = Jq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qq(e) {
- var t = Jq(e, "string");
+function Jq(e) {
+ var t = Yq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jq(e, t) {
+function Yq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54116,16 +54193,16 @@ function Jq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Yq(e, t) {
+function Xq(e, t) {
if (e == null) return {};
- var n, r, i = Xq(e, t);
+ var n, r, i = Zq(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 Xq(e, t) {
+function Zq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54134,36 +54211,36 @@ function Xq(e, t) {
}
return n;
}
-function Zq(e) {
+function Qq(e) {
return e.value;
}
-function Qq(e) {
- var { contextPayload: t } = e, n = Yq(e, Hq), r = nV(t, e.payloadUniqBy, Zq), i = Gq(Gq({}, 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(the, i);
+function $q(e) {
+ var { contextPayload: t } = e, n = Xq(e, Uq), r = aV(t, e.payloadUniqBy, Qq), i = Kq(Kq({}, 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($me, i);
}
-function $q(e, t, n, r, i, a) {
+function eJ(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 }), Gq(Gq({}, 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 }), Kq(Kq({}, l), u);
}
-function eJ(e) {
- var t = iV();
+function tJ(e) {
+ var t = sV();
return (0, I.useEffect)(() => {
- t(vq(e));
+ t(yq(e));
}, [t, e]), null;
}
-function tJ(e) {
- var t = iV();
- return (0, I.useEffect)(() => (t(_q(e)), () => {
- t(_q({
+function nJ(e) {
+ var t = sV();
+ return (0, I.useEffect)(() => (t(vq(e)), () => {
+ t(vq({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function nJ(e, t, n, r) {
+function rJ(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var rJ = {
+var iJ = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -54171,28 +54248,28 @@ var rJ = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function iJ(e) {
- var t = jB(e, rJ), n = PV(), r = Ype(), i = fK(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = IV([n]), d = uK(), f = dK();
+function aJ(e) {
+ var t = PB(e, iJ), n = FV(), r = qpe(), i = pK(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = LV([n]), d = dK(), f = fK();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = nJ(t.layout, o, a, p), h = c ? s : Gq(Gq({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = rJ(t.layout, o, a, p), h = c ? s : Kq(Kq({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, $q(s, t, i, d, f, l)), s), g = c ?? r;
+ }, eJ(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ I.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ I.createElement(eJ, {
+ }, /*#__PURE__*/ I.createElement(tJ, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ I.createElement(tJ, {
+ }), !c && /*#__PURE__*/ I.createElement(nJ, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ I.createElement(Qq, Uq({}, t, m, {
+ }), /*#__PURE__*/ I.createElement($q, Wq({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -54200,20 +54277,20 @@ function iJ(e) {
})));
return /*#__PURE__*/ (0, Yh.createPortal)(_, g);
}
-var aJ = /*#__PURE__*/ I.memo(iJ, Vq);
-aJ.displayName = "Legend";
+var oJ = /*#__PURE__*/ I.memo(aJ, Hq);
+oJ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function oJ() {
- return oJ = Object.assign ? Object.assign.bind() : function(e) {
+function sJ() {
+ return sJ = 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;
- }, oJ.apply(null, arguments);
+ }, sJ.apply(null, arguments);
}
-function sJ(e, t) {
+function cJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54223,30 +54300,30 @@ function sJ(e, t) {
}
return n;
}
-function cJ(e) {
+function lJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sJ(Object(n), !0).forEach(function(t) {
- lJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sJ(Object(n)).forEach(function(t) {
+ t % 2 ? cJ(Object(n), !0).forEach(function(t) {
+ Ghe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lJ(e, t, n) {
- return (t = Ghe(t)) in e ? Object.defineProperty(e, t, {
+function Ghe(e, t, n) {
+ return (t = Khe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ghe(e) {
- var t = Khe(e, "string");
+function Khe(e) {
+ var t = qhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Khe(e, t) {
+function qhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54256,8 +54333,8 @@ function Khe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qhe(e) {
- return Array.isArray(e) && fB(e[0]) && fB(e[1]) ? e.join(" ~ ") : e;
+function Jhe(e) {
+ return Array.isArray(e) && hB(e[0]) && hB(e[1]) ? e.join(" ~ ") : e;
}
var uJ = {
separator: " : ",
@@ -54277,30 +54354,30 @@ var uJ = {
labelStyle: {},
accessibilityLayer: !1
};
-function Jhe(e, t) {
- return t == null ? e : AV(e, t);
+function Yhe(e, t) {
+ return t == null ? e : jV(e, t);
}
-var Yhe = (e) => {
+var Xhe = (e) => {
var { separator: t = uJ.separator, contentStyle: n, itemStyle: r, labelStyle: i = uJ.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = uJ.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Jhe(a, s).map((e, n) => {
+ }, n = Yhe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || qhe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || Jhe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = cJ(cJ({}, uJ.itemStyle), {}, { color: e.color || uJ.itemStyle.color }, r);
+ var f = lJ(lJ({}, uJ.itemStyle), {}, { color: e.color || uJ.itemStyle.color }, r);
return /*#__PURE__*/ I.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, fB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, fB(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 || ""));
+ }, hB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, hB(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",
@@ -54308,21 +54385,21 @@ var Yhe = (e) => {
}, n);
}
return null;
- }, m = cJ(cJ({}, uJ.contentStyle), n), h = cJ({ margin: 0 }, i), g = !vB(u), _ = g ? u : "", v = bh("recharts-default-tooltip", c), y = bh("recharts-tooltip-label", l);
+ }, m = lJ(lJ({}, uJ.contentStyle), n), h = lJ({ margin: 0 }, i), g = !xB(u), _ = g ? u : "", v = bh("recharts-default-tooltip", c), y = bh("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ I.createElement("div", oJ({
+ return /*#__PURE__*/ I.createElement("div", sJ({
className: v,
style: m
}, b), /*#__PURE__*/ I.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ I.isValidElement(_) ? _ : `${_}`), p());
-}, dJ = "recharts-tooltip-wrapper", Xhe = { visibility: "hidden" };
-function Zhe(e) {
+}, dJ = "recharts-tooltip-wrapper", Zhe = { visibility: "hidden" };
+function Qhe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
return bh(dJ, {
[`${dJ}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
@@ -54339,11 +54416,11 @@ function fJ(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Qhe(e) {
+function $he(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function $he(e) {
+function ege(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
return s.height > 0 && s.width > 0 && n ? (d = fJ({
allowEscapeViewBox: t,
@@ -54365,13 +54442,13 @@ function $he(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Qhe({
+ }), u = $he({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Xhe, {
+ })) : u = Zhe, {
cssProperties: u,
- cssClasses: Zhe({
+ cssClasses: Qhe({
translateX: d,
translateY: f,
coordinate: n
@@ -54413,26 +54490,26 @@ function gJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? hJ(Object(n), !0).forEach(function(t) {
- ege(e, t, n[t]);
+ tge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ege(e, t, n) {
- return (t = tge(t)) in e ? Object.defineProperty(e, t, {
+function tge(e, t, n) {
+ return (t = nge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tge(e) {
- var t = nge(e, "string");
+function nge(e) {
+ var t = rge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nge(e, t) {
+function rge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54442,10 +54519,10 @@ function nge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function rge(e) {
+function ige(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function ige(e) {
+function age(e) {
var t = mJ(), [n, r] = I.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
@@ -54467,7 +54544,7 @@ function ige(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(gJ(gJ({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = $he({
+ var { cssClasses: i, cssProperties: a } = ege({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -54480,7 +54557,7 @@ function ige(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = gJ(gJ({}, e.hasPortalFromProps ? {} : gJ(gJ({ transition: rge({
+ }), o = gJ(gJ({}, e.hasPortalFromProps ? {} : gJ(gJ({ transition: ige({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -54500,7 +54577,7 @@ function ige(e) {
ref: e.innerRef
}, e.children);
}
-var age = /*#__PURE__*/ I.memo(ige), _J = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var oge = /*#__PURE__*/ I.memo(age), _J = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function vJ() {
@@ -54526,26 +54603,26 @@ function bJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? yJ(Object(n), !0).forEach(function(t) {
- oge(e, t, n[t]);
+ sge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oge(e, t, n) {
- return (t = sge(t)) in e ? Object.defineProperty(e, t, {
+function sge(e, t, n) {
+ return (t = cge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sge(e) {
- var t = cge(e, "string");
+function cge(e) {
+ var t = lge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cge(e, t) {
+function lge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54556,39 +54633,39 @@ function cge(e, t) {
return (t === "string" ? String : Number)(e);
}
var xJ = {
- curveBasisClosed: pme,
- curveBasisOpen: mme,
- curveBasis: fme,
- curveBumpX: Qpe,
- curveBumpY: $pe,
- curveLinearClosed: hme,
- curveLinear: Cz,
- curveMonotoneX: gme,
- curveMonotoneY: _me,
- curveNatural: vme,
- curveStep: yme,
- curveStepAfter: xme,
- curveStepBefore: bme
-}, SJ = (e) => LW(e.x) && LW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, lge = (e, t) => {
+ curveBasisClosed: dme,
+ curveBasisOpen: fme,
+ curveBasis: ume,
+ curveBumpX: Xpe,
+ curveBumpY: Zpe,
+ curveLinearClosed: pme,
+ curveLinear: Ez,
+ curveMonotoneX: mme,
+ curveMonotoneY: hme,
+ curveNatural: gme,
+ curveStep: _me,
+ curveStepAfter: yme,
+ curveStepBefore: vme
+}, SJ = (e) => RW(e.x) && RW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, uge = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${yB(e)}`;
+ var n = `curve${SB(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = xJ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return xJ[n] || Cz;
+ return xJ[n] || Ez;
}, EJ = {
connectNulls: !1,
type: "linear"
-}, uge = (e) => {
- var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = lge(t, i), s = a ? n.filter(SJ) : n;
+}, dge = (e) => {
+ var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = uge(t, i), s = a ? n.filter(SJ) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => bJ(bJ({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? Dz().y(TJ).x1(wJ).x0((e) => e.base.x) : Dz().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
+ return c = i === "vertical" ? Az().y(TJ).x1(wJ).x0((e) => e.base.x) : Az().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
}
- return (i === "vertical" && Z(r) ? Dz().y(TJ).x1(wJ).x0(r) : Z(r) ? Dz().x(wJ).y1(TJ).y0(r) : Ez().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
+ return (i === "vertical" && Z(r) ? Az().y(TJ).x1(wJ).x0(r) : Z(r) ? Az().x(wJ).y1(TJ).y0(r) : kz().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
}, DJ = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = mK();
+ var { className: t, points: n, path: r, pathRef: i } = e, a = hK();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -54596,13 +54673,13 @@ var xJ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? uge(o) : r;
- return /*#__PURE__*/ I.createElement("path", vJ({}, tz(e), OB(e), {
+ }, s = n && n.length ? dge(o) : r;
+ return /*#__PURE__*/ I.createElement("path", vJ({}, iz(e), jB(e), {
className: bh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, dge = [
+}, fge = [
"x",
"y",
"top",
@@ -54630,30 +54707,30 @@ function kJ(e, t) {
}
return n;
}
-function fge(e) {
+function pge(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? kJ(Object(n), !0).forEach(function(t) {
- pge(e, t, n[t]);
+ mge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pge(e, t, n) {
- return (t = mge(t)) in e ? Object.defineProperty(e, t, {
+function mge(e, t, n) {
+ return (t = hge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mge(e) {
- var t = hge(e, "string");
+function hge(e) {
+ var t = gge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hge(e, t) {
+function gge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54663,16 +54740,16 @@ function hge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gge(e, t) {
+function _ge(e, t) {
if (e == null) return {};
- var n, r, i = _ge(e, t);
+ var n, r, i = vge(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 _ge(e, t) {
+function vge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54681,8 +54758,8 @@ function _ge(e, t) {
}
return n;
}
-var vge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yge = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = gge(e, dge), l = fge({
+var yge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, bge = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = _ge(e, fge), l = pge({
x: t,
y: n,
top: r,
@@ -54690,14 +54767,14 @@ var vge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yge = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, rz(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, oz(l), {
className: bh("recharts-cross", s),
- d: vge(t, n, a, o, r, i)
+ d: yge(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function bge(e, t, n, r) {
+function xge(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -54724,26 +54801,26 @@ function jJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? AJ(Object(n), !0).forEach(function(t) {
- xge(e, t, n[t]);
+ Sge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xge(e, t, n) {
- return (t = Sge(t)) in e ? Object.defineProperty(e, t, {
+function Sge(e, t, n) {
+ return (t = Cge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sge(e) {
- var t = Cge(e, "string");
+function Cge(e) {
+ var t = wge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cge(e, t) {
+function wge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54753,7 +54830,7 @@ function Cge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wge = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${wge(e)} ${t}ms ${n}`).join(","), Tge = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
+var Tge = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${Tge(e)} ${t}ms ${n}`).join(","), Ege = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function PJ(e, t) {
@@ -54770,26 +54847,26 @@ function FJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? PJ(Object(n), !0).forEach(function(t) {
- Ege(e, t, n[t]);
+ Dge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ege(e, t, n) {
- return (t = Dge(t)) in e ? Object.defineProperty(e, t, {
+function Dge(e, t, n) {
+ return (t = Oge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dge(e) {
- var t = Oge(e, "string");
+function Oge(e) {
+ var t = kge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oge(e, t) {
+function kge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54818,7 +54895,7 @@ var IJ = (e, t, n) => e + (t - e) * n, LJ = (e) => {
from: IJ(t.from, r[e].from, n)
}) : t, t) : RJ(e, r, n - 1);
};
-function kge(e, t, n, r, i, a) {
+function Age(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => FJ(FJ({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -54833,7 +54910,7 @@ function kge(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function Age(e, t, n, r, i, a, o) {
+function jge(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
return i == null || a == null ? n : FJ(FJ({}, n), {}, { [r]: [i, a] });
@@ -54851,15 +54928,15 @@ function Age(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var jge = (e, t, n, r, i, a) => {
- var o = Tge(e, t);
- return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? kge(e, t, n, o, i, a) : Age(e, t, n, r, o, i, a);
+var Mge = (e, t, n, r, i, a) => {
+ var o = Ege(e, t);
+ return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? Age(e, t, n, o, i, a) : jge(e, t, n, r, o, i, a);
}, zJ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), Mge = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), Nge = (e) => {
+], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), Nge = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), Pge = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -54871,7 +54948,7 @@ var jge = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, Pge = function() {
+}, Fge = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -54905,7 +54982,7 @@ var jge = (e, t, n, r, i, a) => {
1
];
default:
- var t = Nge(e[0]);
+ var t = Pge(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -54914,8 +54991,8 @@ var jge = (e, t, n, r, i, a) => {
1,
1
];
-}, Fge = (e, t, n, r) => {
- var i = VJ(e, n), a = VJ(t, r), o = Mge(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, Ige = (e, t, n, r) => {
+ var i = VJ(e, n), a = VJ(t, r), o = Nge(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -54925,28 +55002,28 @@ var jge = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, HJ = function() {
- return Fge(...Pge(...arguments));
-}, Ige = function() {
+ return Ige(...Fge(...arguments));
+}, Lge = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, Lge = (e) => {
+}, Rge = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return HJ(e);
- case "spring": return Ige();
+ case "spring": return Lge();
default: if (e.split("(")[0] === "cubic-bezier") return HJ(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function Rge(e) {
+function zge(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -54977,7 +55054,7 @@ function Rge(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var zge = class {
+var Bge = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -54989,14 +55066,14 @@ var zge = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function Bge() {
- return Rge(new zge());
+function Vge() {
+ return zge(new Bge());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var Vge = /*#__PURE__*/ (0, I.createContext)(Bge);
-function Hge(e, t) {
- var n = (0, I.useContext)(Vge);
+var Hge = /*#__PURE__*/ (0, I.createContext)(Vge);
+function Uge(e, t) {
+ var n = (0, I.useContext)(Hge);
return (0, I.useMemo)(() => t ?? n(e), [
e,
t,
@@ -55005,7 +55082,7 @@ function Hge(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var Uge = {
+var Wge = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -55015,12 +55092,12 @@ var Uge = {
onAnimationStart: () => {}
}, UJ = { t: 0 }, WJ = { t: 1 };
function GJ(e) {
- var t = jB(e, Uge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = mJ(), d = n === "auto" ? !pJ.isSsr && !u : n, f = Hge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
+ var t = PB(e, Wge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = mJ(), d = n === "auto" ? !pJ.isSsr && !u : n, f = Uge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
d || m(WJ);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return xB;
- var e = jge(UJ, WJ, Lge(a), i, m, f.getTimeoutController());
+ if (!d || !r) return wB;
+ var e = Mge(UJ, WJ, Rge(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -55046,12 +55123,12 @@ function GJ(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function KJ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(pB(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = pB(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(gB(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = gB(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var Wge = ["radius"], Gge = ["radius"], Kge, qge, Jge, Yge, Xge, Zge, Qge, $ge, e_e, t_e;
+var Gge = ["radius"], Kge = ["radius"], qge, Jge, Yge, Xge, Zge, Qge, $ge, e_e, t_e, n_e;
function qJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -55066,26 +55143,26 @@ function JJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? qJ(Object(n), !0).forEach(function(t) {
- n_e(e, t, n[t]);
+ r_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n_e(e, t, n) {
- return (t = r_e(t)) in e ? Object.defineProperty(e, t, {
+function r_e(e, t, n) {
+ return (t = i_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r_e(e) {
- var t = i_e(e, "string");
+function i_e(e) {
+ var t = a_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i_e(e, t) {
+function a_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55106,14 +55183,14 @@ function YJ() {
}
function XJ(e, t) {
if (e == null) return {};
- var n, r, i = a_e(e, t);
+ var n, r, i = o_e(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 a_e(e, t) {
+function o_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55126,7 +55203,7 @@ function ZJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var QJ = (e, t, n, r, i) => {
- var a = sB(n), o = sB(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 = uB(n), o = uB(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,
@@ -55137,44 +55214,44 @@ var QJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = cB(Kge ||= ZJ([
+ d = dB(qge ||= ZJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += cB(qge ||= ZJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += dB(Jge ||= ZJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += cB(Jge ||= ZJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += dB(Yge ||= ZJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += cB(Yge ||= ZJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += dB(Xge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += cB(Xge ||= ZJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += dB(Zge ||= ZJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += cB(Zge ||= ZJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += dB(Qge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += cB(Qge ||= ZJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += dB($ge ||= ZJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += cB($ge ||= ZJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += dB(e_e ||= ZJ([
"A ",
",",
",0,0,",
@@ -55184,8 +55261,8 @@ var QJ = (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 = cB(e_e ||= ZJ(/* @__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 = cB(t_e ||= ZJ([
+ d = dB(t_e ||= ZJ(/* @__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 = dB(n_e ||= ZJ([
"M ",
",",
" h ",
@@ -55206,7 +55283,7 @@ var QJ = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, eY = (e) => {
- var t = jB(e, $J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+ var t = PB(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();
@@ -55229,12 +55306,12 @@ var QJ = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = bh("recharts-rectangle", u);
if (!h) {
- var S = rz(t), { radius: C } = S, w = XJ(S, Wge);
+ var S = oz(t), { radius: C } = S, w = XJ(S, Gge);
return /*#__PURE__*/ I.createElement("path", YJ({}, w, {
- x: sB(a),
- y: sB(o),
- width: sB(s),
- height: sB(c),
+ x: uB(a),
+ y: uB(o),
+ width: uB(s),
+ height: uB(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: QJ(a, o, s, c, l)
@@ -55250,12 +55327,12 @@ var QJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = gB(T, s, e), i = gB(E, c, e), u = gB(D, a, e), d = gB(O, o, e);
+ var r = yB(T, s, e), i = yB(E, c, e), u = yB(D, a, e), d = yB(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 = rz(t), { radius: h } = p, b = XJ(p, Gge);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = oz(t), { radius: h } = p, b = XJ(p, Kge);
return /*#__PURE__*/ I.createElement("path", YJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -55281,26 +55358,26 @@ function nY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? tY(Object(n), !0).forEach(function(t) {
- o_e(e, t, n[t]);
+ s_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tY(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 s_e(e, t, n) {
+ return (t = c_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 c_e(e) {
+ var t = l_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function c_e(e, t) {
+function l_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55310,10 +55387,10 @@ function c_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
+var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, u_e = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
x: e + Math.cos(-rY * r) * n,
y: t + Math.sin(-rY * r) * n
-}), u_e = function(e, t) {
+}), d_e = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -55324,11 +55401,11 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, d_e = (e, t) => {
+}, f_e = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, f_e = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = d_e({
+}, p_e = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = f_e({
x: n,
y: r
}, {
@@ -55342,25 +55419,25 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: l_e(c),
+ angle: u_e(c),
angleInRadian: c
};
-}, p_e = (e) => {
+}, m_e = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, m_e = (e, t) => {
+}, h_e = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, h_e = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = f_e({
+}, g_e = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = p_e({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = p_e(t), u = a, d;
+ var { startAngle: c, endAngle: l } = m_e(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -55372,7 +55449,7 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Ma
}
return d ? nY(nY({}, t), {}, {
radius: i,
- angle: m_e(u, t)
+ angle: h_e(u, t)
}) : null;
};
//#endregion
@@ -55390,7 +55467,7 @@ function oY(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var g_e, __e, v_e, y_e, b_e, x_e, S_e;
+var __e, v_e, y_e, b_e, x_e, S_e, C_e;
function sY() {
return sY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55403,7 +55480,7 @@ function sY() {
function cY(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) => {
+var w_e = (e, t) => fB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (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) / rY, d = c ? i : i + a * u, f = aY(t, n, l, d), p = aY(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -55412,7 +55489,7 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
theta: u
};
}, uY = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = C_e(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = cB(g_e ||= cY([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = w_e(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = dB(__e ||= cY([
"M ",
",",
"\n A ",
@@ -55425,7 +55502,7 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = aY(t, n, r, a), p = aY(t, n, r, c);
- d += cB(__e ||= cY([
+ d += dB(v_e ||= cY([
"L ",
",",
"\n A ",
@@ -55436,14 +55513,14 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += cB(v_e ||= cY([
+ } else d += dB(y_e ||= cY([
"L ",
",",
" Z"
]), t, n);
return d;
-}, w_e = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = lB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
+}, T_e = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = fB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
cx: t,
cy: n,
radius: i,
@@ -55460,7 +55537,7 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? cB(y_e ||= cY([
+ if (_ < 0) return o ? dB(b_e ||= cY([
"M ",
",",
"\n a",
@@ -55478,7 +55555,7 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: c,
endAngle: l
});
- var v = cB(b_e ||= cY([
+ var v = dB(x_e ||= cY([
"M ",
",",
"\n A",
@@ -55520,7 +55597,7 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (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 += cB(x_e ||= cY([
+ v += dB(S_e ||= cY([
"L",
",",
"\n A",
@@ -55541,13 +55618,13 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (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 += cB(S_e ||= cY([
+ } else v += dB(C_e ||= cY([
"L",
",",
"Z"
]), t, n);
return v;
-}, T_e = {
+}, E_e = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -55558,9 +55635,9 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, dY = (e) => {
- var t = jB(e, T_e), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = PB(e, E_e), { 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 = bh("recharts-sector", d), p = a - i, m = mB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? w_e({
+ var f = bh("recharts-sector", d), p = a - i, m = _B(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? T_e({
cx: n,
cy: r,
innerRadius: i,
@@ -55578,14 +55655,14 @@ var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", sY({}, rz(t), {
+ return /*#__PURE__*/ I.createElement("path", sY({}, oz(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function E_e(e, t, n) {
+function D_e(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -55600,7 +55677,7 @@ function E_e(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (DB(t)) {
+ if (AB(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = aY(r, i, a, s), l = aY(r, i, o, s);
return [{
@@ -55616,18 +55693,18 @@ function E_e(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function D_e(e) {
- return rB(e) ? NaN : Number(e);
+function O_e(e) {
+ return oB(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function fY(e) {
- return e ? (e = D_e(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = O_e(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function pY(e, t, n) {
- n && typeof n != "number" && CV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(n);
+ n && typeof n != "number" && wV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(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;
@@ -55648,7 +55725,7 @@ var mY = (e) => e.chartData, hY = $([mY], (e) => {
function vY(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (LW(t) && LW(n)) return !0;
+ if (RW(t) && RW(n)) return !0;
}
return !1;
}
@@ -55658,15 +55735,15 @@ function yY(e, t, n) {
function bY(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (LW(n)) i = n;
+ if (RW(n)) i = n;
else if (typeof n == "function") return;
- if (LW(r)) a = r;
+ if (RW(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
if (vY(o)) return o;
}
}
-function O_e(e, t, n) {
+function k_e(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -55679,8 +55756,8 @@ function O_e(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && aG.test(i)) {
- var c = aG.exec(i);
+ else if (typeof i == "string" && oG.test(i)) {
+ var c = oG.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -55692,8 +55769,8 @@ function O_e(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && oG.test(a)) {
- var u = oG.exec(a);
+ else if (typeof a == "string" && sG.test(a)) {
+ var u = sG.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -56113,7 +56190,7 @@ var wY = (e) => {
}
var u = r[c] ?? 1, d = new xY.default(u).mul(o);
return t ? d : new xY.default(Math.ceil(d.toNumber()));
-}, k_e = (e, t, n) => {
+}, A_e = (e, t, n) => {
var r = new xY.default(1), i = new xY.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -56142,7 +56219,7 @@ var wY = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return k_e(s, r, i);
+ if (s === c) return A_e(s, r, i);
var { step: u, tickMin: d, tickMax: f } = DY(s, c, o, i, 0, a === "snap125" ? EY : TY), p = CY(d, f.add(new xY.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, kY = function(e, t) {
@@ -56151,7 +56228,7 @@ var wY = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? EY : TY, l = Math.max(t, 2), u = c(new xY.default(s).sub(o).div(l - 1), i, 0), d = [...CY(new xY.default(o), new xY.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, A_e = (e) => e.rootProps.baseValue, BY = {
+}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, j_e = (e) => e.rootProps.baseValue, BY = {
grid: -100,
barBackground: -50,
area: 100,
@@ -56213,7 +56290,7 @@ var wY = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function WY(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return KW(e, t) ? "category" : "number";
+ if (e != null) return qW(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -56231,26 +56308,26 @@ function KY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? GY(Object(n), !0).forEach(function(t) {
- j_e(e, t, n[t]);
+ M_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function j_e(e, t, n) {
- return (t = M_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 M_e(e) {
- var t = N_e(e, "string");
+function N_e(e) {
+ var t = P_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N_e(e, t) {
+function P_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56296,45 +56373,45 @@ var qY = {
niceTicks: "auto"
}, YY = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, gK], (e, t) => {
+}, _K], (e, t) => {
if (e != null) return e;
var n = WY(t, "angleAxis", qY.type) ?? "category";
return KY(KY({}, qY), {}, { type: n });
-}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], gK], (e, t) => {
+}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], _K], (e, t) => {
if (e != null) return e;
var n = WY(t, "radiusAxis", JY.type) ?? "category";
return KY(KY({}, JY), {}, { type: n });
}), ZY = (e) => e.polarOptions, QY = $([
- fG,
pG,
- kG
-], u_e), $Y = $([ZY, QY], (e, t) => {
- if (e != null) return mB(e.innerRadius, t, 0);
+ mG,
+ AG
+], d_e), $Y = $([ZY, QY], (e, t) => {
+ if (e != null) return _B(e.innerRadius, t, 0);
}), eX = $([ZY, QY], (e, t) => {
- if (e != null) return mB(e.outerRadius, t, t * .8);
+ if (e != null) return _B(e.outerRadius, t, t * .8);
}), tX = $([ZY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), P_e = $([YY, tX], UY), nX = $([
+}), F_e = $([YY, tX], UY), nX = $([
QY,
$Y,
eX
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), F_e = $([XY, nX], UY), rX = $([
- pK,
+}), I_e = $([XY, nX], UY), rX = $([
+ mK,
ZY,
$Y,
eX,
- fG,
- pG
+ pG,
+ mG
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: mB(o, i, i / 2),
- cy: mB(s, a, a / 2),
+ cx: _B(o, i, i / 2),
+ cy: _B(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -56357,7 +56434,7 @@ function sX(e, t, n) {
if (t != null && t.length !== 0) {
var n = oX(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(WW(t, a, null)), c = WW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(GW(t, a, null)), c = GW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -56376,7 +56453,7 @@ var lX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function uX(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function I_e(e, t) {
+function L_e(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -56386,7 +56463,7 @@ function I_e(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var dX = (e) => {
- var t = pK(e);
+ var t = mK(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, fX = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -56438,7 +56515,7 @@ var mX = (e, t) => {
if (!vY(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- LW(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ RW(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -56455,7 +56532,7 @@ function hX(e, t) {
//#region node_modules/d3-array/src/bisector.js
function gX(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = L_e(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = R_e(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -56481,7 +56558,7 @@ function gX(e) {
right: i
};
}
-function L_e(e) {
+function R_e(e) {
return (t, n) => hX(e(t), n);
}
//#endregion
@@ -56489,7 +56566,7 @@ function L_e(e) {
function _X(e) {
return e === null ? NaN : +e;
}
-function* R_e(e, t) {
+function* z_e(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -56503,7 +56580,7 @@ vX.left, gX(_X).center;
//#endregion
//#region node_modules/internmap/src/index.js
var bX = class extends Map {
- constructor(e, t = V_e) {
+ constructor(e, t = H_e) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -56516,25 +56593,25 @@ var bX = class extends Map {
return super.has(xX(this, e));
}
set(e, t) {
- return super.set(z_e(this, e), t);
+ return super.set(B_e(this, e), t);
}
delete(e) {
- return super.delete(B_e(this, e));
+ return super.delete(V_e(this, e));
}
};
function xX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function z_e({ _intern: e, _key: t }, n) {
+function B_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function B_e({ _intern: e, _key: t }, n) {
+function V_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function V_e(e) {
+function H_e(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -56607,15 +56684,15 @@ function jX(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function H_e(e, t, n) {
- if (e = Float64Array.from(R_e(e, n)), r = e.length) {
+function U_e(e, t, n) {
+ if (e = Float64Array.from(z_e(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return kX(e);
if (t >= 1) return OX(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = OX(AX(e, a).subarray(0, a + 1));
return o + (kX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function U_e(e, t, n = _X) {
+function W_e(e, t, n = _X) {
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);
@@ -56625,7 +56702,7 @@ function U_e(e, t, n = _X) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function W_e(e, t, n) {
+function G_e(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;
@@ -56697,7 +56774,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 = W_e(e).map(function(e) {
+ var m = G_e(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -56732,7 +56809,7 @@ function RX(e) {
return RX(t());
}, e;
}
-function G_e() {
+function K_e() {
return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -56748,7 +56825,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*", K_e = /^#([0-9a-f]{3,8})$/, q_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), J_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Y_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), X_e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Z_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Q_e = 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*", q_e = /^#([0-9a-f]{3,8})$/, J_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Y_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), X_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), Z_e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Q_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), $_e = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -56907,18 +56984,18 @@ zX(VX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: $_e,
- formatHsl: eve,
+ formatHex8: eve,
+ formatHsl: tve,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function $_e() {
+function eve() {
return this.rgb().formatHex8();
}
-function eve() {
+function tve() {
return sZ(this).formatHsl();
}
function YX() {
@@ -56926,7 +57003,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = K_e.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 = q_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = J_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Y_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = X_e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Z_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Q_e.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 = q_e.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 = J_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Y_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = X_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = Z_e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Q_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = $_e.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);
@@ -56934,11 +57011,11 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function tve(e) {
+function nve(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 ? tve(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? nve(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;
@@ -56961,14 +57038,14 @@ zX(eZ, $X, BX(VX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: nve,
+ formatHex8: rve,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function nve() {
+function rve() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -56995,13 +57072,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 rve(e, t, n, r) {
+function ive(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, rve, BX(VX, {
+zX(cZ, ive, BX(VX, {
brighter(e) {
return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
@@ -57037,29 +57114,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function ive(e, t) {
+function ave(e, t) {
return function(n) {
return e + n * t;
};
}
-function ave(e, t, n) {
+function ove(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function ove(e) {
+function sve(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? ave(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? ove(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? ive(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? ave(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = ove(t);
+ var n = sve(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) {
@@ -57070,7 +57147,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function sve(e, t) {
+function cve(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -57078,12 +57155,12 @@ function sve(e, t) {
return r;
};
}
-function cve(e) {
+function lve(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function lve(e, t) {
+function uve(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];
@@ -57094,7 +57171,7 @@ function lve(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function uve(e, t) {
+function dve(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -57109,7 +57186,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function dve(e, t) {
+function fve(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) {
@@ -57120,23 +57197,23 @@ function dve(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 fve(e) {
+function pve(e) {
return function() {
return e;
};
}
-function pve(e) {
+function mve(e) {
return function(t) {
return e(t) + "";
};
}
-function mve(e, t) {
+function hve(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] ? pve(c[0].x) : fve(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] ? mve(c[0].x) : pve(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("");
});
@@ -57145,7 +57222,7 @@ function mve(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) : mve : t instanceof XX ? mZ : t instanceof Date ? uve : cve(t) ? sve : Array.isArray(t) ? lve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? dve : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : hve : t instanceof XX ? mZ : t instanceof Date ? dve : lve(t) ? cve : Array.isArray(t) ? uve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? fve : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -57156,7 +57233,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function hve(e, t) {
+function gve(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) {
@@ -57166,7 +57243,7 @@ function hve(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function gve(e) {
+function _ve(e) {
return function() {
return e;
};
@@ -57185,21 +57262,21 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : gve(isNaN(t) ? NaN : .5);
+ } : _ve(isNaN(t) ? NaN : .5);
}
-function _ve(e, t) {
+function vve(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function vve(e, t, n) {
+function yve(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 yve(e, t, n) {
+function bve(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) {
@@ -57214,7 +57291,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 = _ve(e[0], e[n - 1])), s = n > 2 ? yve : vve, c = l = null, d;
+ return o !== SZ && (o = vve(e[0], e[n - 1])), s = n > 2 ? bve : yve, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -57242,7 +57319,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function bve(e) {
+function xve(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -57257,7 +57334,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function xve(e, t) {
+function Sve(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);
@@ -57265,7 +57342,7 @@ function xve(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function Sve(e) {
+function Cve(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -57274,9 +57351,9 @@ function Sve(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var Cve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var wve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = Cve.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = wve.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -57300,7 +57377,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function wve(e) {
+function Tve(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -57317,7 +57394,7 @@ function wve(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function Tve(e, t) {
+function Eve(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;
@@ -57337,14 +57414,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: bve,
+ d: xve,
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: Tve,
+ s: Eve,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -57374,8 +57451,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function Eve(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : xve(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 : Sve(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 Dve(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Sve(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 : Cve(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;
@@ -57388,7 +57465,7 @@ function Eve(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = wve(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 = Tve(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;
@@ -57429,27 +57506,27 @@ function Eve(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-Dve({
+Ove({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function Dve(e) {
- return LZ = Eve(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function Ove(e) {
+ return LZ = Dve(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Ove(e) {
+function kve(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function kve(e, t) {
+function Ave(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 Ave(e, t) {
+function jve(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
@@ -57459,16 +57536,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 = kve(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = Ave(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = Ave(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = jve(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Ove(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = kve(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -57531,19 +57608,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function jve(e) {
- return -Math.log(-e);
-}
function Mve(e) {
- return -Math.exp(-e);
+ return -Math.log(-e);
}
function Nve(e) {
- return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
+ return -Math.exp(-e);
}
function Pve(e) {
- return e === 10 ? Nve : e === Math.E ? Math.exp : (t) => e ** +t;
+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
function Fve(e) {
+ return e === 10 ? Pve : e === Math.E ? Math.exp : (t) => e ** +t;
+}
+function Ive(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) {
@@ -57552,7 +57629,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = Fve(r), a = Pve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(jve, Mve)) : e(GZ, KZ), t;
+ return i = Ive(r), a = Fve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Mve, Nve)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -57622,16 +57699,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function Ive(e) {
+function Lve(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Lve(e) {
+function Rve(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(Ive, Lve) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(Lve, Rve) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -57643,7 +57720,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, NX.apply(e, arguments), e;
}
-function Rve() {
+function zve() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -57651,13 +57728,13 @@ function Rve() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function zve(e) {
+function Bve(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 = zve(e(t));
+ var i = Bve(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -57684,7 +57761,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] = U_e(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = W_e(e, r / i);
return a;
}
function a(e) {
@@ -57853,8 +57930,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), Bve = DQ(2), Vve = DQ(3), AQ = DQ(4), Hve = DQ(5), Uve = DQ(6);
-OQ.range, kQ.range, Bve.range, Vve.range, AQ.range, Hve.range, Uve.range;
+var OQ = DQ(0), kQ = DQ(1), Vve = DQ(2), Hve = DQ(3), AQ = DQ(4), Uve = DQ(5), Wve = DQ(6);
+OQ.range, kQ.range, Vve.range, Hve.range, AQ.range, Uve.range, Wve.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -57862,8 +57939,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), Wve = jQ(2), Gve = jQ(3), PQ = jQ(4), Kve = jQ(5), qve = jQ(6);
-MQ.range, NQ.range, Wve.range, Gve.range, PQ.range, Kve.range, qve.range;
+var MQ = jQ(0), NQ = jQ(1), Gve = jQ(2), Kve = jQ(3), PQ = jQ(4), qve = jQ(5), Jve = jQ(6);
+MQ.range, NQ.range, Gve.range, Kve.range, PQ.range, qve.range, Jve.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -58010,7 +58087,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Jve, Yve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Xve, Zve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Yve, Xve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Zve, Qve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -58038,7 +58115,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function Qve(e) {
+function $ve(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,
@@ -58047,30 +58124,30 @@ function Qve(e) {
c: null,
d: QQ,
e: QQ,
- f: xye,
- g: jye,
- G: Nye,
- H: vye,
- I: yye,
- j: bye,
+ f: Sye,
+ g: Mye,
+ G: Pye,
+ H: yye,
+ I: bye,
+ j: xye,
L: $Q,
- m: Sye,
- M: Cye,
+ m: Cye,
+ M: wye,
p: ne,
q: F,
Q: a$,
s: o$,
- S: wye,
- u: Tye,
- U: Eye,
- V: Dye,
- w: Oye,
- W: kye,
+ S: Tye,
+ u: Eye,
+ U: Dye,
+ V: Oye,
+ w: kye,
+ W: Aye,
x: null,
X: null,
- y: Aye,
- Y: Mye,
- Z: Pye,
+ y: jye,
+ Y: Nye,
+ Z: Fye,
"%": i$
}, b = {
a: re,
@@ -58080,30 +58157,30 @@ function Qve(e) {
c: null,
d: t$,
e: t$,
- f: Rye,
- g: Jye,
- G: Xye,
- H: Fye,
- I: Iye,
- j: Lye,
+ f: zye,
+ g: Yye,
+ G: Zye,
+ H: Iye,
+ I: Lye,
+ j: Rye,
L: n$,
- m: zye,
- M: Bye,
+ m: Bye,
+ M: Vye,
p: se,
q: ce,
Q: a$,
s: o$,
- S: Vye,
- u: Hye,
- U: Uye,
- V: Wye,
- w: Gye,
- W: Kye,
+ S: Hye,
+ u: Uye,
+ U: Wye,
+ V: Gye,
+ w: Kye,
+ W: qye,
x: null,
X: null,
- y: qye,
- Y: Yye,
- Z: Zye,
+ y: Jye,
+ Y: Xye,
+ Z: Qye,
"%": i$
}, x = {
a: E,
@@ -58113,31 +58190,31 @@ function Qve(e) {
c: A,
d: XQ,
e: XQ,
- f: mye,
+ f: hye,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: uye,
- L: pye,
- m: lye,
- M: dye,
+ j: dye,
+ L: mye,
+ m: uye,
+ M: fye,
p: T,
- q: cye,
- Q: gye,
- s: _ye,
- S: fye,
- u: rye,
- U: iye,
- V: aye,
- w: nye,
- W: oye,
+ q: lye,
+ Q: _ye,
+ s: vye,
+ S: pye,
+ u: iye,
+ U: aye,
+ V: oye,
+ w: rye,
+ W: sye,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: sye,
- "%": hye
+ Z: cye,
+ "%": gye
};
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) {
@@ -58265,37 +58342,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, $ve = /^%/, eye = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, eye = /^%/, tye = /[\\^$*+?|[\]().{}]/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 tye(e) {
- return e.replace(eye, "\\$&");
+function nye(e) {
+ return e.replace(tye, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(tye).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(nye).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function nye(e, t, n) {
+function rye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function rye(e, t, n) {
+function iye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function iye(e, t, n) {
+function aye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function aye(e, t, n) {
+function oye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function oye(e, t, n) {
+function sye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -58307,15 +58384,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 sye(e, t, n) {
+function cye(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 cye(e, t, n) {
+function lye(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 lye(e, t, n) {
+function uye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -58323,7 +58400,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 uye(e, t, n) {
+function dye(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;
}
@@ -58331,159 +58408,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 dye(e, t, n) {
+function fye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function fye(e, t, n) {
+function pye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function pye(e, t, n) {
+function mye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function mye(e, t, n) {
+function hye(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 hye(e, t, n) {
- var r = $ve.exec(t.slice(n, n + 1));
+function gye(e, t, n) {
+ var r = eye.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function gye(e, t, n) {
+function _ye(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function _ye(e, t, n) {
+function vye(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 vye(e, t) {
+function yye(e, t) {
return GQ(e.getHours(), t, 2);
}
-function yye(e, t) {
+function bye(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function bye(e, t) {
+function xye(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function xye(e, t) {
+function Sye(e, t) {
return $Q(e, t) + "000";
}
-function Sye(e, t) {
+function Cye(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Cye(e, t) {
+function wye(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function wye(e, t) {
+function Tye(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function Tye(e) {
+function Eye(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function Eye(e, t) {
+function Dye(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 Dye(e, t) {
+function Oye(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function Oye(e) {
+function kye(e) {
return e.getDay();
}
-function kye(e, t) {
+function Aye(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function Aye(e, t) {
+function jye(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function jye(e, t) {
+function Mye(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function Mye(e, t) {
+function Nye(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function Nye(e, t) {
+function Pye(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function Pye(e) {
+function Fye(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 Fye(e, t) {
+function Iye(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function Iye(e, t) {
+function Lye(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function Lye(e, t) {
+function Rye(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function Rye(e, t) {
+function zye(e, t) {
return n$(e, t) + "000";
}
-function zye(e, t) {
+function Bye(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function Bye(e, t) {
+function Vye(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function Vye(e, t) {
+function Hye(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function Hye(e) {
+function Uye(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function Uye(e, t) {
+function Wye(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 Wye(e, t) {
+function Gye(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function Gye(e) {
+function Kye(e) {
return e.getUTCDay();
}
-function Kye(e, t) {
+function qye(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function qye(e, t) {
+function Jye(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Jye(e, t) {
+function Yye(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Yye(e, t) {
+function Xye(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Xye(e, t) {
+function Zye(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Zye() {
+function Qye() {
return "+0000";
}
function i$() {
@@ -58498,7 +58575,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Qye({
+$ye({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -58550,15 +58627,15 @@ Qye({
"Dec"
]
});
-function Qye(e) {
- return s$ = Qve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function $ye(e) {
+ return s$ = $ve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function $ye(e) {
+function ebe(e) {
return new Date(e);
}
-function ebe(e) {
+function tbe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -58569,7 +58646,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, ebe)) : f().map($ye);
+ return arguments.length ? f(Array.from(e, tbe)) : f().map(ebe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -58582,13 +58659,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 tbe() {
- return NX.apply(u$(Xve, Zve, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function nbe() {
+ return NX.apply(u$(Zve, Qve, 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 nbe() {
- return NX.apply(u$(Jve, Yve, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function rbe() {
+ return NX.apply(u$(Yve, Xve, 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
@@ -58643,7 +58720,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function rbe() {
+function ibe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58663,7 +58740,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) => H_e(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => U_e(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
}, PX.apply(n, arguments);
@@ -58689,7 +58766,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = hve(e, [
+ return arguments.length ? ([n, r, i] = t, l = gve(e, [
n,
r,
i
@@ -58734,7 +58811,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function ibe() {
+function abe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58744,14 +58821,14 @@ var C$ = /* @__PURE__ */ re({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => ibe,
+ scaleDivergingSqrt: () => abe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
scaleOrdinal: () => IX,
- scalePoint: () => G_e,
+ scalePoint: () => K_e,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -58760,26 +58837,26 @@ var C$ = /* @__PURE__ */ re({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => rbe,
+ scaleSequentialSqrt: () => ibe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => Rve,
+ scaleSqrt: () => zve,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => tbe,
- scaleUtc: () => nbe,
+ scaleTime: () => nbe,
+ scaleUtc: () => rbe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function abe(e) {
+function obe(e) {
if (e in C$) return C$[e]();
- var t = `scale${yB(e)}`;
+ var t = `scale${SB(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 = abe(e);
+ var r = obe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -58788,22 +58865,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function obe(e) {
- return `scale${yB(e)}`;
-}
function sbe(e) {
- return obe(e) in C$;
+ return `scale${SB(e)}`;
+}
+function cbe(e) {
+ return sbe(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 sbe(r) ? r : "point";
+ if (typeof r == "string") return cbe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function cbe(e, t) {
+function lbe(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;
@@ -58814,7 +58891,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 = cbe(r, e);
+ var t = lbe(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;
@@ -58824,7 +58901,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function lbe(e) {
+function ube(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -58843,26 +58920,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) {
- ube(e, t, n[t]);
+ dbe(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 ube(e, t, n) {
- return (t = dbe(t)) in e ? Object.defineProperty(e, t, {
+function dbe(e, t, n) {
+ return (t = fbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dbe(e) {
- var t = fbe(e, "string");
+function fbe(e) {
+ var t = pbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fbe(e, t) {
+function pbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58930,7 +59007,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$, pbe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, mbe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -58943,7 +59020,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? pbe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? mbe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -58952,7 +59029,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return XY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, mbe = (e, t, n) => {
+}, hbe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -58979,22 +59056,22 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, hbe = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, gbe = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- hbe
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), gbe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), _be = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
+ gbe
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), _be = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), vbe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([_be, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: WW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: WW(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([vbe, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: GW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: GW(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (fB(e) || e instanceof Date) {
+ if (hB(e) || e instanceof Date) {
var t = Number(e);
- if (LW(t)) return t;
+ if (RW(t)) return t;
}
}
function $$(e) {
@@ -59006,13 +59083,13 @@ function $$(e) {
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(bB);
+ return e.map(Q$).filter(CB);
}
-function vbe(e, t) {
+function ybe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var ybe = $([Z$], (e) => e?.map((e) => e.value).sort(vbe));
+var bbe = $([Z$], (e) => e?.map((e) => e.value).sort(ybe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -59020,13 +59097,13 @@ function t1(e, t) {
default: return !1;
}
}
-function bbe(e, t, n) {
- return !n || typeof t != "number" || uB(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = WW(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!LW(i) || !LW(a))) return [t - i, t + a];
+function xbe(e, t, n) {
+ return !n || typeof t != "number" || pB(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = GW(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!RW(i) || !RW(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
+var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Sbe = $([
G$,
gY,
n1
@@ -59039,22 +59116,22 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: ZW(e, o.map(oX), n),
+ stackedData: QW(e, o.map(oX), n),
graphicalItems: o
}];
}));
}, a1 = $([
- xbe,
+ Sbe,
G$,
PY,
FY
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = iG(e, i, a);
+ var o = aG(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Sbe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Cbe = $([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) {
@@ -59065,12 +59142,12 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Sbe], bY), Cbe = $([
+}, c1 = $([R$], s1), l1 = $([c1, Cbe], bY), wbe = $([
a1,
mY,
iX,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, wbe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, Tbe = (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();
@@ -59080,7 +59157,7 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = WW(e, t.dataKey ?? n.dataKey), l = bbe(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = GW(e, t.dataKey ?? n.dataKey), l = xbe(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);
@@ -59089,32 +59166,32 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = $$(WW(e, t.dataKey));
+ var n = $$(GW(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]));
- }), LW(a) && LW(o)) return [a, o];
-}, Tbe = $([
+ }), RW(a) && RW(o)) return [a, o];
+}, Ebe = $([
Y$,
R$,
- gbe,
+ _be,
u1,
iX
], f1, { memoizeOptions: { resultEqualityCheck: lX } });
-function Ebe(e) {
+function Dbe(e) {
var { value: t } = e;
- if (fB(t) || t instanceof Date) return t;
+ if (hB(t) || t instanceof Date) return t;
}
-var Dbe = (e, t, n) => {
- var r = e.map(Ebe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && hB(r)) ? pY(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), Obe = $([
+var Obe = (e, t, n) => {
+ var r = e.map(Dbe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && vB(r)) ? pY(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), kbe = $([
p1,
iX,
aX
-], m1), h1 = (e) => e.referenceElements.areas, kbe = $([
+], m1), h1 = (e) => e.referenceElements.areas, Abe = $([
h1,
iX,
aX
-], m1), g1 = (e) => e.referenceElements.lines, Abe = $([
+], m1), g1 = (e) => e.referenceElements.lines, jbe = $([
g1,
iX,
aX
@@ -59123,49 +59200,49 @@ var Dbe = (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)];
}
-}, jbe = $(Obe, iX, _1), v1 = (e, t) => {
+}, Mbe = $(kbe, iX, _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)];
}
-}, Mbe = $([kbe, iX], v1);
-function Nbe(e) {
+}, Nbe = $([Abe, iX], v1);
+function Pbe(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 Pbe(e) {
+function Fbe(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" ? Nbe(e) : Pbe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Pbe(e) : Fbe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Fbe = $(jbe, $([Abe, iX], y1), Mbe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? O_e(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Ibe = $([
+}, Ibe = $(Mbe, $([jbe, iX], y1), Nbe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? k_e(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Lbe = $([
R$,
c1,
l1,
- Cbe,
- Tbe,
- Fbe,
- pK,
+ wbe,
+ Ebe,
+ Ibe,
+ mK,
iX
-], b1, { memoizeOptions: { resultEqualityCheck: lX } }), Lbe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: lX } }), Rbe = [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 = KW(t, a);
- return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Dbe(r, e, l) : i === "expand" ? Lbe : o;
+ var { dataKey: s, type: c } = e, l = qW(t, a);
+ return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Obe(r, e, l) : i === "expand" ? Rbe : o;
}
}, S1 = $([
R$,
- pK,
+ mK,
Y$,
Z$,
PY,
iX,
- Ibe
+ Lbe
], x1), C1 = $([
R$,
B$,
@@ -59193,7 +59270,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Rbe = $([
+}, zbe = $([
R$,
S1,
T1,
@@ -59213,22 +59290,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), pK, MY, kG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!LW(e)) return 0;
+}), mK, MY, AG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!RW(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = mB(n, e * a), s = e * a / 2;
+ var o = _B(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), zbe = (e, t, n) => {
+}), Bbe = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, Bbe = (e, t, n) => {
+}, Vbe = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, Vbe = $(N$, zbe, (e, t) => {
+}, Hbe = $(N$, Bbe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -59241,7 +59318,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), Hbe = $(I$, Bbe, (e, t) => {
+}), Ube = $(I$, Vbe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -59254,29 +59331,29 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), Ube = $([
- kG,
- Vbe,
+}), Wbe = $([
+ AG,
+ Hbe,
+ IG,
FG,
- PG,
(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];
-}), Wbe = $([
- kG,
- pK,
- Hbe,
+}), Gbe = $([
+ AG,
+ mK,
+ Ube,
+ IG,
FG,
- PG,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
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 Ube(e, n, r);
- case "yAxis": return Wbe(e, n, r);
+ case "xAxis": return Wbe(e, n, r);
+ case "yAxis": return Gbe(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return tX(e);
case "radiusAxis": return nX(e, n);
@@ -59285,67 +59362,67 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], UY), A1 = $([
R$,
C1,
- $([C1, Rbe], mX),
+ $([C1, zbe], mX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (KW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (qW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- pK,
+ mK,
Z$,
z$,
iX
], j1), N1 = $([A1], pX);
-$([A1], lbe), $([A1, ybe], D$), $([
+$([A1], ube), $([A1, bbe], D$), $([
W$,
u1,
iX
-], wbe);
+], Tbe);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Kbe = $(_G, 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, Kbe = $(_G, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), qbe = $(vG, 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
-}), qbe = (e, t) => ({
+}), Jbe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(kG, N$, L1), Jbe = (e, t, n) => {
+}), R1 = $(AG, N$, L1), Ybe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Ybe = (e, t, n) => {
+}, Xbe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Xbe = $(pG, kG, Gbe, F1, I1, (e, t, n, r, i) => {
+}, Zbe = $(mG, AG, Kbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Jbe(t, r, e);
+ o ??= Ybe(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;
-}), Zbe = $(fG, kG, Kbe, F1, I1, (e, t, n, r, i) => {
+}), Qbe = $(pG, AG, qbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = qbe(t, n);
- o ??= Ybe(t, r, e);
+ var s = Jbe(t, n);
+ o ??= Xbe(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;
-}), Qbe = $([
- kG,
+}), $be = $([
+ AG,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return Xbe(e, n.orientation, n.mirror);
+ if (n != null) return Zbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59359,12 +59436,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), $be = $([
- kG,
+}), exe = $([
+ AG,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return Zbe(e, n.orientation, n.mirror);
+ if (n != null) return Qbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59378,7 +59455,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(kG, I$, (e, t) => ({
+}), z1 = $(AG, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -59389,17 +59466,17 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KW(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && hB(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = qW(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && vB(c)) return c;
}
}, H1 = $([
- pK,
+ mK,
Z$,
R$,
iX
], V1), U1 = $([
- pK,
- mbe,
+ mK,
+ hbe,
C1,
N1,
H1,
@@ -59409,7 +59486,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
iX
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = KW(e, c);
+ var l = qW(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -59433,45 +59510,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = KW(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 ? lB(a[0] - a[1]) * 2 * m : m;
+ var l = qW(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 ? fB(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);
- return LW(i) ? {
+ return RW(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(bB) : l && s ? s.map((e, t) => {
+ }).filter(CB) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(bB) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(CB) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(bB) : r.domain().map((e, t) => {
+ }).filter(CB) : r.domain().map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(bB);
+ }).filter(CB);
}
}, G1 = $([
- pK,
+ mK,
z$,
C1,
N1,
@@ -59482,35 +59559,35 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
iX
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = KW(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? lB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = qW(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? fB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(bB) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(CB) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(bB) : n.domain().map((e, t) => {
+ }).filter(CB) : n.domain().map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(bB);
+ }).filter(CB);
}
}, q1 = $([
- pK,
+ mK,
z$,
N1,
O1,
@@ -59528,10 +59605,10 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], pX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var exe = $([
- pK,
- gG,
- _G
+var txe = $([
+ mK,
+ _G,
+ vG
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -59562,21 +59639,21 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function txe(e) {
+function nxe(e) {
return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var $1 = (e, t) => {
var n, r = Number(t);
- if (!(uB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, nxe = (e) => e.tooltip.settings, e0 = {
+ if (!(pB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, rxe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = HU({
+}, t0 = UU({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -59609,23 +59686,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(hq(t.payload));
+ e.tooltipItemPayloads.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).tooltipItemPayloads.indexOf(hq(n));
- i > -1 && (e.tooltipItemPayloads[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).tooltipItemPayloads.indexOf(gq(n));
+ i > -1 && (e.tooltipItemPayloads[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = pU(e).tooltipItemPayloads.indexOf(hq(t.payload));
+ var n = mU(e).tooltipItemPayloads.indexOf(gq(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -59655,7 +59732,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: rxe, replaceTooltipEntrySettings: ixe, removeTooltipEntrySettings: axe, setTooltipSettingsState: oxe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: sxe, mouseLeaveChart: r0, setActiveClickItemIndex: cxe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: lxe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, uxe = t0.reducer;
+}), { addTooltipEntrySettings: ixe, replaceTooltipEntrySettings: axe, removeTooltipEntrySettings: oxe, setTooltipSettingsState: sxe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: cxe, mouseLeaveChart: r0, setActiveClickItemIndex: lxe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: uxe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, dxe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -59672,26 +59749,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- dxe(e, t, n[t]);
+ fxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dxe(e, t, n) {
- return (t = fxe(t)) in e ? Object.defineProperty(e, t, {
+function fxe(e, t, n) {
+ return (t = pxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fxe(e) {
- var t = pxe(e, "string");
+function pxe(e) {
+ var t = mxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pxe(e, t) {
+function mxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59701,21 +59778,21 @@ function pxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mxe(e, t, n) {
+function hxe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function hxe(e) {
+function gxe(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = mxe(e, t, n);
+ var i = hxe(e, t, n);
if (i == null) return e0;
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 (hxe(i)) {
+ if (gxe(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -59728,7 +59805,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function gxe(e) {
+function _xe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -59737,24 +59814,24 @@ function gxe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function _xe(e, t) {
- var n = gxe(e), r = t[0], i = t[1];
+function vxe(e, t) {
+ var n = _xe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function vxe(e, t, n) {
+function yxe(e, t, n) {
if (n == null || t == null) return !0;
- var r = WW(e, t);
- return r == null || !vY(n) || _xe(r, n);
+ var r = GW(e, t);
+ return r == null || !vY(n) || vxe(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!LW(a)) return i;
+ if (!RW(a)) return i;
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 || vxe(l, n, r) ? String(c) : null;
+ return l == null || yxe(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -59798,26 +59875,26 @@ function g0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h0(Object(n), !0).forEach(function(t) {
- yxe(e, t, n[t]);
+ bxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yxe(e, t, n) {
- return (t = bxe(t)) in e ? Object.defineProperty(e, t, {
+function bxe(e, t, n) {
+ return (t = xxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bxe(e) {
- var t = xxe(e, "string");
+function xxe(e) {
+ var t = Sxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xxe(e, t) {
+function Sxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59827,57 +59904,57 @@ function xxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Sxe(e) {
+function Cxe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Cxe(e) {
+function wxe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function wxe(e) {
+function Txe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function _0(e) {
if (typeof e == "string") return e;
}
-function Txe(e) {
+function Exe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Sxe(e.name) : void 0,
- unit: "unit" in e ? Cxe(e.unit) : void 0,
- dataKey: "dataKey" in e ? wxe(e.dataKey) : void 0,
+ name: "name" in e ? Cxe(e.name) : void 0,
+ unit: "unit" in e ? wxe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? Txe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? _0(e.color) : void 0,
fill: "fill" in e ? _0(e.fill) : void 0
};
}
-function Exe(e, t) {
+function Dxe(e, t) {
return e ?? t;
}
var v0 = (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 = Exe(d, s), m = Array.isArray(p) ? IW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? _B(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = Dxe(d, s), m = Array.isArray(p) ? LW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? bB(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = Txe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = Exe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(cG({
+ e.push(lG({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: WW(a, i),
+ value: GW(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(cG({
+ }) : e.push(lG({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: WW(_, h),
- name: WW(_, g) ?? f?.name
+ value: GW(_, h),
+ name: GW(_, g) ?? f?.name
})), e;
}, []);
}
@@ -59889,17 +59966,17 @@ var v0 = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([dX, fX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Dxe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), Oxe = $([
- Dxe,
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Oxe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), kxe = $([
+ Oxe,
mY,
n1
], sX), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), kxe = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), Axe = $([
$([
- Oxe,
+ kxe,
$([b0], (e) => e.filter(cX)),
PY,
FY
@@ -59907,23 +59984,23 @@ var v0 = (e, t, n, r, i, a, o) => {
mY,
dX,
w0
-], o1), Axe = $([
+], o1), jxe = $([
x0,
n1,
$([b0], K$),
u1,
dX
-], f1, { memoizeOptions: { resultEqualityCheck: lX } }), jxe = $([$([
+], f1, { memoizeOptions: { resultEqualityCheck: lX } }), Mxe = $([$([
p1,
dX,
fX
-], m1), dX], _1), Mxe = $([$([
+], m1), dX], _1), Nxe = $([$([
h1,
dX,
fX
], m1), dX], v1), T0 = $([
n1,
- pK,
+ mK,
x0,
S0,
PY,
@@ -59932,21 +60009,21 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
C0,
w0,
- kxe,
Axe,
+ jxe,
$([
- jxe,
+ Mxe,
$([$([
g1,
dX,
fX
], m1), dX], y1),
- Mxe
+ Nxe
], d1),
- pK,
+ mK,
dX
], b1)
-], x1), Nxe = $([
+], x1), Pxe = $([
n1,
T0,
$([
@@ -59958,22 +60035,22 @@ var v0 = (e, t, n, r, i, a, o) => {
], E1), E0 = (e) => O1(e, dX(e), fX(e), !1), D0 = $([n1, E0], UY), O0 = $([$([
n1,
y0,
- Nxe,
+ Pxe,
D0
], T$)], pX), k0 = $([
- pK,
+ mK,
n1,
y0,
O0,
E0,
$([
- pK,
+ mK,
S0,
n1,
dX
], V1),
$([
- pK,
+ mK,
S0,
n1,
dX
@@ -59981,32 +60058,32 @@ var v0 = (e, t, n, r, i, a, o) => {
dX
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = KW(e, s);
+ var { type: c } = t, l = qW(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 ? lB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? fB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(bB) : r.domain().map((e, t) => {
+ }).filter(CB) : r.domain().map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(bB);
+ }).filter(CB);
}
}
}), A0 = $([
Y1,
X1,
- nxe
+ rxe
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -60019,22 +60096,22 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), Pxe = $([N0], (e) => {
+}), Fxe = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), Fxe = $([N0, $([
- fG,
+], f0), Ixe = $([N0, $([
pG,
- pK,
- kG,
+ mG,
+ mK,
+ AG,
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Ixe = $([N0], (e) => e?.active ?? !1), Lxe = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Lxe = $([N0], (e) => e?.active ?? !1), Rxe = $([$([
L0,
P0,
mY,
@@ -60064,26 +60141,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- Rxe(e, t, n[t]);
+ zxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rxe(e, t, n) {
- return (t = zxe(t)) in e ? Object.defineProperty(e, t, {
+function zxe(e, t, n) {
+ return (t = Bxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zxe(e) {
- var t = Bxe(e, "string");
+function Bxe(e) {
+ var t = Vxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bxe(e, t) {
+function Vxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60093,9 +60170,9 @@ function Bxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Vxe = () => Q(n1), Hxe = () => {
- var e = Vxe(), t = Q(k0), n = Q(O0);
- return sG(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var Hxe = () => Q(n1), Uxe = () => {
+ var e = Hxe(), t = Q(k0), n = Q(O0);
+ return cG(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -60113,26 +60190,26 @@ function V0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B0(Object(n), !0).forEach(function(t) {
- Uxe(e, t, n[t]);
+ Wxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uxe(e, t, n) {
- return (t = Wxe(t)) in e ? Object.defineProperty(e, t, {
+function Wxe(e, t, n) {
+ return (t = Gxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wxe(e) {
- var t = Gxe(e, "string");
+function Gxe(e) {
+ var t = Kxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gxe(e, t) {
+function Kxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60142,7 +60219,7 @@ function Gxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Kxe = (e, t, n, r) => {
+var qxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -60158,7 +60235,7 @@ var Kxe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, qxe = (e, t, n, r) => {
+}, Jxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -60188,7 +60265,7 @@ var Kxe = (e, t, n, r) => {
y: 0
};
};
-function Jxe(e, t) {
+function Yxe(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;
}
@@ -60198,9 +60275,9 @@ var H0 = (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 (lB(c - s) !== lB(l - c)) {
+ if (fB(c - s) !== fB(l - c)) {
var d = [];
- if (lB(l - c) === lB(i[1] - i[0])) {
+ if (fB(l - c) === fB(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);
@@ -60225,7 +60302,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Yxe = $(k0, (e) => AV(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Xxe = $(k0, (e) => jV(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -60235,7 +60312,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), Xxe = (e, t, n) => {
+], u0), Zxe = (e, t, n) => {
if (t != null) {
var r = m0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -60246,14 +60323,14 @@ var H0 = (e, t, n, r, i) => {
G0,
K0
], f0), X0 = $([
- fG,
pG,
- pK,
- kG,
+ mG,
+ mK,
+ AG,
k0,
K0,
Y0
-], d0), Zxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Qxe = $([
+], d0), Qxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), $xe = $([
Y0,
J0,
mY,
@@ -60261,39 +60338,39 @@ var H0 = (e, t, n, r, i) => {
Z0,
p0,
W0
-], v0), $xe = $([q0, J0], (e, t) => ({
+], v0), eSe = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), eSe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && Jxe(e, o)) {
- var s = H0(uG(e, t), a, i, n, r), c = Kxe(t, i, s, e);
+})), tSe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && Yxe(e, o)) {
+ var s = H0(dG(e, t), a, i, n, r), c = qxe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, tSe = (e, t, n, r, i, a, o) => {
+}, nSe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = h_e(e, n);
+ var s = g_e(e, n);
if (s) {
- var c = H0(dG(s, t), o, a, r, i), l = qxe(t, a, c, s);
+ var c = H0(fG(s, t), o, a, r, i), l = Jxe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, nSe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? eSe(e, t, r, i, a, o, s) : tSe(e, t, n, r, i, a, o);
-}, rSe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, rSe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? tSe(e, t, r, i, a, o, s) : nSe(e, t, n, r, i, a, o);
+}, iSe = $((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;
}
-}), iSe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), aSe = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(BY));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: I_e } });
+}, { memoizeOptions: { resultEqualityCheck: L_e } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function Q0(e, t) {
@@ -60310,26 +60387,26 @@ function $0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q0(Object(n), !0).forEach(function(t) {
- aSe(e, t, n[t]);
+ oSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aSe(e, t, n) {
- return (t = oSe(t)) in e ? Object.defineProperty(e, t, {
+function oSe(e, t, n) {
+ return (t = sSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oSe(e) {
- var t = sSe(e, "string");
+function sSe(e) {
+ var t = cSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sSe(e, t) {
+function cSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60339,17 +60416,17 @@ function sSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cSe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var lSe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, lSe = new Set(Object.values(BY));
-function uSe(e) {
- return lSe.has(e);
+} }), {}) }, uSe = new Set(Object.values(BY));
+function dSe(e) {
+ return uSe.has(e);
}
-var e2 = HU({
+var e2 = UU({
name: "zIndex",
- initialState: cSe,
+ initialState: lSe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -60360,47 +60437,47 @@ var e2 = HU({
panoramaElement: void 0
};
},
- prepare: DU()
+ prepare: OU()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !uSe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !dSe(n) && delete e.zIndexMap[n]);
},
- prepare: DU()
+ prepare: OU()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hq(r) : e.zIndexMap[n].element = hq(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = gq(r) : e.zIndexMap[n].element = gq(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : hq(r),
- panoramaElement: i ? hq(r) : void 0
+ element: i ? void 0 : gq(r),
+ panoramaElement: i ? gq(r) : void 0
};
},
- prepare: DU()
+ prepare: OU()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { registerZIndexPortal: dSe, unregisterZIndexPortal: fSe, registerZIndexPortalElement: pSe, unregisterZIndexPortalElement: mSe } = e2.actions, hSe = e2.reducer;
+}), { registerZIndexPortal: fSe, unregisterZIndexPortal: pSe, registerZIndexPortalElement: mSe, unregisterZIndexPortalElement: hSe } = e2.actions, gSe = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
- var { zIndex: t, children: n } = e, r = vK() && t !== void 0 && t !== 0, i = NG(), a = iV();
- (0, I.useLayoutEffect)(() => r ? (a(dSe({ zIndex: t })), () => {
- a(fSe({ zIndex: t }));
- }) : xB, [
+ var { zIndex: t, children: n } = e, r = yK() && t !== void 0 && t !== 0, i = PG(), a = sV();
+ (0, I.useLayoutEffect)(() => r ? (a(fSe({ zIndex: t })), () => {
+ a(pSe({ zIndex: t }));
+ }) : wB, [
a,
t,
r
]);
- var o = Q((e) => rSe(e, t, i));
+ var o = Q((e) => iSe(e, t, i));
return r ? o ? /*#__PURE__*/ (0, Yh.createPortal)(n, o) : null : n;
}
//#endregion
@@ -60428,26 +60505,26 @@ function i2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r2(Object(n), !0).forEach(function(t) {
- gSe(e, t, n[t]);
+ _Se(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gSe(e, t, n) {
- return (t = _Se(t)) in e ? Object.defineProperty(e, t, {
+function _Se(e, t, n) {
+ return (t = vSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Se(e) {
- var t = vSe(e, "string");
+function vSe(e) {
+ var t = ySe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vSe(e, t) {
+function ySe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60457,17 +60534,17 @@ function vSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ySe(e) {
+function bSe(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 bSe(e) {
+function xSe(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 = yge, h = BY.cursorLine;
- else if (l === "BarChart") p = bge(o, u, i, a), m = eY, h = BY.cursorRectangle;
- else if (o === "radial" && DB(u)) {
+ if (l === "ScatterChart") p = u, m = bge, h = BY.cursorLine;
+ else if (l === "BarChart") p = xge(o, u, i, a), m = eY, h = BY.cursorRectangle;
+ else if (o === "radial" && AB(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = oY(u);
p = {
cx: g,
@@ -60477,24 +60554,24 @@ function bSe(e) {
innerRadius: v,
outerRadius: v
}, m = dY, h = BY.cursorLine;
- } else p = { points: E_e(o, u, i) }, m = DJ, h = BY.cursorLine;
+ } else p = { points: D_e(o, u, i) }, m = DJ, h = BY.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), nz(s)), {}, {
+ }, i), p), az(s)), {}, {
payload: d,
payloadIndex: f,
className: bh("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(ySe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(bSe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function xSe(e) {
- var t = Hxe(), n = lK(), r = mK(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(bSe, n2({}, e, {
+function SSe(e) {
+ var t = Uxe(), n = uK(), r = hK(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(xSe, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -60503,7 +60580,7 @@ function xSe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.useContext)(a2), CSe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
+var a2 = /*#__PURE__*/ (0, I.createContext)(null), CSe = () => (0, I.useContext)(a2), wSe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -60590,12 +60667,12 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (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, o2 = new CSe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new wSe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!uB(n)) return e[n];
+ if (!pB(n)) return e[n];
}
-}, u2 = HU({
+}, u2 = UU({
name: "options",
initialState: {
chartName: "",
@@ -60606,13 +60683,13 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), wSe = u2.reducer, { createEventEmitter: TSe } = u2.actions;
+}), TSe = u2.reducer, { createEventEmitter: ESe } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function ESe(e) {
+function DSe(e) {
return e.tooltip.syncInteraction;
}
-var d2 = HU({
+var d2 = UU({
name: "chartData",
initialState: {
chartData: void 0,
@@ -60622,7 +60699,7 @@ var d2 = HU({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = hq(t.payload), t.payload == null) {
+ if (e.chartData = gq(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -60636,7 +60713,7 @@ var d2 = HU({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: DSe, setComputedData: OSe } = d2.actions, kSe = d2.reducer, ASe = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: OSe, setComputedData: kSe } = d2.actions, ASe = d2.reducer, jSe = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60651,26 +60728,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- jSe(e, t, n[t]);
+ MSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jSe(e, t, n) {
- return (t = MSe(t)) in e ? Object.defineProperty(e, t, {
+function MSe(e, t, n) {
+ return (t = NSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MSe(e) {
- var t = NSe(e, "string");
+function NSe(e) {
+ var t = PSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NSe(e, t) {
+function PSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60680,16 +60757,16 @@ function NSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PSe(e, t) {
+function FSe(e, t) {
if (e == null) return {};
- var n, r, i = FSe(e, t);
+ var n, r, i = ISe(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 FSe(e, t) {
+function ISe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60698,16 +60775,16 @@ function FSe(e, t) {
}
return n;
}
-function ISe() {
- var e = Q(LY), t = Q(zY), n = iV(), r = Q(RY), i = Q(k0), a = mK(), o = sK(), s = Q((e) => e.rootProps.className);
+function LSe() {
+ var e = Q(LY), t = Q(zY), n = sV(), r = Q(RY), i = Q(k0), a = hK(), o = cK(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return xB;
+ if (e == null) return wB;
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 = PSe(d, ASe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = FSe(d, jSe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -60768,12 +60845,12 @@ function ISe() {
o
]);
}
-function LSe() {
- var e = Q(LY), t = Q(zY), n = iV();
+function RSe() {
+ var e = Q(LY), t = Q(zY), n = sV();
(0, I.useEffect)(() => {
- if (e == null) return xB;
+ if (e == null) return wB;
var r = (r, i, a) => {
- t !== a && e === r && n(DSe(i));
+ t !== a && e === r && n(OSe(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -60784,14 +60861,14 @@ function LSe() {
e
]);
}
-function RSe() {
- var e = iV();
+function zSe() {
+ var e = sV();
(0, I.useEffect)(() => {
- e(TSe());
- }, [e]), ISe(), LSe();
+ e(ESe());
+ }, [e]), LSe(), RSe();
}
-function zSe(e, t, n, r, i, a) {
- var o = Q((n) => Xxe(n, e, t)), s = Q(Pxe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(ESe)?.active, f = sK();
+function BSe(e, t, n, r, i, a) {
+ var o = Q((n) => Zxe(n, e, t)), s = Q(Fxe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(DSe)?.active, f = cK();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -60835,26 +60912,26 @@ function g2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h2(Object(n), !0).forEach(function(t) {
- BSe(e, t, n[t]);
+ VSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BSe(e, t, n) {
- return (t = VSe(t)) in e ? Object.defineProperty(e, t, {
+function VSe(e, t, n) {
+ return (t = HSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VSe(e) {
- var t = HSe(e, "string");
+function HSe(e) {
+ var t = USe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HSe(e, t) {
+function USe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60864,13 +60941,13 @@ function HSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function USe(e) {
+function WSe(e) {
return e.dataKey;
}
-function WSe(e, t) {
- return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Yhe, t);
+function GSe(e, t) {
+ return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Xhe, t);
}
-var _2 = [], GSe = {
+var _2 = [], KSe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -60896,10 +60973,10 @@ var _2 = [], GSe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function KSe(e) {
- var t = jB(e, GSe), { 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 = iV(), S = typeof v == "number" ? String(v) : v;
+function qSe(e) {
+ var t = PB(e, KSe), { 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 = sV(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(oxe({
+ x(sxe({
shared: g,
trigger: _,
axisId: b,
@@ -60914,12 +60991,12 @@ function KSe(e) {
n,
S
]);
- var C = sK(), w = _J(), T = txe(g), { activeIndex: E, isActive: D } = Q((e) => $xe(e, T, _, S)) ?? {}, O = Q((e) => Qxe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Zxe(e, T, _, S)), j = O, M = SSe(), N = n ?? D ?? !1, [ee, te] = IV([j, N]), P = T === "axis" ? k : void 0;
- zSe(T, _, A, P, E, N);
+ var C = cK(), w = _J(), T = nxe(g), { activeIndex: E, isActive: D } = Q((e) => eSe(e, T, _, S)) ?? {}, O = Q((e) => $xe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Qxe(e, T, _, S)), j = O, M = CSe(), N = n ?? D ?? !1, [ee, te] = LV([j, N]), P = T === "axis" ? k : void 0;
+ BSe(T, _, A, P, E, N);
var ne = y ?? M;
if (ne == null || C == null || T == null) return null;
var F = j ?? _2;
- N || (F = _2), s && F.length && (F = nV(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, USe));
+ N || (F = _2), s && F.length && (F = aV(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, WSe));
var re = F.length > 0, ie = g2(g2({}, t), {}, {
payload: F,
label: P,
@@ -60927,7 +61004,7 @@ function KSe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ I.createElement(age, {
+ }), ae = /*#__PURE__*/ I.createElement(oge, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -60944,8 +61021,8 @@ function KSe(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, WSe(o, ie));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Yh.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(xSe, {
+ }, GSe(o, ie));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Yh.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(SSe, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -60959,19 +61036,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function qSe(e, t, n) {
- return (t = JSe(t)) in e ? Object.defineProperty(e, t, {
+function JSe(e, t, n) {
+ return (t = YSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JSe(e) {
- var t = YSe(e, "string");
+function YSe(e) {
+ var t = XSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YSe(e, t) {
+function XSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60981,9 +61058,9 @@ function YSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XSe = class {
+var ZSe = class {
constructor(e) {
- qSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ JSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -61016,30 +61093,30 @@ function y2(e, t) {
}
return n;
}
-function ZSe(e) {
+function QSe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y2(Object(n), !0).forEach(function(t) {
- QSe(e, t, n[t]);
+ $Se(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QSe(e, t, n) {
- return (t = $Se(t)) in e ? Object.defineProperty(e, t, {
+function $Se(e, t, n) {
+ return (t = eCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Se(e) {
- var t = eCe(e, "string");
+function eCe(e) {
+ var t = tCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eCe(e, t) {
+function tCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61049,10 +61126,10 @@ function eCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = ZSe({}, {
+var b2 = QSe({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new XSe(b2.cacheSize), tCe = {
+}), x2 = new ZSe(b2.cacheSize), nCe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -61061,13 +61138,13 @@ var b2 = ZSe({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function nCe(e, t) {
+function rCe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var C2 = (e, t) => {
try {
var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, tCe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, nCe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -61086,24 +61163,24 @@ var C2 = (e, t) => {
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = nCe(e, t), r = x2.get(n);
+ var n = rCe(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function rCe(e, t, n) {
- return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
+function iCe(e, t, n) {
+ return (t = aCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iCe(e) {
- var t = aCe(e, "string");
+function aCe(e) {
+ var t = oCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aCe(e, t) {
+function oCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61113,7 +61190,7 @@ function aCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, oCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, sCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, cCe = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, sCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, cCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, lCe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -61121,7 +61198,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, lCe = [
+}, uCe = [
"cm",
"mm",
"pt",
@@ -61130,20 +61207,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function uCe(e) {
- return lCe.includes(e);
+function dCe(e) {
+ return uCe.includes(e);
}
var O2 = "NaN";
-function dCe(e, t) {
- return e * cCe[t];
+function fCe(e, t) {
+ return e * lCe[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = sCe.exec(t) ?? [];
+ var [, n, r] = cCe.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, uB(e) && (this.unit = ""), t !== "" && !oCe.test(t) && (this.num = NaN, this.unit = ""), uCe(t) && (this.num = dCe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, pB(e) && (this.unit = ""), t !== "" && !sCe.test(t) && (this.num = NaN, this.unit = ""), dCe(t) && (this.num = fCe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -61161,10 +61238,10 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return uB(this.num);
+ return pB(this.num);
}
};
-T2 = k2, rCe(k2, "NaN", new T2(NaN, ""));
+T2 = k2, iCe(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -61180,31 +61257,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function fCe(e) {
+function pCe(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function pCe(e) {
+function mCe(e) {
var t = e.replace(/\s+/g, "");
- return t = fCe(t), t = A2(t), t;
+ return t = pCe(t), t = A2(t), t;
}
-function mCe(e) {
+function hCe(e) {
try {
- return pCe(e);
+ return mCe(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = mCe(e.slice(5, -1));
+ var t = hCe(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var hCe = [
+var gCe = [
"x",
"y",
"lineHeight",
@@ -61213,7 +61290,7 @@ var hCe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], gCe = [
+], _Ce = [
"dx",
"dy",
"angle",
@@ -61231,14 +61308,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = _Ce(e, t);
+ var n, r, i = vCe(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 _Ce(e, t) {
+function vCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61251,7 +61328,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return vB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return xB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: w2(e, r).width
@@ -61265,8 +61342,8 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
function L2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function vCe(e) {
- return vB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function yCe(e) {
+ return xB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -61279,16 +61356,16 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), yCe = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), bCe = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + yCe
+ children: e.slice(0, t) + bCe
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, bCe = (e, t, n, r, i) => {
+}, xCe = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -61301,9 +61378,9 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, V2 = (e) => [{
- words: vB(e) ? [] : e.toString().split(F2),
+ words: xB(e) ? [] : e.toString().split(F2),
width: void 0
-}], xCe = (e) => {
+}], SCe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !pJ.isSsr) {
var s, c, l = I2({
@@ -61315,7 +61392,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return V2(r);
- return bCe({
+ return xCe({
breakAll: a,
children: r,
maxLines: o,
@@ -61323,7 +61400,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", SCe = {
+}, H2 = "#808080", CCe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -61335,7 +61412,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = jB(e, SCe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, hCe), f = (0, I.useMemo)(() => xCe({
+ var n = PB(e, CCe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, gCe), f = (0, I.useMemo)(() => SCe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -61349,10 +61426,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, gCe);
- if (!fB(r) || !fB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, _Ce);
+ if (!hB(r) || !hB(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!LW(y) || !LW(b)) return null;
+ if (!RW(y) || !RW(b)) return null;
var x;
switch (u) {
case "start":
@@ -61368,7 +61445,7 @@ var R2 = (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", N2({}, rz(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, oz(v), {
ref: t,
x: y,
y: b,
@@ -61401,26 +61478,26 @@ function G2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? W2(Object(n), !0).forEach(function(t) {
- CCe(e, t, n[t]);
+ wCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CCe(e, t, n) {
- return (t = wCe(t)) in e ? Object.defineProperty(e, t, {
+function wCe(e, t, n) {
+ return (t = TCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wCe(e) {
- var t = TCe(e, "string");
+function TCe(e) {
+ var t = ECe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TCe(e, t) {
+function ECe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61430,8 +61507,8 @@ function TCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ECe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = oK(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;
+var DCe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = sK(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 = {
x: d + l / 2,
@@ -61512,9 +61589,9 @@ var ECe = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || dB(n.x)) && (Z(n.y) || dB(n.y)) ? G2({
- x: o + mB(n.x, m),
- y: s + mB(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || mB(n.x)) && (Z(n.y) || mB(n.y)) ? G2({
+ x: o + _B(n.x, m),
+ y: s + _B(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : G2({
@@ -61523,17 +61600,17 @@ var ECe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, DCe = ["labelRef"], OCe = ["content"];
+}, OCe = ["labelRef"], kCe = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = kCe(e, t);
+ var n, r, i = ACe(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 kCe(e, t) {
+function ACe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61556,26 +61633,26 @@ function J2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q2(Object(n), !0).forEach(function(t) {
- ACe(e, t, n[t]);
+ jCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ACe(e, t, n) {
- return (t = jCe(t)) in e ? Object.defineProperty(e, t, {
+function jCe(e, t, n) {
+ return (t = MCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jCe(e) {
- var t = MCe(e, "string");
+function MCe(e) {
+ var t = NCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MCe(e, t) {
+function NCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61612,9 +61689,9 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ I.createElement(X2.Provider, { value: c }, s);
}, Q2 = () => {
- var e = (0, I.useContext)(X2), t = sK();
- return e || (t ? oK(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, I.createContext)(null), NCe = (e) => {
+ var e = (0, I.useContext)(X2), t = cK();
+ return e || (t ? sK(t) : void 0);
+}, $2 = /*#__PURE__*/ (0, I.createContext)(null), PCe = (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,
@@ -61636,11 +61713,11 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
}, e4 = () => {
var e = (0, I.useContext)($2), t = Q(rX);
return e || t;
-}, PCe = (e) => {
- var { value: t, formatter: n } = e, r = vB(e.children) ? t : e.children;
+}, FCe = (e) => {
+ var { value: t, formatter: n } = e, r = xB(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", FCe = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 360), ICe = (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 = FCe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", ICe = (e, t) => fB(t - e) * Math.min(Math.abs(t - e), 360), LCe = (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 = ICe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -61656,7 +61733,7 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
v = h <= 0 ? v : !v;
var y = aY(s, c, m, _), b = aY(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = vB(e.id) ? pB("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = xB(e.id) ? gB("recharts-radial-line-") : e.id;
return /*#__PURE__*/ I.createElement("text", Y2({}, r, {
dominantBaseline: "central",
className: bh("recharts-radial-bar-label", o)
@@ -61664,7 +61741,7 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, LCe = (e, t, n) => {
+}, RCe = (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 } = aY(r, i, o + t, l);
@@ -61700,14 +61777,14 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), RCe = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), zCe = {
angle: 0,
offset: 5,
zIndex: BY.label,
position: "middle",
textBreakAll: !1
};
-function zCe(e) {
+function BCe(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -61720,24 +61797,24 @@ function zCe(e) {
};
}
function r4(e) {
- var t = jB(e, RCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : oK(n), m, h, g = zCe(p);
- if (!p || vB(a) && vB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var t = PB(e, zCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : sK(n), m, h, g = BCe(p);
+ if (!p || xB(a) && xB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, DCe);
+ var { labelRef: v } = _, y = K2(_, OCe);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, OCe);
+ var { content: b } = _, x = K2(_, kCe);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = PCe(t);
- var S = rz(t);
+ } else m = FCe(t);
+ var S = oz(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return ICe(t, i, m, S, p);
- h = LCe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return LCe(t, i, m, S, p);
+ h = RCe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = ECe({
+ var C = DCe({
viewBox: g,
position: i,
offset: t.offset,
@@ -61766,7 +61843,7 @@ var i4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : fB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : hB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, I.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(r4, Y2({
@@ -61781,13 +61858,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function BCe(e) {
+function VCe(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var VCe = ["valueAccessor"], HCe = [
+var HCe = ["valueAccessor"], UCe = [
"dataKey",
"clockWise",
"id",
@@ -61805,14 +61882,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = UCe(e, t);
+ var n, r, i = WCe(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 UCe(e, t) {
+function WCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61821,21 +61898,21 @@ function UCe(e, t) {
}
return n;
}
-var WCe = (e) => {
+var GCe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (vCe(t)) return t;
-}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), GCe = u4.Provider;
-function KCe() {
+ if (yCe(t)) return t;
+}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), KCe = u4.Provider;
+function qCe() {
return (0, I.useContext)(c4);
}
-function qCe() {
+function JCe() {
return (0, I.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = WCe } = e, n = s4(e, VCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, HCe), l = KCe(), u = qCe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement(sz, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = vB(r) ? t(e, i) : WW(e.payload, r), l = vB(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, rz(e), c, l, {
+ var { valueAccessor: t = GCe } = e, n = s4(e, HCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, UCe), l = qCe(), u = JCe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement(uz, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = xB(r) ? t(e, i) : GW(e.payload, r), l = xB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, oz(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -61856,12 +61933,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var JCe = [
+var YCe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], YCe;
+], XCe;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61871,16 +61948,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function XCe(e, t) {
+function ZCe(e, t) {
if (e == null) return {};
- var n, r, i = ZCe(e, t);
+ var n, r, i = QCe(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 ZCe(e, t) {
+function QCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61889,10 +61966,10 @@ function ZCe(e, t) {
}
return n;
}
-function QCe(e, t) {
+function $Ce(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, ewe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -61903,9 +61980,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = $Ce(e);
+ var n = ewe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => cB(YCe ||= QCe([
+ var r = n.map((e) => e.reduce((e, t, n) => dB(XCe ||= $Ce([
"",
"",
"",
@@ -61913,29 +61990,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, ewe = (e, t, n) => {
+}, twe = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = XCe(e, JCe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = ZCe(e, YCe);
if (!t || !t.length) return null;
var o = bh("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = ewe(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
+ var s = a.stroke && a.stroke !== "none", c = twe(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: "none",
d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: "none",
d: h4(r, i)
})) : null);
}
var l = h4(t, i);
- return /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
+ return /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -61954,7 +62031,7 @@ function _4() {
}
var v4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = bh("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, tz(e), OB(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, iz(e), jB(e), {
className: a,
cx: t,
cy: n,
@@ -61974,18 +62051,18 @@ $([
R$,
b4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: WW(e, t.dataKey ?? n.dataKey),
+ value: GW(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: WW(e, t.dataKey),
+ value: GW(e, t.dataKey),
errorDomain: []
})));
var C4 = () => void 0, w4 = $([
R$,
- pK,
+ mK,
x4,
S4,
PY,
@@ -62003,14 +62080,14 @@ var C4 = () => void 0, w4 = $([
iX
], f1),
C4,
- pK,
+ mK,
iX
], b1)
], x1), T4 = $([
w4,
z$,
C1
-], w1), twe = $([C1, $([
+], w1), nwe = $([C1, $([
R$,
w4,
T4,
@@ -62023,22 +62100,22 @@ var C4 = () => void 0, w4 = $([
}
}, D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return P_e(e, n);
- case "radiusAxis": return F_e(e, n);
+ case "angleAxis": return F_e(e, n);
+ case "radiusAxis": return I_e(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, O4 = $([$([
E4,
C1,
- twe,
+ nwe,
D4
], T$)], pX), k4 = $([
- pK,
+ mK,
S4,
z$,
iX
], j1), A4 = $([
- pK,
+ mK,
E4,
C1,
O4,
@@ -62047,7 +62124,7 @@ var C4 = () => void 0, w4 = $([
H1,
k4,
iX
-], W1), nwe = $([A4], (e) => {
+], W1), rwe = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -62055,19 +62132,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), rwe = $([
- pK,
+}), iwe = $([
+ mK,
E4,
O4,
D4,
H1,
k4,
iX
-], K1), iwe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+], K1), awe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), awe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), owe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), owe = [
+}), swe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -62080,16 +62157,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function swe(e, t) {
+function cwe(e, t) {
if (e == null) return {};
- var n, r, i = cwe(e, t);
+ var n, r, i = lwe(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 cwe(e, t) {
+function lwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62121,26 +62198,26 @@ function N4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M4(Object(n), !0).forEach(function(t) {
- lwe(e, t, n[t]);
+ uwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lwe(e, t, n) {
- return (t = uwe(t)) in e ? Object.defineProperty(e, t, {
+function uwe(e, t, n) {
+ return (t = dwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uwe(e) {
- var t = dwe(e, "string");
+function dwe(e) {
+ var t = fwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dwe(e, t) {
+function fwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62150,16 +62227,16 @@ function dwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fwe = (e, t, n, r) => {
+var pwe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = aY(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, pwe = (e) => {
+}, mwe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = N4({ stroke: "#ccc" }, tz(e));
+ var s = N4({ stroke: "#ccc" }, iz(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = aY(t, n, r, e), o = aY(t, n, i, e);
return /*#__PURE__*/ I.createElement("line", j4({ key: `line-${e}` }, s, {
@@ -62173,7 +62250,7 @@ var fwe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = N4({
stroke: "#ccc",
fill: "none"
- }, tz(e));
+ }, iz(e));
return /*#__PURE__*/ I.createElement("circle", j4({}, i, {
className: bh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -62184,12 +62261,12 @@ var fwe = (e, t, n, r) => {
var { radius: t } = e, n = N4({
stroke: "#ccc",
fill: "none"
- }, tz(e));
+ }, iz(e));
return /*#__PURE__*/ I.createElement("path", j4({}, n, {
className: bh("recharts-polar-grid-concentric-polygon", e.className),
- d: fwe(t, e.cx, e.cy, e.polarAngles)
+ d: pwe(t, e.cx, e.cy, e.polarAngles)
}));
-}, mwe = (e) => {
+}, hwe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -62203,14 +62280,14 @@ var fwe = (e, t, n, r) => {
radius: t
}));
}));
-}, hwe = {
+}, gwe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: BY.grid
}, I4 = (e) => {
- var t = jB(e, hwe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = swe(t, owe), m = Q(rX), h = Q((e) => iwe(e, i)), g = Q((e) => awe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = PB(e, gwe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = cwe(t, swe), m = Q(rX), h = Q((e) => awe(e, i)), g = Q((e) => owe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -62221,13 +62298,13 @@ var fwe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(mwe, j4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(hwe, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(pwe, j4({
+ })), /*#__PURE__*/ I.createElement(mwe, j4({
gridType: n,
radialLines: r
}, y, {
@@ -62243,11 +62320,11 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function gwe(e, t = IB) {
+function _we(e, t = zB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = eV(t), i, a;
+ let r = rV(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);
@@ -62256,11 +62333,11 @@ function gwe(e, t = IB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function _we(e, t = IB) {
+function vwe(e, t = zB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = eV(t), i, a;
+ let r = rV(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);
@@ -62269,7 +62346,7 @@ function _we(e, t = IB) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = HU({
+var R4 = UU({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -62277,19 +62354,19 @@ var R4 = HU({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = hq(t.payload);
+ e.radiusAxis[t.payload.id] = gq(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = hq(t.payload);
+ e.angleAxis[t.payload.id] = gq(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: vwe, removeRadiusAxis: ywe, addAngleAxis: bwe, removeAngleAxis: xwe } = R4.actions, Swe = R4.reducer;
+}), { addRadiusAxis: ywe, removeRadiusAxis: bwe, addAngleAxis: xwe, removeAngleAxis: Swe } = R4.actions, Cwe = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function z4(e) {
@@ -62297,12 +62374,12 @@ function z4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Cwe = ["type"], wwe = [
+var wwe = ["type"], Twe = [
"cx",
"cy",
"angle",
"axisLine"
-], Twe = [
+], Ewe = [
"angle",
"tickFormatter",
"stroke",
@@ -62331,26 +62408,26 @@ function H4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V4(Object(n), !0).forEach(function(t) {
- Ewe(e, t, n[t]);
+ Dwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ewe(e, t, n) {
- return (t = Dwe(t)) in e ? Object.defineProperty(e, t, {
+function Dwe(e, t, n) {
+ return (t = Owe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dwe(e) {
- var t = Owe(e, "string");
+function Owe(e) {
+ var t = kwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Owe(e, t) {
+function kwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62362,14 +62439,14 @@ function Owe(e, t) {
}
function U4(e, t) {
if (e == null) return {};
- var n, r, i = kwe(e, t);
+ var n, r, i = Awe(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 kwe(e, t) {
+function Awe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62378,20 +62455,20 @@ function kwe(e, t) {
}
return n;
}
-var Awe = "radiusAxis";
-function jwe(e) {
- var t = iV(), n = _K(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = U4(e, Cwe), i = WY(n, "radiusAxis", t);
+var jwe = "radiusAxis";
+function Mwe(e) {
+ var t = sV(), n = vK(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = U4(e, wwe), i = WY(n, "radiusAxis", t);
if (i != null) return H4(H4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? xB : (t(vwe(r)), () => {
- t(ywe(r));
+ return (0, I.useEffect)(() => r == null ? wB : (t(ywe(r)), () => {
+ t(bwe(r));
}), [t, r]), null;
}
-var Mwe = (e, t, n, r) => {
+var Nwe = (e, t, n, r) => {
var { coordinate: i } = e;
return aY(n, r, i, t);
-}, Nwe = (e) => {
+}, Pwe = (e) => {
var t;
switch (e) {
case "left":
@@ -62403,49 +62480,49 @@ var Mwe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Pwe = (e, t, n, r) => {
- var i = gwe(r, (e) => e.coordinate || 0);
+}, Fwe = (e, t, n, r) => {
+ var i = _we(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: _we(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: vwe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, Fwe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, wwe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, tz(o)), {}, { fill: "none" }, tz(a)), {}, {
+}, Iwe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, Twe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, iz(o)), {}, { fill: "none" }, iz(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, Iwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Lwe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Twe), s = Nwe(e.orientation), c = tz(o), l = nz(a), u = t.map((t, o) => {
- var u = Mwe(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+}, Lwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Rwe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Ewe), s = Pwe(e.orientation), c = iz(o), l = az(a), u = t.map((t, o) => {
+ var u = Nwe(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
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(sz, B4({
+ return /*#__PURE__*/ I.createElement(uz, B4({
className: bh("recharts-polar-radius-axis-tick", z4(a)),
key: `tick-${t.coordinate}`
- }, kB(e, t, o)), Iwe(a, d, r ? r(t.value, o) : t.value));
+ }, MB(e, t, o)), Lwe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement(sz, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, Rwe = (e) => {
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, zwe = (e) => {
var { radiusAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-polar-radius-axis", Awe, a.className) }, s && Fwe(a, i), o && Lwe(a, i), /*#__PURE__*/ I.createElement(NCe, Pwe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(BCe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-polar-radius-axis", jwe, a.className) }, s && Iwe(a, i), o && Rwe(a, i), /*#__PURE__*/ I.createElement(PCe, Fwe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(VCe, { label: a.label }), a.children)));
};
function W4(e) {
- var t = jB(e, HY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jwe, {
+ var t = PB(e, HY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Mwe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -62462,12 +62539,12 @@ function W4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(Rwe, t));
+ }), /*#__PURE__*/ I.createElement(zwe, t));
}
W4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var zwe = ["children", "type"], Bwe = ["ref"];
+var Bwe = ["children", "type"], Vwe = ["ref"];
function G4() {
return G4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62491,26 +62568,26 @@ function q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K4(Object(n), !0).forEach(function(t) {
- Vwe(e, t, n[t]);
+ Hwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vwe(e, t, n) {
- return (t = Hwe(t)) in e ? Object.defineProperty(e, t, {
+function Hwe(e, t, n) {
+ return (t = Uwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hwe(e) {
- var t = Uwe(e, "string");
+function Uwe(e) {
+ var t = Wwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uwe(e, t) {
+function Wwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62522,14 +62599,14 @@ function Uwe(e, t) {
}
function J4(e, t) {
if (e == null) return {};
- var n, r, i = Wwe(e, t);
+ var n, r, i = Gwe(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 Gwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62538,17 +62615,17 @@ function Wwe(e, t) {
}
return n;
}
-var Y4 = 1e-5, Gwe = Math.cos(iY(45)), Kwe = "angleAxis";
-function qwe(e) {
- var t = iV(), n = _K(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, zwe), a = WY(n, "angleAxis", r);
+var Y4 = 1e-5, Kwe = Math.cos(iY(45)), qwe = "angleAxis";
+function Jwe(e) {
+ var t = sV(), n = vK(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = J4(e, Bwe), a = WY(n, "angleAxis", r);
if (a != null) return q4(q4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => YY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? xB : (t(bwe(r)), () => {
- t(xwe(r));
+ return (0, I.useEffect)(() => r == null ? wB : (t(xwe(r)), () => {
+ t(Swe(r));
}), [t, r]), i ? e.children : null;
}
-var Jwe = (e, t) => {
+var Ywe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = aY(n, r, i, e.coordinate), l = aY(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -62556,16 +62633,16 @@ var Jwe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, Ywe = (e, t) => {
+}, Xwe = (e, t) => {
var n = Math.cos(iY(-e.coordinate));
return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
-}, Xwe = (e) => {
- var t = Math.cos(iY(-e.coordinate)), n = Math.sin(iY(-e.coordinate));
- return Math.abs(t) <= Gwe ? n > 0 ? "start" : "end" : "middle";
}, Zwe = (e) => {
+ var t = Math.cos(iY(-e.coordinate)), n = Math.sin(iY(-e.coordinate));
+ return Math.abs(t) <= Kwe ? n > 0 ? "start" : "end" : "middle";
+}, Qwe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = q4(q4({}, tz(e)), {}, { fill: "none" }, tz(a));
+ var s = q4(q4({}, iz(e)), {}, { fill: "none" }, iz(a));
if (i === "circle") return /*#__PURE__*/ I.createElement(v4, G4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -62573,12 +62650,12 @@ var Jwe = (e, t) => {
}));
var c = o.map((e) => aY(t, n, r, e.coordinate));
return /*#__PURE__*/ I.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Qwe = (e) => {
+}, $we = (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(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, $we = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = tz(e), { ref: s } = o, c = J4(o, Bwe), l = nz(t), u = q4(q4({}, c), {}, { fill: "none" }, tz(n)), d = a.map((a, o) => {
- var s = Jwe(a, e), d = Ywe(a, e.orientation), f = Xwe(a), p = q4(q4(q4({}, c), {}, {
+}, eTe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = iz(e), { ref: s } = o, c = J4(o, Vwe), l = az(t), u = q4(q4({}, c), {}, { fill: "none" }, iz(n)), d = a.map((a, o) => {
+ var s = Ywe(a, e), d = Xwe(a, e.orientation), f = Zwe(a), p = q4(q4(q4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -62589,28 +62666,28 @@ var Jwe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement(sz, G4({
+ return /*#__PURE__*/ I.createElement(uz, G4({
className: bh("recharts-polar-angle-axis-tick", z4(t)),
key: `tick-${a.coordinate}`
- }, kB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Qwe, {
+ }, MB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement($we, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement(sz, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, eTe = (e) => {
- var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = NG(), a = Q((e) => nwe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, tTe = (e) => {
+ var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = PG(), a = Q((e) => rwe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-polar-angle-axis", Kwe, o.className) }, /*#__PURE__*/ I.createElement(Zwe, o), /*#__PURE__*/ I.createElement($we, o)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-polar-angle-axis", qwe, o.className) }, /*#__PURE__*/ I.createElement(Qwe, o), /*#__PURE__*/ I.createElement(eTe, o)));
};
function X4(e) {
- var t = jB(e, VY);
- return /*#__PURE__*/ I.createElement(qwe, {
+ var t = PB(e, VY);
+ return /*#__PURE__*/ I.createElement(Jwe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -62627,12 +62704,12 @@ function X4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(eTe, t));
+ }, /*#__PURE__*/ I.createElement(tTe, t));
}
X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var tTe = /* @__PURE__ */ F(((e) => {
+var nTe = /* @__PURE__ */ F(((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) {
@@ -62661,26 +62738,26 @@ var tTe = /* @__PURE__ */ F(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), nTe = (/* @__PURE__ */ F(((e, t) => {
- t.exports = tTe();
+})), rTe = (/* @__PURE__ */ F(((e, t) => {
+ t.exports = nTe();
})))(), Z4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Q4 = null, $4 = null, e3 = (e) => {
if (e === Q4 && Array.isArray($4)) return $4;
var t = [];
return I.Children.forEach(e, (e) => {
- vB(e) || ((0, nTe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
+ xB(e) || ((0, rTe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
}), $4 = t, Q4 = e, t;
};
function t3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Z4(e)) : [Z4(t)], e3(e).forEach((e) => {
- var t = oB(e, "type.displayName") || oB(e, "type.name");
+ var t = lB(e, "type.displayName") || lB(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function rTe(e) {
+function iTe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -62693,7 +62770,7 @@ function rTe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var iTe, aTe, oTe, sTe, cTe;
+var aTe, oTe, sTe, cTe, lTe;
function r3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62708,26 +62785,26 @@ function i3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r3(Object(n), !0).forEach(function(t) {
- lTe(e, t, n[t]);
+ uTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lTe(e, t, n) {
- return (t = uTe(t)) in e ? Object.defineProperty(e, t, {
+function uTe(e, t, n) {
+ return (t = dTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uTe(e) {
- var t = dTe(e, "string");
+function dTe(e) {
+ var t = fTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dTe(e, t) {
+function fTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62750,29 +62827,29 @@ function o3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var s3 = (e, t, n, r, i) => {
- var a = n - r, o = cB(iTe ||= o3([
+ var a = n - r, o = dB(aTe ||= o3([
"M ",
",",
""
]), e, t);
- return o += cB(aTe ||= o3([
+ return o += dB(oTe ||= o3([
"L ",
",",
""
- ]), e + n, t), o += cB(oTe ||= o3([
+ ]), e + n, t), o += dB(sTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += cB(sTe ||= o3([
+ ]), e + n - a / 2, t + i), o += dB(cTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += cB(cTe ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += dB(lTe ||= o3([
"L ",
",",
" Z"
]), e, t), o;
-}, fTe = {
+}, pTe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -62782,8 +62859,8 @@ var s3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, pTe = (e) => {
- var t = jB(e, fTe), { 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 = KJ(e, "trapezoid-");
+}, mTe = (e) => {
+ var t = PB(e, pTe), { 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 = KJ(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -62791,7 +62868,7 @@ var s3 = (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 = bh("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, rz(t), {
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, oz(t), {
className: x,
d: s3(n, r, i, a, o)
})));
@@ -62805,35 +62882,35 @@ var s3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = gB(S, i, e), c = gB(C, a, e), l = gB(w, o, e), u = gB(T, n, e), d = gB(E, r, e);
+ var s = yB(S, i, e), c = yB(C, a, e), l = yB(w, o, e), u = yB(T, n, e), d = yB(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", a3({}, rz(t), {
+ return /*#__PURE__*/ I.createElement("path", a3({}, oz(t), {
className: x,
d: s3(u, d, s, c, l),
ref: f,
style: i3(i3({}, p), t.style)
}));
});
-}, mTe = [
+}, hTe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function hTe(e, t) {
+function gTe(e, t) {
if (e == null) return {};
- var n, r, i = gTe(e, t);
+ var n, r, i = _Te(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 _Te(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62856,26 +62933,26 @@ function l3(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) {
- _Te(e, t, n[t]);
+ vTe(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 _Te(e, t, n) {
- return (t = vTe(t)) in e ? Object.defineProperty(e, t, {
+function vTe(e, t, n) {
+ return (t = yTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vTe(e) {
- var t = yTe(e, "string");
+function yTe(e) {
+ var t = bTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yTe(e, t) {
+function bTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62885,34 +62962,34 @@ function yTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bTe(e, t) {
+function xTe(e, t) {
return l3(l3({}, t), e);
}
-function xTe(e, t) {
+function STe(e, t) {
return e === "symbols";
}
function u3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ I.createElement(eY, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(pTe, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(mTe, n);
case "sector": return /*#__PURE__*/ I.createElement(dY, n);
case "symbols":
- if (xTe(t, n)) return /*#__PURE__*/ I.createElement(EB, n);
+ if (STe(t, n)) return /*#__PURE__*/ I.createElement(kB, n);
break;
case "curve": return /*#__PURE__*/ I.createElement(DJ, n);
default: return null;
}
}
-function STe(e) {
+function CTe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function d3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = hTe(e, mTe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), STe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = gTe(e, hTe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), CTe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (rTe(t) && typeof t != "boolean") {
- var s = bTe(t, a);
+ else if (iTe(t) && typeof t != "boolean") {
+ var s = xTe(t, a);
o = /*#__PURE__*/ I.createElement(u3, {
shapeType: n,
elementProps: s
@@ -62924,12 +63001,12 @@ function d3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement(sz, { className: r }, o) : /*#__PURE__*/ I.createElement(sz, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(uz, { className: r }, o) : /*#__PURE__*/ I.createElement(uz, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var f3 = (e, t, n) => {
- var r = iV();
+ var r = sV();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
activeIndex: String(a),
@@ -62939,14 +63016,14 @@ var f3 = (e, t, n) => {
}));
};
}, p3 = (e) => {
- var t = iV();
+ var t = sV();
return (n, r) => (i) => {
- e?.(n, r, i), t(sxe());
+ e?.(n, r, i), t(cxe());
};
}, m3 = (e, t, n) => {
- var r = iV();
+ var r = sV();
return (i, a) => (o) => {
- e?.(i, a, o), r(cxe({
+ e?.(i, a, o), r(lxe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -62957,9 +63034,9 @@ var f3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function h3(e) {
- var { tooltipEntrySettings: t } = e, n = iV(), r = NG(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = sV(), r = PG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(rxe(t)) : i.current !== t && n(ixe({
+ r || (i.current === null ? n(ixe(t)) : i.current !== t && n(axe({
prev: i.current,
next: t
})), i.current = t);
@@ -62968,15 +63045,15 @@ function h3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(axe(i.current)), null);
+ i.current &&= (n(oxe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function g3(e) {
- var { legendPayload: t } = e, n = iV(), r = NG(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = sV(), r = PG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
+ r || (i.current === null ? n(bq(t)) : i.current !== t && n(xq({
prev: i.current,
next: t
})), i.current = t);
@@ -62985,13 +63062,13 @@ function g3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xq(i.current)), null);
+ i.current &&= (n(Sq(i.current)), null);
}, [n]), null;
}
function _3(e) {
- var { legendPayload: t } = e, n = iV(), r = Q(pK), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = sV(), r = Q(mK), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
+ (r === "centric" || r === "radial") && (i.current === null ? n(bq(t)) : i.current !== t && n(xq({
prev: i.current,
next: t
})), i.current = t);
@@ -63000,27 +63077,27 @@ function _3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xq(i.current)), null);
+ i.current &&= (n(Sq(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var CTe = I.useId ?? (() => {
- var [e] = I.useState(() => pB("uid-"));
+var wTe = I.useId ?? (() => {
+ var [e] = I.useState(() => gB("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function wTe(e, t) {
- var n = CTe();
+function TTe(e, t) {
+ var n = wTe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var TTe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
- var { id: t, type: n, children: r } = e, i = wTe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(TTe.Provider, { value: i }, r(i));
-}, y3 = HU({
+var ETe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = TTe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(ETe.Provider, { value: i }, r(i));
+}, y3 = UU({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -63029,79 +63106,79 @@ var TTe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(hq(t.payload));
+ e.cartesianItems.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).cartesianItems.indexOf(hq(n));
- i > -1 && (e.cartesianItems[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).cartesianItems.indexOf(gq(n));
+ i > -1 && (e.cartesianItems[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = pU(e).cartesianItems.indexOf(hq(t.payload));
+ var n = mU(e).cartesianItems.indexOf(gq(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(hq(t.payload));
+ e.polarItems.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = pU(e).polarItems.indexOf(hq(t.payload));
+ var n = mU(e).polarItems.indexOf(gq(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).polarItems.indexOf(hq(n));
- i > -1 && (e.polarItems[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).polarItems.indexOf(gq(n));
+ i > -1 && (e.polarItems[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { addCartesianGraphicalItem: ETe, replaceCartesianGraphicalItem: DTe, removeCartesianGraphicalItem: OTe, addPolarGraphicalItem: kTe, removePolarGraphicalItem: ATe, replacePolarGraphicalItem: jTe } = y3.actions, MTe = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = iV(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: DTe, replaceCartesianGraphicalItem: OTe, removeCartesianGraphicalItem: kTe, addPolarGraphicalItem: ATe, removePolarGraphicalItem: jTe, replacePolarGraphicalItem: MTe } = y3.actions, NTe = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = sV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(ETe(e)) : n.current !== e && t(DTe({
+ n.current === null ? t(DTe(e)) : n.current !== e && t(OTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(OTe(n.current)), null);
+ n.current &&= (t(kTe(n.current)), null);
}, [t]), null;
}), x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = iV(), n = (0, I.useRef)(null);
+ var t = sV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(kTe(e)) : n.current !== e && t(jTe({
+ n.current === null ? t(ATe(e)) : n.current !== e && t(MTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(ATe(n.current)), null);
+ n.current &&= (t(jTe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function NTe(e) {
+function PTe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function PTe(e) {
- if (!(!LB(e) || e.length === 0)) return NTe(L4(e));
+function FTe(e) {
+ if (!(!BB(e) || e.length === 0)) return PTe(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var FTe = ["points"];
+var ITe = ["points"];
function S3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -63116,26 +63193,26 @@ function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S3(Object(n), !0).forEach(function(t) {
- ITe(e, t, n[t]);
+ LTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ITe(e, t, n) {
- return (t = LTe(t)) in e ? Object.defineProperty(e, t, {
+function LTe(e, t, n) {
+ return (t = RTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LTe(e) {
- var t = RTe(e, "string");
+function RTe(e) {
+ var t = zTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RTe(e, t) {
+function zTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63154,16 +63231,16 @@ function w3() {
return e;
}, w3.apply(null, arguments);
}
-function zTe(e, t) {
+function BTe(e, t) {
if (e == null) return {};
- var n, r, i = BTe(e, t);
+ var n, r, i = VTe(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 BTe(e, t) {
+function VTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63172,20 +63249,20 @@ function BTe(e, t) {
}
return n;
}
-function VTe(e) {
+function HTe(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 = bh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = zTe(a, FTe);
+ var i = bh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = BTe(a, ITe);
return /*#__PURE__*/ I.createElement(v4, w3({}, s, { className: i }));
}
-function HTe(e, t) {
+function UTe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function T3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = BY.scatter } = e;
- if (!HTe(t, n)) return null;
- var u = n3(n), d = Hpe(n), f = t.map((e, r) => {
+ if (!UTe(t, n)) return null;
+ var u = n3(n), d = Bpe(n), f = t.map((e, r) => {
var s = C3(C3(C3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -63195,14 +63272,14 @@ function T3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement(VTe, {
+ return /*#__PURE__*/ I.createElement(HTe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(sz, w3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(uz, w3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -63220,26 +63297,26 @@ function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E3(Object(n), !0).forEach(function(t) {
- UTe(e, t, n[t]);
+ WTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UTe(e, t, n) {
- return (t = WTe(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 WTe(e) {
- var t = GTe(e, "string");
+function GTe(e) {
+ var t = KTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GTe(e, t) {
+function KTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63249,7 +63326,7 @@ function GTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O3 = HU({
+var O3 = UU({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -63259,60 +63336,60 @@ var O3 = HU({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = hq(t.payload);
+ e.xAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hq(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = hq(t.payload);
+ e.yAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hq(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = hq(t.payload);
+ e.zAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hq(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -63327,15 +63404,15 @@ var O3 = HU({
}
}
}
-}), { addXAxis: KTe, replaceXAxis: qTe, removeXAxis: JTe, addYAxis: YTe, replaceYAxis: XTe, removeYAxis: ZTe, addZAxis: QTe, replaceZAxis: $Te, removeZAxis: eEe, updateYAxisWidth: tEe } = O3.actions, nEe = O3.reducer, rEe = $([
- $([kG], (e) => ({
+}), { addXAxis: qTe, replaceXAxis: JTe, removeXAxis: YTe, addYAxis: XTe, replaceYAxis: ZTe, removeYAxis: QTe, addZAxis: $Te, replaceZAxis: eEe, removeZAxis: tEe, updateYAxisWidth: nEe } = O3.actions, rEe = O3.reducer, iEe = $([
+ $([AG], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- fG,
- pG
+ pG,
+ mG
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -63343,7 +63420,7 @@ var O3 = HU({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(rEe), iEe = () => Q(Lxe);
+}), k3 = () => Q(iEe), aEe = () => Q(Rxe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function A3(e, t) {
@@ -63360,26 +63437,26 @@ function j3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A3(Object(n), !0).forEach(function(t) {
- aEe(e, t, n[t]);
+ oEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aEe(e, t, n) {
- return (t = oEe(t)) in e ? Object.defineProperty(e, t, {
+function oEe(e, t, n) {
+ return (t = sEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oEe(e) {
- var t = sEe(e, "string");
+function sEe(e) {
+ var t = cEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sEe(e, t) {
+function cEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63389,7 +63466,7 @@ function sEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cEe = (e) => {
+var lEe = (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 = j3(j3(j3({}, {
@@ -63403,17 +63480,17 @@ var cEe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), nz(i)), OB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
- return /*#__PURE__*/ I.createElement(sz, {
+ }), az(i)), jB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
+ return /*#__PURE__*/ I.createElement(uz, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = iEe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = aEe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return vB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(cEe, {
+ return xB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(lEe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -63438,26 +63515,26 @@ function P3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N3(Object(n), !0).forEach(function(t) {
- lEe(e, t, n[t]);
+ uEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lEe(e, t, n) {
- return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
+function uEe(e, t, n) {
+ return (t = dEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uEe(e) {
- var t = dEe(e, "string");
+function dEe(e) {
+ var t = fEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dEe(e, t) {
+function fEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63467,13 +63544,13 @@ function dEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), fEe = $([F3], (e) => {
+var F3 = (e, t) => O4(e, "radiusAxis", t), pEe = $([F3], (e) => {
if (e != null) return { scale: e };
-}), pEe = $([XY, F3], (e, t) => {
+}), mEe = $([XY, F3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), mEe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), hEe = $([I3, L3], (e, t) => {
+}), hEe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), gEe = $([I3, L3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), gEe = (e, t, n, r) => A4(e, "angleAxis", n, r), _Ee = $([
+}), _Ee = (e, t, n, r) => A4(e, "angleAxis", n, r), vEe = $([
I3,
L3,
rX
@@ -63485,30 +63562,30 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), fEe = $([F3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), vEe = (e, t, n, r, i) => i, yEe = $([
- pK,
- pEe,
+}), yEe = (e, t, n, r, i) => i, bEe = $([
+ mK,
mEe,
hEe,
- gEe
-], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), bEe = $([
- fEe,
- _Ee,
+ gEe,
+ _Ee
+], (e, t, n, r, i) => qW(e, "radiusAxis") ? cG(t, n, !1) : cG(r, i, !1)), xEe = $([
+ pEe,
+ vEe,
hY,
- $([y4, vEe], (e, t) => {
+ $([y4, yEe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- yEe
+ bEe
], (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 AEe({
+ if (e != null && t != null && a != null && i != null && r != null) return jEe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), xEe = ["id"];
+}), SEe = ["id"];
function R3() {
return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63532,26 +63609,26 @@ function B3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z3(Object(n), !0).forEach(function(t) {
- SEe(e, t, n[t]);
+ CEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SEe(e, t, n) {
- return (t = CEe(t)) in e ? Object.defineProperty(e, t, {
+function CEe(e, t, n) {
+ return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CEe(e) {
- var t = wEe(e, "string");
+function wEe(e) {
+ var t = TEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wEe(e, t) {
+function TEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63561,16 +63638,16 @@ function wEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function TEe(e, t) {
+function EEe(e, t) {
if (e == null) return {};
- var n, r, i = EEe(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 EEe(e, t) {
+function DEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63582,27 +63659,27 @@ function EEe(e, t) {
function V3(e, t) {
return e && e !== "none" ? e : t;
}
-var DEe = (e) => {
+var OEe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: V3(r, i),
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, OEe = /*#__PURE__*/ I.memo((e) => {
+}, kEe = /*#__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: xB,
+ getPosition: wB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: s,
color: V3(n, i),
@@ -63612,8 +63689,8 @@ var DEe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: l });
});
-function kEe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = tz(TEe(n, xEe));
+function AEe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = iz(EEe(n, SEe));
return /*#__PURE__*/ I.createElement(T3, {
points: t,
dot: r,
@@ -63623,10 +63700,10 @@ function kEe(e) {
baseProps: o
});
}
-function AEe(e) {
+function jEe(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 = WW(e, n.dataKey, r), d = WW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? PTe(d) : d, m = vB(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = GW(e, n.dataKey, r), d = GW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? FTe(d) : d, m = xB(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, aY(o, s, m, f)), {}, {
name: a,
value: d,
@@ -63640,7 +63717,7 @@ function AEe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = vB(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = xB(n) ? 0 : t.scale.map(n) ?? 0;
d.push(B3(B3({}, e), {}, { radius: r }, aY(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -63649,7 +63726,7 @@ function AEe(e) {
baseLinePoints: d
};
}
-function jEe(e) {
+function MEe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -63669,10 +63746,10 @@ function jEe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, r);
}
-function MEe(e) {
+function NEe(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, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, rz(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, oz(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -63685,7 +63762,7 @@ function MEe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement(sz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(kEe, {
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(AEe, {
props: r,
points: t
}));
@@ -63693,20 +63770,20 @@ function MEe(e) {
var H3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? B3(B3({}, r), {}, {
- x: gB(a.x, r.x, n),
- y: gB(a.y, r.y, n)
+ x: yB(a.x, r.x, n),
+ y: yB(a.y, r.y, n)
}) : B3(B3({}, r), {}, {
- x: gB(r.cx, r.x, n),
- y: gB(r.cy, r.y, n)
+ x: yB(r.cx, r.x, n),
+ y: yB(r.cy, r.y, n)
});
};
-function NEe(e) {
+function PEe(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 = KJ(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(jEe, {
+ return /*#__PURE__*/ I.createElement(MEe, {
showLabels: y,
points: i
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -63720,22 +63797,22 @@ function NEe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(MEe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(NEe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function PEe(e) {
+function FEe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(NEe, {
+ return /*#__PURE__*/ I.createElement(PEe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var FEe = {
+var IEe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -63749,27 +63826,27 @@ var FEe = {
radiusAxisId: 0,
zIndex: BY.area
};
-function IEe(e) {
+function LEe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = bh("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: i }, /*#__PURE__*/ I.createElement(PEe, e)), /*#__PURE__*/ I.createElement(M3, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: i }, /*#__PURE__*/ I.createElement(FEe, e)), /*#__PURE__*/ I.createElement(M3, {
points: r,
mainColor: V3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function LEe(e) {
- var t = NG(), n = Q((n) => bEe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(IEe, R3({}, e, {
+function REe(e) {
+ var t = PG(), n = Q((n) => xEe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(LEe, R3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function U3(e) {
- var t = jB(e, FEe);
+ var t = PB(e, IEe);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radar"
@@ -63781,7 +63858,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(_3, { legendPayload: DEe(t) }), /*#__PURE__*/ I.createElement(OEe, {
+ }), /*#__PURE__*/ I.createElement(_3, { legendPayload: OEe(t) }), /*#__PURE__*/ I.createElement(kEe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -63790,7 +63867,7 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(LEe, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(REe, R3({}, t, { id: e }))));
}
U3.displayName = "Radar";
//#endregion
@@ -63814,7 +63891,7 @@ function K3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var q3 = (e, t, n) => {
var r = n ?? e;
- if (!vB(r)) return mB(r, t, 0);
+ if (!xB(r)) return _B(r, t, 0);
}, J3 = (e, t, n) => {
var r = {}, i = e.filter(cX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -63849,26 +63926,26 @@ function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y3(Object(n), !0).forEach(function(t) {
- REe(e, t, n[t]);
+ zEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function REe(e, t, n) {
- return (t = zEe(t)) in e ? Object.defineProperty(e, t, {
+function zEe(e, t, n) {
+ return (t = BEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zEe(e) {
- var t = BEe(e, "string");
+function BEe(e) {
+ var t = VEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BEe(e, t) {
+function VEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63878,11 +63955,11 @@ function BEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VEe(e, t, n, r, i) {
+function HEe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = mB(e, n, 0, !0), s, c = [];
- if (LW(r[0]?.barSize)) {
+ var o = _B(e, n, 0, !0), s, c = [];
+ if (RW(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);
var f = {
@@ -63901,11 +63978,11 @@ function VEe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = mB(t, n, 0, !0);
+ var p = _B(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);
- var h = LW(i) ? Math.min(m, i) : m;
+ var h = RW(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -63919,7 +63996,7 @@ function VEe(e, t, n, r, i) {
}
}
var Z3 = (e, t, n, r, i, a, o) => {
- var s = vB(o) ? t : o, c = VEe(n, r, i === a ? a : i, e, s);
+ var s = xB(o) ? t : o, c = HEe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => X3(X3({}, e), {}, { position: X3(X3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Q3 = (e, t) => {
var n = oX(t);
@@ -63955,26 +64032,26 @@ function t6(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) {
- HEe(e, t, n[t]);
+ UEe(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 HEe(e, t, n) {
- return (t = UEe(t)) in e ? Object.defineProperty(e, t, {
+function UEe(e, t, n) {
+ return (t = WEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UEe(e) {
- var t = WEe(e, "string");
+function WEe(e) {
+ var t = GEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WEe(e, t) {
+function GEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63986,30 +64063,30 @@ function WEe(e, t) {
}
var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => rwe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), r6 = (e, t) => iwe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
}), a6 = (e, t, n) => A4(e, "angleAxis", n, !1), o6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), s6 = $([
- pK,
+ mK,
n6,
r6,
i6,
a6
-], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), GEe = $([
+], (e, t, n, r, i) => qW(e, "radiusAxis") ? cG(t, n, !1) : cG(r, i, !1)), KEe = $([
i6,
n6,
- pK
+ mK
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return tG({ numericAxis: r });
-}), KEe = (e, t, n, r, i) => i, qEe = (e, t, n, r, i) => n, JEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", YEe = $([$([
+ if (r != null && r.scale != null) return nG({ numericAxis: r });
+}), qEe = (e, t, n, r, i) => i, JEe = (e, t, n, r, i) => n, YEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", XEe = $([$([
$([
$([
- pK,
+ mK,
y4,
- qEe,
- JEe
+ JEe,
+ YEe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
NY,
() => void 0
@@ -64018,7 +64095,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
jY,
MY,
$([
- pK,
+ mK,
AY,
i6,
a6,
@@ -64026,8 +64103,8 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
r6,
c6
], (e, t, n, r, i, a, o) => {
- var s = vB(o) ? t : o;
- return e === "centric" ? sG(n, r, !0) ?? s ?? 0 : sG(i, a, !0) ?? s ?? 0;
+ var s = xB(o) ? t : o;
+ return e === "centric" ? cG(n, r, !0) ?? s ?? 0 : cG(i, a, !0) ?? s ?? 0;
}),
s6,
c6
@@ -64040,7 +64117,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
u6,
PY,
FY
-], i1), XEe = $([
+], i1), ZEe = $([
i6,
a6,
n6,
@@ -64048,17 +64125,17 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
mY,
o6,
s6,
- pK,
- GEe,
- rX,
+ mK,
KEe,
- YEe,
- $([(e, t, n) => pK(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
+ rX,
+ qEe,
+ XEe,
+ $([(e, t, n) => mK(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
], (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 pDe({
+ return mDe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -64079,7 +64156,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), ZEe = $([hY, (e, t) => t], (e, t) => {
+}), QEe = $([hY, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -64093,20 +64170,20 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function f6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && LW(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && RW(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var QEe = [
+var $Ee = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], $Ee = [
+], eDe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], eDe = ["value", "background"];
+], tDe = ["value", "background"];
function p6() {
return p6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64130,26 +64207,26 @@ function h6(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) {
- tDe(e, t, n[t]);
+ nDe(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 tDe(e, t, n) {
- return (t = nDe(t)) in e ? Object.defineProperty(e, t, {
+function nDe(e, t, n) {
+ return (t = rDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nDe(e) {
- var t = rDe(e, "string");
+function rDe(e) {
+ var t = iDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rDe(e, t) {
+function iDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64161,14 +64238,14 @@ function rDe(e, t) {
}
function g6(e, t) {
if (e == null) return {};
- var n, r, i = iDe(e, t);
+ var n, r, i = aDe(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 iDe(e, t) {
+function aDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64178,7 +64255,7 @@ function iDe(e, t) {
return n;
}
var _6 = [];
-function aDe(e) {
+function oDe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -64195,15 +64272,15 @@ function aDe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(GCe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(KCe, { value: t ? i : void 0 }, r);
}
-function oDe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, QEe), l = tz(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, $Ee), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(aDe, {
+function sDe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, $Ee), l = iz(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, eDe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(oDe, {
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 = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), kB(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), MB(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -64220,7 +64297,7 @@ function oDe(e) {
}, /*#__PURE__*/ I.createElement(K3, f)) : /*#__PURE__*/ I.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }), n.children);
}
-function sDe(e) {
+function cDe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = KJ(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)(() => {
@@ -64239,34 +64316,34 @@ function sDe(e) {
var i = e === 1 ? r : (r ?? _6).map((t, n) => {
var r = d && d[n];
if (r) return h6(h6({}, t), {}, {
- startAngle: gB(r.startAngle, t.startAngle, e),
- endAngle: gB(r.endAngle, t.endAngle, e)
+ startAngle: yB(r.startAngle, t.startAngle, e),
+ endAngle: yB(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return h6(h6({}, t), {}, { endAngle: gB(a, i, e) });
+ return h6(h6({}, t), {}, { endAngle: yB(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(oDe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(sDe, {
sectors: i ?? _6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function cDe(e) {
+function lDe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(sDe, {
+ return /*#__PURE__*/ I.createElement(cDe, {
props: e,
previousSectorsRef: t
});
}
-function lDe(e) {
- var t = Q((t) => ZEe(t, e.legendType));
+function uDe(e) {
+ var t = Q((t) => QEe(t, e.legendType));
return /*#__PURE__*/ I.createElement(_3, { legendPayload: t ?? [] });
}
-var uDe = /*#__PURE__*/ I.memo((e) => {
+var dDe = /*#__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: xB,
+ getPosition: wB,
settings: {
graphicalItemId: l,
stroke: r,
@@ -64274,7 +64351,7 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: c,
color: s,
@@ -64282,14 +64359,14 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
-}), dDe = class extends I.PureComponent {
+}), fDe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = nz(this.props.background);
+ var { cornerRadius: t } = this.props, n = az(this.props.background);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(this.props.background, BY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, eDe);
+ var { value: i, background: a } = e, o = g6(e, tDe);
if (!a) return null;
- var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), kB(this.props, e, r)), {}, {
+ var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), MB(this.props, e, r)), {}, {
index: r,
className: bh("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -64302,17 +64379,17 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = bh("recharts-area", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: i }, r && /*#__PURE__*/ I.createElement(sz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(sz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(cDe, this.props))));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: i }, r && /*#__PURE__*/ I.createElement(uz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(uz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(lDe, this.props))));
}
};
-function fDe(e) {
+function pDe(e) {
var t = I.useMemo(() => t3(e.children, v2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: QW(e.stackId),
+ stackId: $W(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -64327,8 +64404,8 @@ function fDe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => XEe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(uDe, {
+ ]), r = Q((r) => ZEe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dDe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -64338,7 +64415,7 @@ function fDe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(dDe, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(fDe, p6({}, e, { sectors: r })));
}
var v6 = {
angleAxisId: 0,
@@ -64357,12 +64434,12 @@ var v6 = {
radiusAxisId: 0,
zIndex: BY.bar
};
-function pDe(e) {
+function mDe(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 ? _6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = YW(n[r + t], i) : (b = WW(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = eG({
+ if (n ? b = XW(n[r + t], i) : (b = GW(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = tG({
axis: c,
ticks: l,
bandSize: u,
@@ -64373,7 +64450,7 @@ function pDe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = lB(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = fB(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -64385,7 +64462,7 @@ function pDe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = eG({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = tG({
axis: f,
ticks: g,
bandSize: u,
@@ -64396,7 +64473,7 @@ function pDe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = lB(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = fB(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -64413,7 +64490,7 @@ function pDe(e) {
});
}
function y6(e) {
- var t = jB(e, v6);
+ var t = PB(e, v6);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radialBar"
@@ -64425,17 +64502,17 @@ function y6(e) {
hide: t.hide ?? v6.hide,
angleAxisId: t.angleAxisId ?? v6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? v6.radiusAxisId,
- stackId: QW(t.stackId),
+ stackId: $W(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(lDe, t), /*#__PURE__*/ I.createElement(fDe, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(uDe, t), /*#__PURE__*/ I.createElement(pDe, p6({}, t, { id: e }))));
}
y6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var b6 = (e) => {
- var { chartData: t } = e, n = iV(), r = NG();
+ var { chartData: t } = e, n = sV(), r = PG();
return (0, I.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
n(f2(void 0));
}), [
@@ -64454,13 +64531,13 @@ var b6 = (e) => {
bottom: 0,
left: 0
}
-}, S6 = HU({
+}, S6 = UU({
name: "brush",
initialState: x6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? x6 : t.payload;
} }
-}), { setBrushSettings: mDe } = S6.actions, hDe = S6.reducer, gDe = (e, t) => {
+}), { setBrushSettings: hDe } = S6.actions, gDe = S6.reducer, _De = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -64468,9 +64545,9 @@ var b6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, _De = (e) => {
+}, vDe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return gDe({
+ return _De({
x: t,
y: n
}, {
@@ -64478,13 +64555,13 @@ var b6 = (e) => {
y: i
});
};
-function vDe(e) {
+function yDe(e) {
return (e % 180 + 180) % 180;
}
-var yDe = function(e) {
- var { width: t, height: n } = e, r = vDe(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 bDe = function(e) {
+ var { width: t, height: n } = e, r = yDe(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);
-}, C6 = HU({
+}, C6 = UU({
name: "referenceElements",
initialState: {
dots: [],
@@ -64496,26 +64573,26 @@ var yDe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = pU(e).dots.findIndex((e) => e === t.payload);
+ var n = mU(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 = pU(e).areas.findIndex((e) => e === t.payload);
+ var n = mU(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(hq(t.payload));
+ e.lines.push(gq(t.payload));
},
removeLine: (e, t) => {
- var n = pU(e).lines.findIndex((e) => e === t.payload);
+ var n = mU(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: bDe, removeDot: xDe, addArea: SDe, removeArea: CDe, addLine: wDe, removeLine: TDe } = C6.actions, EDe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), DDe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${pB("recharts")}-clip`), r = k3();
+}), { addDot: xDe, removeDot: SDe, addArea: CDe, removeArea: wDe, addLine: TDe, removeLine: EDe } = C6.actions, DDe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), ODe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${gB("recharts")}-clip`), r = k3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(w6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -64524,7 +64601,7 @@ var yDe = function(e) {
height: s,
width: o
}))), t);
-}, ODe = () => (0, I.useContext)(w6), kDe = class {
+}, kDe = () => (0, I.useContext)(w6), ADe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -64564,26 +64641,26 @@ function E6(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) {
- ADe(e, t, n[t]);
+ jDe(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 ADe(e, t, n) {
- return (t = jDe(t)) in e ? Object.defineProperty(e, t, {
+function jDe(e, t, n) {
+ return (t = MDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jDe(e) {
- var t = MDe(e, "string");
+function MDe(e) {
+ var t = NDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MDe(e, t) {
+function NDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64602,18 +64679,18 @@ function D6() {
return e;
}, D6.apply(null, arguments);
}
-var NDe = (e, t) => {
+var PDe = (e, t) => {
var n;
if (/*#__PURE__*/ I.isValidElement(e)) n = /*#__PURE__*/ I.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!LW(t.x1) || !LW(t.y1) || !LW(t.x2) || !LW(t.y2)) return null;
+ if (!RW(t.x1) || !RW(t.y1) || !RW(t.x2) || !RW(t.y2)) return null;
n = /*#__PURE__*/ I.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, PDe = (e, t, n, r, i, a) => {
+}, FDe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!RW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -64622,9 +64699,9 @@ var NDe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, FDe = (e, t, n, r, i, a) => {
+}, IDe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!RW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -64633,7 +64710,7 @@ var NDe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, IDe = (e, t, n, r) => {
+}, LDe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -64642,43 +64719,43 @@ var NDe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, LDe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = fB(s);
- return fB(c) ? PDe(c, u, r, a, t, n) : d ? FDe(s, u, r, i, e, n) : l != null && l.length === 2 ? IDe(l, u, r, new kDe({
+}, RDe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = hB(s);
+ return hB(c) ? FDe(c, u, r, a, t, n) : d ? IDe(s, u, r, i, e, n) : l != null && l.length === 2 ? LDe(l, u, r, new ADe({
x: e,
y: t
})) : null;
};
-function RDe(e) {
- var t = iV();
- return (0, I.useEffect)(() => (t(wDe(e)), () => {
- t(TDe(e));
+function zDe(e) {
+ var t = sV();
+ return (0, I.useEffect)(() => (t(TDe(e)), () => {
+ t(EDe(e));
})), null;
}
-function zDe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = NG(), s = ODe(), 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 = sK();
+function BDe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = PG(), s = kDe(), 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 = cK();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = LDe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = RDe(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 = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rz(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, oz(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = _De({
+ }), x = vDe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-reference-line", i) }, NDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-reference-line", i) }, PDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ I.createElement(a4, { label: e.label }), e.children)));
}
-var BDe = {
+var VDe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -64691,15 +64768,15 @@ var BDe = {
zIndex: BY.line
};
function O6(e) {
- var t = jB(e, BDe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(RDe, {
+ var t = PB(e, VDe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(zDe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(zDe, t));
+ }), /*#__PURE__*/ I.createElement(BDe, t));
}
O6.displayName = "ReferenceLine";
//#endregion
@@ -64715,13 +64792,13 @@ function k6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function VDe(e, t, n) {
- return yDe({
+function HDe(e, t, n) {
+ return bDe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function HDe(e, t, n) {
+function UDe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -64736,12 +64813,12 @@ function A6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function UDe(e, t) {
+function WDe(e, t) {
return k6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function WDe(e, t, n, r, i) {
+function GDe(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: k6(r, l) };
@@ -64750,7 +64827,7 @@ function WDe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function GDe(e, t, n, r, i) {
+function KDe(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++) {
@@ -64787,26 +64864,26 @@ function M6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j6(Object(n), !0).forEach(function(t) {
- KDe(e, t, n[t]);
+ qDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KDe(e, t, n) {
- return (t = qDe(t)) in e ? Object.defineProperty(e, t, {
+function qDe(e, t, n) {
+ return (t = JDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qDe(e) {
- var t = JDe(e, "string");
+function JDe(e) {
+ var t = YDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JDe(e, t) {
+function YDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64816,7 +64893,7 @@ function JDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function YDe(e, t, n, r, i) {
+function XDe(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;
@@ -64829,7 +64906,7 @@ function YDe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function XDe(e, t, n, r, i, a) {
+function ZDe(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];
@@ -64853,7 +64930,7 @@ function XDe(e, t, n, r, i, a) {
function N6(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) || pJ.isSsr) return UDe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || pJ.isSsr) return WDe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -64862,19 +64939,19 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? VDe(w2(i, {
+ return p === "width" ? HDe(w2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : w2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? lB(_.coordinate - g.coordinate) : 1, y = HDe(a, v, p);
- return c === "equidistantPreserveStart" ? WDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? GDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? XDe(v, y, h, i, o, c === "preserveStartEnd") : YDe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? fB(_.coordinate - g.coordinate) : 1, y = UDe(a, v, p);
+ return c === "equidistantPreserveStart" ? GDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? KDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? ZDe(v, y, h, i, o, c === "preserveStartEnd") : XDe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var ZDe = (e) => {
+var QDe = (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) => {
@@ -64887,7 +64964,7 @@ var ZDe = (e) => {
return Math.round(l);
}
return 0;
-}, P6 = HU({
+}, P6 = UU({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -64896,14 +64973,14 @@ var ZDe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = hq(i);
+ e[n][r] = gq(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: QDe, removeRenderedTicks: $De } = P6.actions, eOe = P6.reducer, tOe = [
+}), { setRenderedTicks: $De, removeRenderedTicks: eOe } = P6.actions, tOe = P6.reducer, nOe = [
"axisLine",
"width",
"height",
@@ -64913,16 +64990,16 @@ var ZDe = (e) => {
"axisType",
"axisId"
];
-function nOe(e, t) {
+function rOe(e, t) {
if (e == null) return {};
- var n, r, i = rOe(e, t);
+ var n, r, i = iOe(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 rOe(e, t) {
+function iOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64954,26 +65031,26 @@ function L6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I6(Object(n), !0).forEach(function(t) {
- iOe(e, t, n[t]);
+ aOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iOe(e, t, n) {
- return (t = aOe(t)) in e ? Object.defineProperty(e, t, {
+function aOe(e, t, n) {
+ return (t = oOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aOe(e) {
- var t = oOe(e, "string");
+function oOe(e) {
+ var t = sOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oOe(e, t) {
+function sOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65007,10 +65084,10 @@ var R6 = {
interval: "preserveEnd",
zIndex: BY.axis
};
-function sOe(e) {
+function cOe(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 = L6(L6(L6({}, c), tz(s)), {}, { fill: "none" });
+ var l = L6(L6(L6({}, c), iz(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = L6(L6({}, l), {}, {
@@ -65028,9 +65105,9 @@ function sOe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: bh("recharts-cartesian-axis-line", oB(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: bh("recharts-cartesian-axis-line", lB(s, "className")) }));
}
-function cOe(e, t, n, r, i, a, o, s, c) {
+function lOe(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":
@@ -65057,14 +65134,14 @@ function cOe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function lOe(e, t) {
+function uOe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function uOe(e, t) {
+function dOe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -65072,7 +65149,7 @@ function uOe(e, t) {
default: return t ? "end" : "start";
}
}
-function dOe(e) {
+function fOe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = bh(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, L6(L6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
@@ -65082,9 +65159,9 @@ function dOe(e) {
}
return i;
}
-function fOe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = iV();
- return (0, I.useEffect)(() => r == null || n == null ? xB : (i(QDe({
+function pOe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = sV();
+ return (0, I.useEffect)(() => r == null || n == null ? wB : (i($De({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -65094,7 +65171,7 @@ function fOe(e) {
axisId: r,
axisType: n
})), () => {
- i($De({
+ i(eOe({
axisId: r,
axisType: n
}));
@@ -65105,15 +65182,15 @@ function fOe(e) {
n
]), null;
}
-var pOe = /*#__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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = tz(b), E = nz(r), D = L2(T.textAnchor) ? T.textAnchor : lOe(u, d), O = uOe(u, d), k = {};
+var mOe = /*#__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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = iz(b), E = az(r), D = L2(T.textAnchor) ? T.textAnchor : uOe(u, d), O = dOe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, cOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, lOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement(sz, {
+ return /*#__PURE__*/ I.createElement(uz, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: bh("recharts-cartesian-axis-tick-line", oB(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: bh("recharts-cartesian-axis-tick-line", lB(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = L6(L6({}, L6(L6(L6(L6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -65126,16 +65203,16 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement(sz, F6({
+ return /*#__PURE__*/ I.createElement(uz, F6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, kB(x, n, t)), r && /*#__PURE__*/ I.createElement(dOe, {
+ }, MB(x, n, t)), r && /*#__PURE__*/ I.createElement(fOe, {
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(fOe, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(pOe, {
ticks: w,
axisId: C,
axisType: S
@@ -65143,9 +65220,9 @@ var pOe = /*#__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));
-}), mOe = /*#__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 = nOe(e, tOe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => ZDe({
+}), hOe = /*#__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 = rOe(e, nOe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => QDe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -65163,7 +65240,7 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(sOe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(cOe, {
x: e.x,
y: e.y,
width: r,
@@ -65171,8 +65248,8 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: tz(e)
- }), /*#__PURE__*/ I.createElement(pOe, {
+ otherSvgProps: iz(e)
+ }), /*#__PURE__*/ I.createElement(mOe, {
ref: g,
axisType: c,
events: u,
@@ -65208,19 +65285,19 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), z6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = jB(e, R6);
- return /*#__PURE__*/ I.createElement(mOe, F6({}, n, { ref: t }));
+ var n = PB(e, R6);
+ return /*#__PURE__*/ I.createElement(hOe, F6({}, n, { ref: t }));
});
z6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var hOe = [
+var gOe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], gOe = ["offset"], _Oe = ["xAxisId", "yAxisId"], vOe = ["xAxisId", "yAxisId"];
+], _Oe = ["offset"], vOe = ["xAxisId", "yAxisId"], yOe = ["xAxisId", "yAxisId"];
function B6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -65235,26 +65312,26 @@ function V6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B6(Object(n), !0).forEach(function(t) {
- yOe(e, t, n[t]);
+ bOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yOe(e, t, n) {
- return (t = bOe(t)) in e ? Object.defineProperty(e, t, {
+function bOe(e, t, n) {
+ return (t = xOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bOe(e) {
- var t = xOe(e, "string");
+function xOe(e) {
+ var t = SOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xOe(e, t) {
+function SOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65275,14 +65352,14 @@ function H6() {
}
function U6(e, t) {
if (e == null) return {};
- var n, r, i = SOe(e, t);
+ var n, r, i = COe(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 SOe(e, t) {
+function COe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65291,7 +65368,7 @@ function SOe(e, t) {
}
return n;
}
-var COe = (e) => {
+var wOe = (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;
@@ -65312,7 +65389,7 @@ function W6(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 = tz(U6(n, hOe)) ?? {}, { offset: u } = l, d = U6(l, gOe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = iz(U6(n, gOe)) ?? {}, { offset: u } = l, d = U6(l, _Oe);
r = /*#__PURE__*/ I.createElement("line", H6({}, d, {
x1: i,
y1: a,
@@ -65324,10 +65401,10 @@ function W6(e) {
}
return r;
}
-function wOe(e) {
+function TOe(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 = U6(e, _Oe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, vOe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: t,
y1: e,
@@ -65344,10 +65421,10 @@ function wOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function TOe(e) {
+function EOe(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 = U6(e, vOe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, yOe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: e,
y1: t,
@@ -65364,7 +65441,7 @@ function TOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function EOe(e) {
+function DOe(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);
@@ -65387,7 +65464,7 @@ function EOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function DOe(e) {
+function OOe(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);
@@ -65410,10 +65487,10 @@ function DOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var OOe = (e, t) => {
+var kOe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return qW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: JW(n, !0),
+ return JW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: YW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -65421,10 +65498,10 @@ var OOe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, kOe = (e, t) => {
+}, AOe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return qW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: JW(n, !0),
+ return JW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: YW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -65432,7 +65509,7 @@ var OOe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, AOe = {
+}, jOe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -65447,14 +65524,14 @@ var OOe = (e, t) => {
zIndex: BY.grid
};
function G6(e) {
- var t = uK(), n = dK(), r = lK(), i = V6(V6({}, jB(e, AOe)), {}, {
+ var t = dK(), n = fK(), r = uK(), i = V6(V6({}, PB(e, jOe)), {}, {
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 = NG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!RW(l) || !RW(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || OOe, v = i.horizontalCoordinatesGenerator || kOe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = PG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!zW(l) || !zW(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || kOe, v = i.horizontalCoordinatesGenerator || AOe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? V6(V6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -65462,7 +65539,7 @@ function G6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- zG(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ BG(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -65471,9 +65548,9 @@ function G6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- zG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ BG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(COe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(wOe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -65481,12 +65558,12 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement(EOe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(DOe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(wOe, H6({}, i, {
+ }), /*#__PURE__*/ I.createElement(DOe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(OOe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(TOe, H6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(TOe, H6({}, i, {
+ })), /*#__PURE__*/ I.createElement(EOe, H6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -65496,7 +65573,7 @@ function G6(e) {
G6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var K6 = HU({
+var K6 = UU({
name: "errorBars",
initialState: {},
reducers: {
@@ -65513,17 +65590,17 @@ var K6 = HU({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: jOe, replaceErrorBar: MOe, removeErrorBar: NOe } = K6.actions, POe = K6.reducer, FOe = ["children"];
-function IOe(e, t) {
+}), { addErrorBar: MOe, replaceErrorBar: NOe, removeErrorBar: POe } = K6.actions, FOe = K6.reducer, IOe = ["children"];
+function LOe(e, t) {
if (e == null) return {};
- var n, r, i = LOe(e, t);
+ var n, r, i = ROe(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 LOe(e, t) {
+function ROe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65532,7 +65609,7 @@ function LOe(e, t) {
}
return n;
}
-var ROe = /*#__PURE__*/ (0, I.createContext)({
+var zOe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -65544,8 +65621,8 @@ var ROe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function q6(e) {
- var { children: t } = e, n = IOe(e, FOe);
- return /*#__PURE__*/ I.createElement(ROe.Provider, { value: n }, t);
+ var { children: t } = e, n = LOe(e, IOe);
+ return /*#__PURE__*/ I.createElement(zOe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -65570,30 +65647,30 @@ function Y6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), zOe = $([
- pK,
+var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), BOe = $([
+ mK,
X6,
Q6,
Z6,
$6
-], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), BOe = (e, t, n, r, i) => i;
-function VOe(e) {
+], (e, t, n, r, i) => qW(e, "xAxis") ? cG(t, r, !1) : cG(n, i, !1)), VOe = (e, t, n, r, i) => i;
+function HOe(e) {
return e.type === "line";
}
-var HOe = $([
- pK,
+var UOe = $([
+ mK,
X6,
Q6,
Z6,
$6,
- $([H$, BOe], (e, t) => e.filter(VOe).find((e) => e.id === t)),
- zOe,
+ $([H$, VOe], (e, t) => e.filter(HOe).find((e) => e.id === t)),
+ BOe,
gY
], (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 cke({
+ if (p != null) return lke({
layout: e,
xAxis: t,
yAxis: n,
@@ -65608,7 +65685,7 @@ var HOe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function e8(e) {
- var t = nz(e), n = 3, r = 2;
+ var t = az(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), {
@@ -65623,13 +65700,13 @@ function e8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var UOe = ["id"], WOe = [
+var WOe = ["id"], GOe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], GOe = [
+], KOe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -65668,26 +65745,26 @@ function r8(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) {
- KOe(e, t, n[t]);
+ qOe(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 KOe(e, t, n) {
- return (t = qOe(t)) in e ? Object.defineProperty(e, t, {
+function qOe(e, t, n) {
+ return (t = JOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qOe(e) {
- var t = JOe(e, "string");
+function JOe(e) {
+ var t = YOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JOe(e, t) {
+function YOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65699,14 +65776,14 @@ function JOe(e, t) {
}
function i8(e, t) {
if (e == null) return {};
- var n, r, i = YOe(e, t);
+ var n, r, i = XOe(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 YOe(e, t) {
+function XOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65715,27 +65792,27 @@ function YOe(e, t) {
}
return n;
}
-var XOe = (e) => {
+var ZOe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, ZOe = /*#__PURE__*/ I.memo((e) => {
+}, QOe = /*#__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: xB,
+ getPosition: wB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lG(o, t),
+ name: uG(o, t),
hide: s,
type: l,
color: r,
@@ -65745,11 +65822,11 @@ var XOe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
}), a8 = (e, t) => `${t}px ${e}px`;
-function QOe(e, t) {
+function $Oe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var $Oe = (e, t, n) => {
+var eke = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return a8(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) {
@@ -65761,13 +65838,13 @@ var $Oe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...QOe(n, i),
+ ...$Oe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function eke(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = tz(i8(r, UOe));
+function tke(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = iz(i8(r, WOe));
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: i,
@@ -65779,7 +65856,7 @@ function eke(e) {
clipPathId: t
});
}
-function tke(e) {
+function nke(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65800,7 +65877,7 @@ function tke(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function o8(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 = r8(r8({}, rz(i8(a, WOe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, oz(i8(a, GOe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -65813,28 +65890,28 @@ function o8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(d3, t8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(eke, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(tke, {
points: r,
clipPathId: t,
props: a
}));
}
-function nke(e) {
+function rke(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function rke(e) {
+function ike(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 = KJ(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 = nke(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = rke(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(tke, {
+ return /*#__PURE__*/ I.createElement(nke, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -65847,20 +65924,20 @@ function rke(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = gB(D, T + D, e), u = Math.min(l, T), d = c ? s ? $Oe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = yB(D, T + D, e), u = Math.min(l, T), d = c ? s ? eke(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(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 r8(r8({}, t), {}, {
- x: gB(i.x, t.x, e),
- y: gB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return f ? r8(r8({}, t), {}, {
- x: gB(p * 2, t.x, e),
- y: gB(m / 2, t.y, e)
+ x: yB(p * 2, t.x, e),
+ y: yB(m / 2, t.y, e)
}) : r8(r8({}, t), {}, {
x: t.x,
y: t.y
@@ -65883,9 +65960,9 @@ function rke(e) {
});
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }));
}
-function ike(e) {
+function ake(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(rke, {
+ return /*#__PURE__*/ I.createElement(ike, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -65893,17 +65970,17 @@ function ike(e) {
pathRef: a
});
}
-var ake = (e, t) => ({
+var oke = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: WW(e.payload, t)
-}), oke = class extends I.Component {
+ errorVal: GW(e.payload, t)
+}), ske = 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 = bh("recharts-line", r), m = u, { r: h, strokeWidth: g } = e8(t), _ = n3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(sz, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(uz, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -65916,9 +65993,9 @@ var ake = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: ake,
+ dataPointFormatter: oke,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(ike, {
+ }, /*#__PURE__*/ I.createElement(ake, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(M3, {
@@ -65949,11 +66026,11 @@ var ake = (e, t) => ({
zIndex: BY.line,
type: "linear"
};
-function ske(e) {
- var t = jB(e, s8), { 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 = i8(t, GOe), { needClip: _ } = J6(p, m), v = k3(), y = mK(), b = NG(), x = Q((e) => HOe(e, p, m, b, h));
+function cke(e) {
+ var t = PB(e, s8), { 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 = i8(t, KOe), { needClip: _ } = J6(p, m), v = k3(), y = hK(), b = PG(), x = Q((e) => UOe(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(oke, t8({}, g, {
+ return /*#__PURE__*/ I.createElement(ske, t8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -65977,23 +66054,23 @@ function ske(e) {
needClip: _
}));
}
-function cke(e) {
+function lke(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 = WW(e, o);
+ var l = GW(e, o);
if (t === "horizontal") return {
- x: $W({
+ x: eG({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (vB(l) ? null : r.scale.map(l)) ?? null,
+ y: (xB(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = vB(l) ? null : n.scale.map(l), d = $W({
+ var u = xB(l) ? null : n.scale.map(l), d = eG({
axis: r,
ticks: a,
bandSize: s,
@@ -66008,12 +66085,12 @@ function cke(e) {
};
}).filter(Boolean);
}
-function lke(e) {
- var t = jB(e, s8), n = NG();
+function uke(e) {
+ var t = PB(e, s8), n = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: XOe(t) }), /*#__PURE__*/ I.createElement(ZOe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: ZOe(t) }), /*#__PURE__*/ I.createElement(QOe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66034,9 +66111,9 @@ function lke(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(ske, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(cke, t8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ I.memo(lke, Vq);
+var c8 = /*#__PURE__*/ I.memo(uke, Hq);
c8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -66048,19 +66125,19 @@ function u8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), uke = $([
- pK,
+var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), dke = $([
+ mK,
d8,
p8,
f8,
m8
-], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => KW(pK(e), "xAxis") ? "yAxis" : "xAxis", dke = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), fke = $([
- pK,
+], (e, t, n, r, i) => qW(e, "xAxis") ? cG(t, r, !1) : cG(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => qW(mK(e), "xAxis") ? "yAxis" : "xAxis", fke = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), pke = $([
+ mK,
d8,
p8,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), dke(e, t), n)], (e, t) => {
+ $([h8, (e, t, n) => a1(e, g8(e), fke(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = oX(e);
if (n != null && r != null) {
@@ -66070,14 +66147,14 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
}
}),
_Y,
- uke,
+ dke,
h8,
- A_e
+ j_e
], (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 Mke({
+ if (m != null) return Nke({
layout: e,
xAxis: t,
yAxis: n,
@@ -66091,7 +66168,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), pke = ["id"], mke = [
+}), mke = ["id"], hke = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -66118,14 +66195,14 @@ function _8() {
}
function v8(e, t) {
if (e == null) return {};
- var n, r, i = hke(e, t);
+ var n, r, i = gke(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 hke(e, t) {
+function gke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66148,26 +66225,26 @@ function b8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y8(Object(n), !0).forEach(function(t) {
- gke(e, t, n[t]);
+ _ke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gke(e, t, n) {
- return (t = _ke(t)) in e ? Object.defineProperty(e, t, {
+function _ke(e, t, n) {
+ return (t = vke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _ke(e) {
- var t = vke(e, "string");
+function vke(e) {
+ var t = yke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vke(e, t) {
+function yke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66180,27 +66257,27 @@ function vke(e, t) {
function x8(e, t) {
return e && e !== "none" ? e : t;
}
-var yke = (e) => {
+var bke = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: x8(r, i),
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, bke = /*#__PURE__*/ I.memo((e) => {
+}, xke = /*#__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: xB,
+ getPosition: wB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lG(o, t),
+ name: uG(o, t),
hide: s,
type: l,
color: x8(r, a),
@@ -66210,8 +66287,8 @@ var yke = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
});
-function xke(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = tz(r);
+function Ske(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = iz(r);
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: a,
@@ -66223,7 +66300,7 @@ function xke(e) {
clipPathId: t
});
}
-function Ske(e) {
+function Cke(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -66244,8 +66321,8 @@ function Ske(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function S8(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 = v8(a, pke), p = tz(f), m = rz(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(sz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, 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 = v8(a, mke), p = iz(f), m = oz(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(uz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -66268,15 +66345,15 @@ function S8(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(xke, {
+ }))), /*#__PURE__*/ I.createElement(Ske, {
points: t,
props: f,
clipPathId: i
}));
}
-function Cke(e) {
+function wke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!LW(a) || !LW(o)) return null;
+ if (!RW(a) || !RW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: 0,
@@ -66285,9 +66362,9 @@ function Cke(e) {
height: Math.floor(s)
}) : null;
}
-function wke(e) {
+function Tke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!LW(a) || !LW(o)) return null;
+ if (!RW(a) || !RW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: a < o ? a : a - s,
@@ -66296,32 +66373,32 @@ function wke(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function Tke(e) {
+function Eke(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(Cke, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(wke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(wke, {
+ }) : /*#__PURE__*/ I.createElement(Tke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function Eke(e) {
+function Dke(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 = KJ((0, I.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = hK(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = gK(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, I.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ I.createElement(Ske, {
+ return /*#__PURE__*/ I.createElement(Cke, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -66340,18 +66417,18 @@ function Eke(e) {
if (x[r]) {
var i = x[r];
return b8(b8({}, t), {}, {
- x: gB(i.x, t.x, e),
- y: gB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? gB(S, s, e) : vB(s) || uB(s) ? gB(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? yB(S, s, e) : xB(s) || pB(s) ? yB(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return b8(b8({}, t), {}, {
- x: gB(i.x, t.x, e),
- y: gB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return t;
@@ -66364,13 +66441,13 @@ function Eke(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(sz, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Tke, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(uz, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Eke, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement(sz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
+ }))), /*#__PURE__*/ I.createElement(uz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
points: o,
baseLine: s,
needClip: t,
@@ -66379,9 +66456,9 @@ function Eke(e) {
})));
}), /*#__PURE__*/ I.createElement(f4, { label: r.label }));
}
-function Dke(e) {
+function Oke(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement(Eke, {
+ return /*#__PURE__*/ I.createElement(Dke, {
needClip: t,
clipPathId: n,
props: r,
@@ -66389,12 +66466,12 @@ function Dke(e) {
previousBaselineRef: a
});
}
-var Oke = class extends I.PureComponent {
+var kke = 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 = bh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = e8(t), v = n3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(sz, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(uz, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -66403,7 +66480,7 @@ var Oke = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(Dke, {
+ }))), /*#__PURE__*/ I.createElement(Oke, {
needClip: o,
clipPathId: h,
props: this.props
@@ -66421,7 +66498,7 @@ var Oke = class extends I.PureComponent {
clipPath: b
}));
}
-}, kke = {
+}, Ake = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -66441,11 +66518,11 @@ var Oke = class extends I.PureComponent {
yAxisId: 0,
zIndex: BY.area
};
-function Ake(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 = v8(e, mke), g = mK(), _ = U0(), { needClip: v } = J6(p, m), y = NG(), { points: b, isRange: x, baseLine: S } = Q((t) => fke(t, e.id, y)) ?? {}, C = k3();
+function jke(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 = v8(e, hke), g = hK(), _ = U0(), { needClip: v } = J6(p, m), y = PG(), { points: b, isRange: x, baseLine: S } = Q((t) => pke(t, e.id, y)) ?? {}, C = k3();
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(Oke, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(kke, _8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -66471,7 +66548,7 @@ function Ake(e) {
yAxisId: m
}));
}
-var jke = (e, t, n, r, i) => {
+var Mke = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -66481,17 +66558,17 @@ var jke = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function Mke(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 = jke(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function Nke(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 = Mke(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = WW(e, r);
+ var o = GW(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && WW(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && GW(e, r) == null;
return g ? {
- x: $W({
+ x: eG({
axis: s,
ticks: d,
bandSize: p,
@@ -66503,7 +66580,7 @@ function Mke(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: $W({
+ y: eG({
axis: c,
ticks: f,
bandSize: p,
@@ -66531,12 +66608,12 @@ function Mke(e) {
isRange: _
};
}
-function Nke(e) {
- var t = jB(e, kke), n = NG();
+function Pke(e) {
+ var t = PB(e, Ake), n = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: yke(t) }), /*#__PURE__*/ I.createElement(bke, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: bke(t) }), /*#__PURE__*/ I.createElement(xke, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66555,21 +66632,21 @@ function Nke(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: QW(t.stackId),
+ stackId: $W(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(Ake, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(jke, _8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ I.memo(Nke, Vq);
+var C8 = /*#__PURE__*/ I.memo(Pke, Hq);
C8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var Pke = "Invariant failed";
-function Fke(e, t) {
- if (!e) throw Error(Pke);
+var Fke = "Invariant failed";
+function Ike(e, t) {
+ if (!e) throw Error(Fke);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -66589,45 +66666,45 @@ function T8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var Ike = function(e) {
+var Lke = 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) || vB(n);
- return i ? e(n, r) : (!i && Fke(!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) || xB(n);
+ return i ? e(n, r) : (!i && Ike(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, Lke = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Rke = $([E8], (e) => e?.maxBarSize), zke = (e, t, n, r) => r, Bke = $([
- pK,
+}, Rke = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), zke = $([E8], (e) => e?.maxBarSize), Bke = (e, t, n, r) => r, Vke = $([
+ mK,
H$,
l8,
u8,
- Lke
-], (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")), Vke = (e, t, n) => {
- var r = pK(e), i = l8(e, t), a = u8(e, t);
+ Rke
+], (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")), Hke = (e, t, n) => {
+ var r = mK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, Hke = $([
- Bke,
+}, Uke = $([
+ Vke,
NY,
(e, t) => {
- var n = pK(e), r = l8(e, t), i = u8(e, t);
+ var n = mK(e), r = l8(e, t), i = u8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), Uke = (e, t, n) => {
+], J3), Wke = (e, t, n) => {
var r = E8(e, t);
if (r == null) return 0;
var i = l8(e, t), a = u8(e, t);
if (i == null || a == null) return 0;
- var o = pK(e), s = AY(e), { maxBarSize: c } = r, l = vB(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)), sG(u, d, !0) ?? l ?? 0;
+ var o = mK(e), s = AY(e), { maxBarSize: c } = r, l = xB(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)), cG(u, d, !0) ?? l ?? 0;
}, D8 = (e, t, n) => {
- var r = pK(e), i = l8(e, t), a = u8(e, t);
+ var r = mK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) {
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)), sG(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)), cG(o, s);
}
-}, Wke = $([
- kG,
- jG,
+}, Gke = $([
+ AG,
+ MG,
(e, t, n) => {
var r = l8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -66645,25 +66722,25 @@ var Ike = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- Hke,
+ Uke,
AY,
jY,
MY,
- Uke,
+ Wke,
D8,
- Rke
+ zke
], Z3), E8], $3),
- pK,
+ mK,
_Y,
D8,
- $([Vke, E8], Q3),
+ $([Hke, E8], Q3),
E8,
- zke
+ Bke
], (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 vAe({
+ if (_ != null) return yAe({
layout: s,
barSettings: d,
pos: o,
@@ -66680,7 +66757,7 @@ var Ike = function(e) {
dataStartIndex: m
});
}
-}), Gke = ["index"];
+}), Kke = ["index"];
function O8() {
return O8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66690,16 +66767,16 @@ function O8() {
return e;
}, O8.apply(null, arguments);
}
-function Kke(e, t) {
+function qke(e, t) {
if (e == null) return {};
- var n, r, i = qke(e, t);
+ var n, r, i = Jke(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 qke(e, t) {
+function Jke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66708,31 +66785,31 @@ function qke(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), Jke = (e) => {
+var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), Yke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) return t.stackId;
- if (e != null) return QW(e);
-}, Yke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Xke = (e) => {
+ if (e != null) return $W(e);
+}, Xke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Zke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${Yke(n, e)})`;
+ return `url(#${Xke(n, e)})`;
}
}, A8 = (e) => {
- var { index: t } = e, n = Kke(e, Gke), r = Xke(t);
- return /*#__PURE__*/ I.createElement(sz, O8({
+ var { index: t } = e, n = qke(e, Kke), r = Zke(t);
+ return /*#__PURE__*/ I.createElement(uz, O8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, Zke = [
+}, Qke = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], Qke = [
+], $ke = [
"value",
"background",
"tooltipPosition"
-], $ke = ["id"], eAe = [
+], eAe = ["id"], tAe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -66760,26 +66837,26 @@ function N8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M8(Object(n), !0).forEach(function(t) {
- tAe(e, t, n[t]);
+ nAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tAe(e, t, n) {
- return (t = nAe(t)) in e ? Object.defineProperty(e, t, {
+function nAe(e, t, n) {
+ return (t = rAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nAe(e) {
- var t = rAe(e, "string");
+function rAe(e) {
+ var t = iAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rAe(e, t) {
+function iAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66791,14 +66868,14 @@ function rAe(e, t) {
}
function P8(e, t) {
if (e == null) return {};
- var n, r, i = iAe(e, t);
+ var n, r, i = aAe(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 iAe(e, t) {
+function aAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66807,27 +66884,27 @@ function iAe(e, t) {
}
return n;
}
-var aAe = (e) => {
+var oAe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, oAe = /*#__PURE__*/ I.memo((e) => {
+}, sAe = /*#__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: xB,
+ getPosition: wB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: c,
color: i,
@@ -66837,17 +66914,17 @@ var aAe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
});
-function sAe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, Zke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+function cAe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, Qke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
if (!i || n == null) return null;
- var p = nz(i);
+ var p = az(i);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(i, BY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, Qke);
+ var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, $ke);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), kB(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), MB(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -66858,7 +66935,7 @@ function sAe(e) {
return /*#__PURE__*/ I.createElement(T8, j8({ key: `background-bar-${n}` }, _));
}));
}
-function cAe(e) {
+function lAe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -66878,7 +66955,7 @@ function cAe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
-function lAe(e) {
+function uAe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), 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;
@@ -66899,7 +66976,7 @@ function lAe(e) {
}));
return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: BY.activeBar }, /*#__PURE__*/ I.createElement(A8, { index: i.originalDataIndex }, v)) : v;
}
-function uAe(e) {
+function dAe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -66908,24 +66985,24 @@ function uAe(e) {
dataKey: a
}));
}
-function dAe(e) {
- var { data: t, props: n } = e, r = tz(n) ?? {}, { id: i } = r, a = P8(r, $ke), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, eAe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
+function fAe(e) {
+ var { data: t, props: n } = e, r = iz(n) ?? {}, { id: i } = r, a = P8(r, eAe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, tAe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(A8, j8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, kB(f, e, t), {
+ }, MB(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(lAe, {
+ }), c ? /*#__PURE__*/ I.createElement(uAe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(uAe, {
+ }) : /*#__PURE__*/ I.createElement(dAe, {
shape: o,
baseProps: a,
entry: e,
@@ -66933,13 +67010,13 @@ function dAe(e) {
dataKey: s
})))) : null;
}
-function fAe(e) {
+function pAe(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 = KJ(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(cAe, {
+ return /*#__PURE__*/ I.createElement(lAe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -66955,68 +67032,68 @@ function fAe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return N8(N8({}, t), {}, {
- x: gB(r.x, t.x, e),
- y: gB(r.y, t.y, e),
- width: gB(r.width, t.width, e),
- height: gB(r.height, t.height, e)
+ x: yB(r.x, t.x, e),
+ y: yB(r.y, t.y, e),
+ width: yB(r.width, t.width, e),
+ height: yB(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = gB(0, t.height, e), o = gB(t.stackedBarStart, t.y, e);
+ var a = yB(0, t.height, e), o = yB(t.stackedBarStart, t.y, e);
return N8(N8({}, t), {}, {
y: o,
height: a
});
}
- var s = gB(0, t.width, e), c = gB(t.stackedBarStart, t.x, e);
+ var s = yB(0, t.width, e), c = yB(t.stackedBarStart, t.x, e);
return N8(N8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(sz, null, /*#__PURE__*/ I.createElement(dAe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(uz, null, /*#__PURE__*/ I.createElement(fAe, {
props: t,
data: a
}));
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function pAe(e) {
+function mAe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(fAe, {
+ return /*#__PURE__*/ I.createElement(pAe, {
previousRectanglesRef: t,
props: e
});
}
-var F8 = 0, mAe = (e, t) => {
+var F8 = 0, hAe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: WW(e, t)
+ errorVal: GW(e, t)
};
-}, hAe = class extends I.PureComponent {
+}, gAe = 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 = bh("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement(sz, {
+ return /*#__PURE__*/ I.createElement(uz, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement(sz, {
+ })), /*#__PURE__*/ I.createElement(uz, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(sAe, {
+ }, /*#__PURE__*/ I.createElement(cAe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(pAe, this.props)));
+ }), /*#__PURE__*/ I.createElement(mAe, this.props)));
}
-}, gAe = {
+}, _Ae = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -67031,17 +67108,17 @@ var F8 = 0, mAe = (e, t) => {
yAxisId: 0,
zIndex: BY.bar
};
-function _Ae(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 } = J6(t, n), f = mK(), p = NG(), m = t3(e.children, v2), h = Q((t) => Wke(t, e.id, p, m));
+function vAe(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 } = J6(t, n), f = hK(), p = PG(), m = t3(e.children, v2), h = Q((t) => Gke(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(q6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: mAe,
+ dataPointFormatter: hAe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(hAe, j8({}, e, {
+ }, /*#__PURE__*/ I.createElement(gAe, j8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -67057,20 +67134,20 @@ function _Ae(e) {
isAnimationActive: u
})));
}
-function vAe(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 = tG({ numericAxis: _ }), b = _.scale.map(y);
+function yAe(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 = nG({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = YW(E, v);
- } else _ = WW(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = Ike(r, F8)(_[1], f);
+ _ = XW(E, v);
+ } else _ = GW(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = Lke(r, F8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = eG({
+ x = tG({
axis: s,
ticks: l,
bandSize: o,
@@ -67079,19 +67156,19 @@ function vAe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = uB(A) ? 0 : A, T = {
+ if (w = pB(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 = lB(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = fB(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = eG({
+ if (x = M, S = tG({
axis: c,
ticks: u,
bandSize: o,
@@ -67104,7 +67181,7 @@ function vAe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = lB(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = fB(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -67126,12 +67203,12 @@ function vAe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function yAe(e) {
- var t = jB(e, gAe), n = Jke(t.stackId), r = NG();
+function bAe(e) {
+ var t = PB(e, _Ae), n = Yke(t.stackId), r = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: aAe(t) }), /*#__PURE__*/ I.createElement(oAe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: oAe(t) }), /*#__PURE__*/ I.createElement(sAe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -67156,23 +67233,23 @@ function yAe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(_Ae, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(vAe, j8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ I.memo(yAe, Vq);
+var I8 = /*#__PURE__*/ I.memo(bAe, Hq);
I8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var bAe = ["domain", "range"], xAe = ["domain", "range"];
+var xAe = ["domain", "range"], SAe = ["domain", "range"];
function L8(e, t) {
if (e == null) return {};
- var n, r, i = SAe(e, t);
+ var n, r, i = CAe(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 SAe(e, t) {
+function CAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67186,16 +67263,16 @@ function R8(e, t) {
}
function z8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, bAe), { domain: a, range: o } = t, s = L8(t, xAe);
- return !R8(n, a) || !R8(r, o) ? !1 : Vq(i, s);
+ var { domain: n, range: r } = e, i = L8(e, xAe), { domain: a, range: o } = t, s = L8(t, SAe);
+ return !R8(n, a) || !R8(r, o) ? !1 : Hq(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var CAe = ["type"], wAe = [
+var wAe = ["type"], TAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], TAe = ["id", "scale"];
+], EAe = ["id", "scale"];
function B8() {
return B8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67219,26 +67296,26 @@ function H8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V8(Object(n), !0).forEach(function(t) {
- EAe(e, t, n[t]);
+ DAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EAe(e, t, n) {
- return (t = DAe(t)) in e ? Object.defineProperty(e, t, {
+function DAe(e, t, n) {
+ return (t = OAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DAe(e) {
- var t = OAe(e, "string");
+function OAe(e) {
+ var t = kAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OAe(e, t) {
+function kAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67250,14 +67327,14 @@ function OAe(e, t) {
}
function U8(e, t) {
if (e == null) return {};
- var n, r, i = kAe(e, t);
+ var n, r, i = AAe(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 kAe(e, t) {
+function AAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67266,23 +67343,23 @@ function kAe(e, t) {
}
return n;
}
-function AAe(e) {
- var t = iV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = U8(e, CAe), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function jAe(e) {
+ var t = sV(), n = (0, I.useRef)(null), r = gK(), { type: i } = e, a = U8(e, wAe), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return H8(H8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(KTe(s)) : n.current !== s && t(qTe({
+ s != null && (n.current === null ? t(qTe(s)) : n.current !== s && t(JTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(JTe(n.current)), null);
+ n.current &&= (t(YTe(n.current)), null);
}, [t]), null;
}
-var jAe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(jG), i = NG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Qbe(e, t)), l = Q((e) => M$(e, t));
+var MAe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(MG), i = PG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => $be(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 = U8(e, wAe), { id: m, scale: h } = l, g = U8(l, TAe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, TAe), { id: m, scale: h } = l, g = U8(l, EAe);
return /*#__PURE__*/ I.createElement(z6, B8({}, p, g, {
x: c.x,
y: c.y,
@@ -67294,7 +67371,7 @@ var jAe = (e) => {
axisType: a,
axisId: t
}));
-}, MAe = {
+}, NAe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -67319,8 +67396,8 @@ var jAe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, W8 = /*#__PURE__*/ I.memo((e) => {
- var t = jB(e, MAe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(AAe, {
+ var t = PB(e, NAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jAe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -67346,16 +67423,16 @@ var jAe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(jAe, t));
+ }), /*#__PURE__*/ I.createElement(MAe, t));
}, z8);
W8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var NAe = ["type"], PAe = [
+var PAe = ["type"], FAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], FAe = ["id", "scale"];
+], IAe = ["id", "scale"];
function G8() {
return G8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67379,26 +67456,26 @@ function q8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K8(Object(n), !0).forEach(function(t) {
- IAe(e, t, n[t]);
+ LAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IAe(e, t, n) {
- return (t = LAe(t)) in e ? Object.defineProperty(e, t, {
+function LAe(e, t, n) {
+ return (t = RAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LAe(e) {
- var t = RAe(e, "string");
+function RAe(e) {
+ var t = zAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RAe(e, t) {
+function zAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67410,14 +67487,14 @@ function RAe(e, t) {
}
function J8(e, t) {
if (e == null) return {};
- var n, r, i = zAe(e, t);
+ var n, r, i = BAe(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 zAe(e, t) {
+function BAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67426,27 +67503,27 @@ function zAe(e, t) {
}
return n;
}
-function BAe(e) {
- var t = iV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = J8(e, NAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function VAe(e) {
+ var t = sV(), n = (0, I.useRef)(null), r = gK(), { type: i } = e, a = J8(e, PAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return q8(q8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(YTe(s)) : n.current !== s && t(XTe({
+ s != null && (n.current === null ? t(XTe(s)) : n.current !== s && t(ZTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(ZTe(n.current)), null);
+ n.current &&= (t(QTe(n.current)), null);
}, [t]), null;
}
-function VAe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(jG), c = NG(), l = iV(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => $be(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function HAe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(MG), c = PG(), l = sV(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => exe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, I.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || t4(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(tEe({
+ Math.round(d.width) !== Math.round(n) && l(nEe({
id: t,
width: n
}));
@@ -67461,7 +67538,7 @@ function VAe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, PAe), { id: y, scale: b } = m, x = J8(m, FAe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, FAe), { id: y, scale: b } = m, x = J8(m, IAe);
return /*#__PURE__*/ I.createElement(z6, G8({}, v, x, {
ref: a,
labelRef: o,
@@ -67477,7 +67554,7 @@ function VAe(e) {
axisId: t
}));
}
-var HAe = {
+var UAe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -67502,8 +67579,8 @@ var HAe = {
width: P$.width,
yAxisId: 0
}, Y8 = /*#__PURE__*/ I.memo((e) => {
- var t = jB(e, HAe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BAe, {
+ var t = PB(e, UAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(VAe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -67529,27 +67606,27 @@ var HAe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(VAe, t));
+ }), /*#__PURE__*/ I.createElement(HAe, t));
}, z8);
Y8.displayName = "YAxis";
var X8 = $([
(e, t) => t,
- pK,
+ mK,
rX,
dX,
D0,
k0,
- Yxe,
- kG
-], nSe);
+ Xxe,
+ AG
+], rSe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function UAe(e) {
+function WAe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Z8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (UAe(e)) {
+ if (WAe(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 {
@@ -67564,19 +67641,19 @@ function Z8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Q8 = bU("mouseClick"), $8 = OW();
+var Q8 = xU("mouseClick"), $8 = kW();
$8.startListening({
actionCreator: Q8,
effect: (e, t) => {
var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(lxe({
+ r?.activeIndex != null && t.dispatch(uxe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var e5 = bU("mouseMove"), t5 = OW(), n5 = null, r5 = null, i5 = null;
+var e5 = xU("mouseMove"), t5 = kW(), n5 = null, r5 = null, i5 = null;
t5.startListening({
actionCreator: e5,
effect: (e, t) => {
@@ -67607,7 +67684,7 @@ t5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function WAe(e, t) {
+function GAe(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
@@ -67624,17 +67701,17 @@ var a5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, o5 = HU({
+}, o5 = UU({
name: "rootProps",
initialState: a5,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? a5.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;
} }
-}), GAe = o5.reducer, { updateOptions: KAe } = o5.actions, s5 = HU({
+}), KAe = o5.reducer, { updateOptions: qAe } = o5.actions, s5 = UU({
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: qAe } = s5.actions, JAe = s5.reducer, c5 = bU("keyDown"), l5 = bU("focus"), u5 = bU("blur"), d5 = OW(), f5 = null, p5 = null, m5 = null;
+}), { updatePolarOptions: JAe } = s5.actions, YAe = s5.reducer, c5 = xU("keyDown"), l5 = xU("focus"), u5 = xU("blur"), d5 = kW(), f5 = null, p5 = null, m5 = null;
d5.startListening({
actionCreator: c5,
effect: (e, t) => {
@@ -67659,7 +67736,7 @@ d5.startListening({
}));
return;
}
- var c = exe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = txe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = X0(e, "axis", "hover", String(l));
t.dispatch(o0({
@@ -67722,7 +67799,7 @@ function h5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var g5 = bU("externalEvent"), _5 = OW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
+var g5 = xU("externalEvent"), _5 = kW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
_5.startListening({
actionCreator: g5,
effect: (e, t) => {
@@ -67742,12 +67819,12 @@ _5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: Fxe(a),
+ activeCoordinate: Ixe(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: Ixe(a)
+ isTooltipActive: Lxe(a)
};
n && n(o, r);
} finally {
@@ -67771,7 +67848,7 @@ _5.startListening({
}
}
});
-var YAe = $([
+var XAe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -67783,7 +67860,7 @@ var YAe = $([
if (i != null) return i(t);
}
}
-}), x5 = bU("touchMove"), S5 = OW(), C5 = null, w5 = null, T5 = null, E5 = null;
+}), x5 = xU("touchMove"), S5 = kW(), C5 = null, w5 = null, T5 = null, E5 = null;
S5.startListening({
actionCreator: x5,
effect: (e, t) => {
@@ -67816,9 +67893,9 @@ S5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(vG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(yG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = YAe(e, s, c);
+ var { dataKey: u } = l, d = XAe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -67850,33 +67927,33 @@ var D5 = {
"scroll",
"wheel"
]
-}, O5 = HU({
+}, O5 = UU({
name: "eventSettings",
initialState: D5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hq(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = gq(t.payload.throttledEvents));
} }
-}), { setEventSettings: XAe } = O5.actions, ZAe = O5.reducer, QAe = WV({
- brush: hDe,
- cartesianAxis: nEe,
- chartData: kSe,
- errorBars: POe,
- eventSettings: ZAe,
- graphicalItems: MTe,
- layout: FW,
- legend: Sq,
- options: wSe,
- polarAxis: Swe,
- polarOptions: JAe,
- referenceElements: EDe,
- renderedTicks: eOe,
- rootProps: GAe,
- tooltip: uxe,
- zIndex: hSe
-}), $Ae = function(e) {
+}), { setEventSettings: ZAe } = O5.actions, QAe = O5.reducer, $Ae = GV({
+ brush: gDe,
+ cartesianAxis: rEe,
+ chartData: ASe,
+ errorBars: FOe,
+ eventSettings: QAe,
+ graphicalItems: NTe,
+ layout: IW,
+ legend: Cq,
+ options: TSe,
+ polarAxis: Cwe,
+ polarOptions: YAe,
+ referenceElements: DDe,
+ renderedTicks: tOe,
+ rootProps: KAe,
+ tooltip: dxe,
+ zIndex: gSe
+}), eje = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return MU({
- reducer: QAe,
+ return NU({
+ reducer: $Ae,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -67894,10 +67971,10 @@ var D5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(AU({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(jU({ type: "raf" }));
},
devTools: pJ.devToolsEnabled && {
- serialize: { replacer: WAe },
+ serialize: { replacer: GAe },
name: `recharts-${t}`
}
});
@@ -67905,21 +67982,21 @@ var D5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function k5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = NG(), a = (0, I.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = PG(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= $Ae(t, r);
- var o = rV;
- return /*#__PURE__*/ I.createElement(Rq, {
+ a.current ??= eje(t, r);
+ var o = oV;
+ return /*#__PURE__*/ I.createElement(zq, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function eje(e) {
- var { layout: t, margin: n } = e, r = iV(), i = NG();
+function tje(e) {
+ var { layout: t, margin: n } = e, r = sV(), i = PG();
return (0, I.useEffect)(() => {
- i || (r(MW(t)), r(jW(n)));
+ i || (r(NW(t)), r(MW(n)));
}, [
r,
i,
@@ -67927,31 +68004,31 @@ function eje(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, I.memo)(eje, Vq);
+var A5 = /*#__PURE__*/ (0, I.memo)(tje, Hq);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function j5(e) {
- var t = iV();
+ var t = sV();
return (0, I.useEffect)(() => {
- t(KAe(e));
+ t(qAe(e));
}, [t, e]), null;
}
var M5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = iV();
+ var t = sV();
return (0, I.useEffect)(() => {
- t(XAe(e));
+ t(ZAe(e));
}, [t, e]), null;
-}, Vq);
+}, Hq);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function N5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = iV();
- return (0, I.useLayoutEffect)(() => (r.current && i(pSe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = sV();
+ return (0, I.useLayoutEffect)(() => (r.current && i(mSe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(mSe({
+ i(hSe({
zIndex: t,
isPanorama: n
}));
@@ -67966,7 +68043,7 @@ function N5(e) {
});
}
function P5(e) {
- var { children: t, isPanorama: n } = e, r = Q(iSe);
+ var { children: t, isPanorama: n } = e, r = Q(aSe);
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(N5, {
@@ -67981,17 +68058,17 @@ function P5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var tje = ["children"];
-function nje(e, t) {
+var nje = ["children"];
+function rje(e, t) {
if (e == null) return {};
- var n, r, i = rje(e, t);
+ var n, r, i = ije(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 rje(e, t) {
+function ije(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68009,46 +68086,46 @@ function F5() {
return e;
}, F5.apply(null, arguments);
}
-var ije = {
+var aje = {
width: "100%",
height: "100%",
display: "block"
-}, aje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = uK(), r = dK(), i = _J();
- if (!RW(n) || !RW(r)) return null;
+}, oje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = dK(), r = fK(), i = _J();
+ if (!zW(n) || !zW(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(az, F5({}, 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(cz, F5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: ije,
+ style: aje,
ref: t
}), a);
-}), oje = (e) => {
- var { children: t } = e, n = Q(FG);
+}), sje = (e) => {
+ var { children: t } = e, n = Q(IG);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(az, {
+ return /*#__PURE__*/ I.createElement(cz, {
width: r,
height: i,
x: o,
y: a
}, t);
}, I5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = nje(e, tje);
- return NG() ? /*#__PURE__*/ I.createElement(oje, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(aje, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = rje(e, nje);
+ return PG() ? /*#__PURE__*/ I.createElement(sje, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(oje, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function sje() {
- var e = iV(), [t, n] = (0, I.useState)(null), r = Q(mG);
+function cje() {
+ var e = sV(), [t, n] = (0, I.useState)(null), r = Q(hG);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- LW(n) && n !== r && e(PW(n));
+ RW(n) && n !== r && e(FW(n));
}
}, [
t,
@@ -68068,30 +68145,30 @@ function L5(e, t) {
}
return n;
}
-function cje(e) {
+function lje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L5(Object(n), !0).forEach(function(t) {
- lje(e, t, n[t]);
+ uje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lje(e, t, n) {
- return (t = uje(t)) in e ? Object.defineProperty(e, t, {
+function uje(e, t, n) {
+ return (t = dje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uje(e) {
- var t = dje(e, "string");
+function dje(e) {
+ var t = fje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dje(e, t) {
+function fje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68110,7 +68187,7 @@ function R5() {
return e;
}, R5.apply(null, arguments);
}
-var fje = () => (RSe(), null);
+var pje = () => (zSe(), null);
function z5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -68119,7 +68196,7 @@ function z5(e) {
}
return 0;
}
-var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var mje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: z5(e.style?.width),
containerHeight: z5(e.style?.height)
@@ -68147,11 +68224,11 @@ var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}, [t, a]);
return (0, I.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: o }, e)));
-}), mje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), hje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: z5(n),
containerHeight: z5(r)
@@ -68169,32 +68246,32 @@ var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: s }, e)));
-}), hje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
-}), gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), _je = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(mje, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(hje, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(hje, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(gje, R5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
});
-function _je(e) {
- return e ? pje : gje;
+function vje(e) {
+ return e ? mje : _je;
}
-var vje = /*#__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 = iV(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = sje(), D = rK(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var yje = /*#__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 = sV(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = cje(), D = iK(), 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,
@@ -68266,12 +68343,12 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = _je(v);
- return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(cz.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
+ }, [x, p]), le = vje(v);
+ return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(dz.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: bh("recharts-wrapper", r),
- style: cje({
+ style: lje({
position: "relative",
cursor: "default",
width: O,
@@ -68292,8 +68369,8 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ I.createElement(fje, null), n)));
-}), yje = [
+ }, /*#__PURE__*/ I.createElement(pje, null), n)));
+}), bje = [
"width",
"height",
"responsive",
@@ -68304,16 +68381,16 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function bje(e, t) {
+function xje(e, t) {
if (e == null) return {};
- var n, r, i = xje(e, t);
+ var n, r, i = Sje(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 xje(e, t) {
+function Sje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68323,15 +68400,15 @@ function xje(e, t) {
return n;
}
var B5 = /*#__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 = tz(bje(e, yje));
- return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = iz(xje(e, bje));
+ return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement(I5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(vje, {
+ }, a)) : /*#__PURE__*/ I.createElement(yje, {
className: o,
style: s,
width: n,
@@ -68353,7 +68430,7 @@ var B5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(DDe, null, a)));
+ }, /*#__PURE__*/ I.createElement(ODe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -68376,30 +68453,30 @@ function H5(e, t) {
}
return n;
}
-function Sje(e) {
+function Cje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H5(Object(n), !0).forEach(function(t) {
- Cje(e, t, n[t]);
+ wje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cje(e, t, n) {
- return (t = wje(t)) in e ? Object.defineProperty(e, t, {
+function wje(e, t, n) {
+ return (t = Tje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wje(e) {
- var t = Tje(e, "string");
+function Tje(e) {
+ var t = Eje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tje(e, t) {
+function Eje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68409,7 +68486,7 @@ function Tje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Eje = Sje({
+var Dje = Cje({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -68425,7 +68502,7 @@ var Eje = Sje({
stackOffset: "none",
syncMethod: "index"
}, D5), U5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = jB(e.categoricalChartProps, Eje), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = PB(e.categoricalChartProps, Dje), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -68454,32 +68531,32 @@ var Eje = Sje({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(B5, V5({}, n, { ref: t })));
-}), Dje = ["axis"], Oje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Oje = ["axis"], kje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Dje,
+ validateTooltipEventTypes: Oje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), kje = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+})), Aje = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: kje,
+ validateTooltipEventTypes: Aje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function Aje(e) {
- var t = iV();
+function jje(e) {
+ var t = sV();
return (0, I.useEffect)(() => {
- t(qAe(e));
+ t(JAe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var jje = ["layout"];
+var Mje = ["layout"];
function G5() {
return G5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68489,16 +68566,16 @@ function G5() {
return e;
}, G5.apply(null, arguments);
}
-function Mje(e, t) {
+function Nje(e, t) {
if (e == null) return {};
- var n, r, i = Nje(e, t);
+ var n, r, i = Pje(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 Nje(e, t) {
+function Pje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68517,30 +68594,30 @@ function K5(e, t) {
}
return n;
}
-function Pje(e) {
+function Fje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K5(Object(n), !0).forEach(function(t) {
- Fje(e, t, n[t]);
+ Ije(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Fje(e, t, n) {
- return (t = Ije(t)) in e ? Object.defineProperty(e, t, {
+function Ije(e, t, n) {
+ return (t = Lje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ije(e) {
- var t = Lje(e, "string");
+function Lje(e) {
+ var t = Rje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Lje(e, t) {
+function Rje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68550,7 +68627,7 @@ function Lje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = Pje({
+var q5 = Fje({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -68570,7 +68647,7 @@ var q5 = Pje({
innerRadius: 0,
outerRadius: "80%"
}, D5), J5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = jB(e.categoricalChartProps, q5), { layout: r } = n, i = Mje(n, jje), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = PB(e.categoricalChartProps, q5), { layout: r } = n, i = Nje(n, Mje), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -68598,7 +68675,7 @@ var q5 = Pje({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(Aje, {
+ }), /*#__PURE__*/ I.createElement(jje, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -68623,26 +68700,26 @@ function X5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y5(Object(n), !0).forEach(function(t) {
- Rje(e, t, n[t]);
+ zje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rje(e, t, n) {
- return (t = zje(t)) in e ? Object.defineProperty(e, t, {
+function zje(e, t, n) {
+ return (t = Bje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zje(e) {
- var t = Bje(e, "string");
+function Bje(e) {
+ var t = Vje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bje(e, t) {
+function Vje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68652,24 +68729,24 @@ function Bje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Vje = ["axis"], Hje = X5(X5({}, q5), {}, {
+var Hje = ["axis"], Uje = X5(X5({}, q5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), Uje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = jB(e, Hje);
+}), Wje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = PB(e, Uje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Vje,
+ validateTooltipEventTypes: Hje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), Wje = ["axis"], Gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Gje = ["axis"], Kje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Wje,
+ validateTooltipEventTypes: Gje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -68690,26 +68767,26 @@ function Q5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Z5(Object(n), !0).forEach(function(t) {
- Kje(e, t, n[t]);
+ $5(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kje(e, t, n) {
- return (t = $5(t)) in e ? Object.defineProperty(e, t, {
+function $5(e, t, n) {
+ return (t = qje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $5(e) {
- var t = qje(e, "string");
+function qje(e) {
+ var t = Jje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qje(e, t) {
+function Jje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68719,16 +68796,16 @@ function qje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Jje = ["axis", "item"], Yje = Q5(Q5({}, q5), {}, {
+var Yje = ["axis", "item"], Xje = Q5(Q5({}, q5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), Xje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = jB(e, Yje);
+}), Zje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = PB(e, Xje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Jje,
+ validateTooltipEventTypes: Yje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -68737,7 +68814,7 @@ var Jje = ["axis", "item"], Yje = Q5(Q5({}, q5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e7(...e) {
- return sw(bh(e));
+ return ow(bh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -68745,7 +68822,7 @@ var t7 = {
light: "",
dark: ".dark"
}, n7 = Object.keys(t7);
-function Zje(e) {
+function Qje(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);
@@ -68759,7 +68836,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 Zje(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return Qje(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
@@ -68771,7 +68848,7 @@ function a7({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, L.jsx)(aK, {
+ /* @__PURE__ */ (0, L.jsx)(oK, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -68790,7 +68867,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function Qje(e, t) {
+function $je(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -68805,7 +68882,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 ? [] : Qje(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : $je(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 } });
};
@@ -68819,15 +68896,15 @@ function l7(e) {
let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var $je = (e = 10, t = 0, n = 70) => {
+var eMe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, eMe = {
+}, tMe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, tMe = {
+}, nMe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -68854,7 +68931,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", eMe[p], tMe[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", tMe[p], nMe[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) => {
@@ -68868,7 +68945,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: nMe(n, o)
+ style: rMe(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", {
@@ -68887,10 +68964,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function nMe(e, t) {
+function rMe(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)(KSe, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(qSe, {
animationDuration: e,
...t
});
@@ -68907,7 +68984,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)(rMe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(iMe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -68916,8 +68993,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function rMe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = iMe(t, n), i = aMe(t, n);
+function iMe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = aMe(t, n), i = oMe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -68949,10 +69026,10 @@ function rMe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function iMe(e, t) {
+function aMe(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 aMe(e, t) {
+function oMe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -68967,12 +69044,12 @@ function aMe(e, t) {
...n
};
}
-var p7 = aJ, m7 = () => null, h7 = {
+var p7 = oJ, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function oMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function sMe({ 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,
@@ -69018,7 +69095,7 @@ function oMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function sMe({ 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 cMe({ 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))
@@ -69052,7 +69129,7 @@ function sMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = oMe({
+ }, [C, v]), { isDragging: A, bind: j } = sMe({
range: E,
totalPoints: C,
containerRef: x,
@@ -69108,7 +69185,7 @@ function sMe({ 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)(cMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(lMe, {
data: e,
keys: S,
chartConfig: t,
@@ -69177,7 +69254,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function lMe({ 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)
@@ -69234,10 +69311,10 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, L.jsx)(aK, {
+ if (r === "line") return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(Oje, {
+ children: /* @__PURE__ */ (0, L.jsxs)(kje, {
data: e,
margin: {
top: 4,
@@ -69261,7 +69338,7 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, L.jsx)(aK, {
+ return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, L.jsxs)(W5, {
@@ -69290,10 +69367,10 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(aK, {
+ return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(Gje, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Kje, {
data: e,
margin: {
top: 4,
@@ -69319,7 +69396,7 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function lMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function uMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -69343,7 +69420,7 @@ function lMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var uMe = {
+var dMe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -69516,7 +69593,7 @@ var uMe = {
})
};
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 = uMe[e];
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = dMe[e];
return /* @__PURE__ */ (0, L.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
@@ -69547,7 +69624,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, dMe = "loading", fMe = 2e3, pMe = "evil-stacked", mMe = .5, hMe = .05, gMe = [
+var v7 = 2, fMe = "loading", pMe = 2e3, mMe = "evil-stacked", hMe = .5, gMe = .05, _Me = [
0,
.7,
.5,
@@ -69559,7 +69636,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 } = FMe(m, h), { visibleData: T, brushProps: E } = lMe({ 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 } = IMe(m, h), { visibleData: T, brushProps: E } = uMe({ 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: {
@@ -69602,7 +69679,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)(sMe, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(cMe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -69633,7 +69710,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)(O6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(IMe, {
+ m && /* @__PURE__ */ (0, L.jsx)(LMe, {
chartId: _,
onShimmerExit: w
})
@@ -69642,7 +69719,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function vMe({ 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 = ep();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -69665,7 +69742,7 @@ function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
dataKey: e,
- stackId: u ? pMe : void 0,
+ stackId: u ? mMe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -69682,44 +69759,44 @@ function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(EMe, {
+ /* @__PURE__ */ (0, L.jsx)(DMe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(DMe, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(OMe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(kMe, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(AMe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(AMe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(jMe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(jMe, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(MMe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)(MMe, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(NMe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(OMe, {
+ s && /* @__PURE__ */ (0, L.jsx)(kMe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(NMe, {
+ o && /* @__PURE__ */ (0, L.jsx)(PMe, {
id: b,
dataKey: e
})
] })] });
}
-function vMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function yMe({ 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)(W8, {
tickLine: e,
@@ -69730,7 +69807,7 @@ function vMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function bMe({ 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)(Y8, {
tickLine: e,
@@ -69742,7 +69819,7 @@ function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function bMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function xMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(G6, {
strokeDasharray: e,
@@ -69751,7 +69828,7 @@ function bMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function xMe({ variant: e, roundness: t, defaultIndex: n }) {
+function SMe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -69763,7 +69840,7 @@ function xMe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function SMe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function CMe({ 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,
@@ -69777,7 +69854,7 @@ function SMe({ 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 = CMe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : wMe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = TMe({
+ 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 = wMe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : TMe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = EMe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -69822,7 +69899,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, CMe = (e, t, n, r, i) => {
+}, wMe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -69837,11 +69914,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * hMe * 1e3, l = mMe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * gMe * 1e3, l = hMe * 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: gMe,
+ ease: _Me,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -69855,7 +69932,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, wMe = (e, t, n) => {
+}, TMe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -69864,10 +69941,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, TMe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, EMe = ({ 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;
-}, EMe = ({ id: e, dataKey: t, config: n }) => {
+}, DMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -69889,7 +69966,7 @@ var S7 = (e) => {
}, i);
})
});
-}, DMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, OMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -69930,7 +70007,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), OMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), kMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -69971,7 +70048,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), kMe = ({ id: e, dataKey: t, config: n }) => {
+] }), AMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -70039,7 +70116,7 @@ var S7 = (e) => {
})
})
] });
-}, AMe = ({ id: e, dataKey: t, config: n }) => {
+}, jMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -70107,7 +70184,7 @@ var S7 = (e) => {
})
})
] });
-}, jMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, MMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -70144,7 +70221,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), MMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), NMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -70181,7 +70258,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), NMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), PMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -70201,35 +70278,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), PMe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), FMe = (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 FMe(e, t = 12) {
+function IMe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => $je(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => eMe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
- dataKey: dMe,
+var LMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
+ dataKey: fMe,
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)(LMe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(RMe, {
chartId: e,
onShimmerExit: t
-}) })] }), LMe = ({ chartId: e, onShimmerExit: t }) => {
- let n = PMe(), r = (0, I.useRef)(-1);
+}) })] }), RMe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = FMe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -70260,7 +70337,7 @@ var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: fMe / 1e3,
+ duration: pMe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -70282,10 +70359,10 @@ var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = _Me, x7.XAxis = vMe, x7.YAxis = yMe, x7.Grid = bMe, x7.Tooltip = xMe, x7.Legend = SMe, x7.Brush = m7;
+x7.Bar = vMe, x7.XAxis = yMe, x7.YAxis = bMe, x7.Grid = xMe, x7.Tooltip = SMe, x7.Legend = CMe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${hw({ 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",
@@ -70312,7 +70389,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function RMe(e) {
+function zMe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -70337,7 +70414,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function zMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function BMe({ 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;
@@ -70362,7 +70439,7 @@ function zMe({ 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)(zMe, {
+ content: /* @__PURE__ */ (0, L.jsx)(BMe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -70439,7 +70516,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function BMe(e) {
+function VMe(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;
@@ -70456,7 +70533,7 @@ function BMe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function VMe(e) {
+function HMe(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,
@@ -70495,19 +70572,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, HMe = {
+}, UMe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function UMe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function WMe({ 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} ${HMe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${UMe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -70565,7 +70642,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(UMe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(WMe, {
cell: g,
series: t.series,
tone: c,
@@ -70581,7 +70658,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var WMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var GMe = /* @__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",
@@ -70595,7 +70672,7 @@ var WMe = /* @__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 = BMe(e), s = VMe(e);
+ let o = VMe(e), s = HMe(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, {
@@ -70606,7 +70683,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: WMe,
+ axis: GMe,
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,
@@ -70672,20 +70749,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(GS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(WS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var GMe = "30%", KMe = "100%", U7 = 5, W7 = 14, qMe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var KMe = "30%", qMe = "100%", U7 = 5, W7 = 14, JMe = 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 = GMe, outerRadius: l = KMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = eNe(f), v = ZMe(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 = KMe, outerRadius: l = qMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = tNe(f), v = QMe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -70717,7 +70794,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)(Xje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(Zje, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -70736,8 +70813,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)(tNe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(QMe, {
+ f && /* @__PURE__ */ (0, L.jsx)(nNe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)($Me, {
config: e,
chartId: m
}) })
@@ -70746,7 +70823,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function JMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function YMe({ 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)(y6, {
dataKey: e,
@@ -70771,7 +70848,7 @@ function JMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function YMe({ variant: e, roundness: t, defaultIndex: n }) {
+function XMe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -70784,7 +70861,7 @@ function YMe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function XMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function ZMe({ 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,
@@ -70798,7 +70875,7 @@ function XMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function ZMe(e) {
+function QMe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -70814,7 +70891,7 @@ function ZMe(e) {
};
}
}
-var QMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var $Me = ({ 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}`,
@@ -70837,13 +70914,13 @@ var QMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function $Me() {
- return Array.from({ length: qMe }, (e, t) => ({
+function eNe() {
+ return Array.from({ length: JMe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function eNe(e) {
+function tNe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -70851,9 +70928,9 @@ function eNe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => $Me(), [t]);
+ }, [e]), (0, I.useMemo)(() => eNe(), [t]);
}
-var tNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
+var nNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -70867,17 +70944,17 @@ var tNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
fillOpacity: .25
})
});
-J7.RadialBar = JMe, J7.Tooltip = YMe, J7.Legend = XMe;
+J7.RadialBar = YMe, J7.Tooltip = XMe, J7.Legend = ZMe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var nNe = [
+var rNe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], rNe = [
+], iNe = [
"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",
@@ -70918,13 +70995,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: RMe(s.map((e) => e.name)),
- max: Mpe(s.map((e) => e.value)),
+ config: zMe(s.map((e) => e.name)),
+ max: Ape(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: Npe(s.length),
+ barSize: jpe(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, L.jsx)(dY, {
...e,
@@ -70950,13 +71027,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 ${rNe[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 ${iNe[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 ${nNe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${rNe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -70975,7 +71052,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var iNe = 10, X7 = T7[5], aNe = T7[4], oNe = `${gw()} flex flex-col gap-4`, sNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", cNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", lNe = "开始播放后,这里会显示最近的真实观看证据。", uNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", dNe = "添加媒体文件夹后,这里会显示存储空间。";
+var aNe = 10, X7 = T7[5], oNe = T7[4], sNe = `${hw()} flex flex-col gap-4`, cNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", lNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", uNe = "开始播放后,这里会显示最近的真实观看证据。", dNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", fNe = "添加媒体文件夹后,这里会显示存储空间。";
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",
@@ -70997,10 +71074,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: [JR(t, n), "%"]
+ children: [ZR(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(xw, {
+ }), /* @__PURE__ */ (0, L.jsx)(bw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -71028,14 +71105,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${oNe} md:flex-row md:gap-6`,
+ className: `${sNe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function fNe({ data: t, configurable: n, openMediaSettings: r }) {
+function pNe({ 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", {
@@ -71063,14 +71140,14 @@ function fNe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: Lpe(t.by_length)
+ rows: Fpe(t.by_length)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
- rows: ZR(t.by_quality)
+ rows: ez(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -71078,28 +71155,28 @@ function fNe({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: X7,
layout: "horizontal",
- rows: Fpe(t.by_medium)
+ rows: Npe(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: Jte,
+ icon: Yte,
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)(fw, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: sNe
+ children: cNe
});
}
-function pNe({ data: e }) {
+function mNe({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -71114,11 +71191,11 @@ function pNe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: aNe,
- rows: zpe(e.replays)
+ color: oNe,
+ rows: Lpe(e.replays)
})] });
}
-function mNe({ attribution: e }) {
+function hNe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -71151,7 +71228,7 @@ function mNe({ attribution: e }) {
]
});
}
-function hNe({ volume: e }) {
+function gNe({ 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",
@@ -71168,11 +71245,11 @@ function hNe({ 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: [JR(n, t), "%"]
+ children: [ZR(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(xw, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(bw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -71190,25 +71267,25 @@ function hNe({ volume: e }) {
]
});
}
-function gNe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function _Ne({ 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)(hNe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(gNe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: sC,
+ icon: oC,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: dNe
+ children: fNe
});
}
-function _Ne({ tags: e, tagLabel: t, onTag: n }) {
+function vNe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: iNe,
+ previewCount: aNe,
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",
@@ -71232,24 +71309,24 @@ function _Ne({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: pC,
+ icon: fC,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: cNe
+ children: lNe
});
}
-function vNe({ rows: e }) {
+function yNe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = YR(e);
+ let t = QR(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", {
@@ -71257,41 +71334,41 @@ function vNe({ 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: jpe(e),
+ href: kpe(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: Ape(e) })]
+ children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: Ope(e) })]
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(xw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(bw, {
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)}% · 到达 ${XR(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${$R(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: cC,
+ icon: sC,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: lNe
+ children: uNe
});
}
-function yNe({ sources: e, videos: t }) {
+function bNe({ 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", {
@@ -71310,7 +71387,7 @@ function yNe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(xw, {
+ /* @__PURE__ */ (0, L.jsx)(bw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -71321,27 +71398,27 @@ function yNe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: pC,
+ icon: fC,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: uNe
+ children: dNe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, L.jsx)(xA, {
+ return /* @__PURE__ */ (0, L.jsx)(bA, {
id: e,
- className: ID({
+ className: FD({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, L.jsx)(BD, {
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: t,
icon: i,
accent: a,
@@ -71350,33 +71427,33 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function bNe(e) {
+function xNe(e) {
let t = Ft({
- queryKey: KR,
- queryFn: ({ signal: e }) => qR(e)
+ queryKey: YR,
+ queryFn: ({ signal: e }) => XR(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(vw, { 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 = JR(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(yw, { 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 = ZR(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsxs)(bA, {
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
"aria-label": "统计视图",
- className: LD,
+ className: ID,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: eC,
+ icon: $S,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -71384,15 +71461,15 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: iC,
+ icon: rC,
accent: 1,
figure: r.played.toLocaleString(),
- detail: kpe(r.play_seconds)
+ detail: Dpe(r.play_seconds)
}),
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: pC,
+ icon: fC,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -71400,21 +71477,21 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: sC,
+ icon: oC,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(fNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(pNe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, L.jsxs)(SA, {
+ /* @__PURE__ */ (0, L.jsxs)(xA, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsx)(e9, {
@@ -71460,9 +71537,9 @@ function bNe(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(pNe, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(mNe, { data: n })]
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "coverage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -71470,10 +71547,10 @@ function bNe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(mNe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(hNe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "storage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -71481,7 +71558,7 @@ function bNe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(gNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(_Ne, {
volumes: n.storage_volumes,
...e
})
@@ -71489,50 +71566,50 @@ function bNe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
- className: `${gw({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
+ className: `${hw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsxs)(KN, {
+ children: /* @__PURE__ */ (0, L.jsxs)(UN, {
"aria-label": "统计维度",
- className: JN,
+ className: GN,
children: [
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "tags",
- className: YN,
+ className: KN,
children: "内容标签"
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "recent",
- className: YN,
+ className: KN,
children: "最近看过"
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "sources",
- className: YN,
+ className: KN,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(_Ne, {
+ children: /* @__PURE__ */ (0, L.jsx)(vNe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(vNe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(yNe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, L.jsx)(SA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(yNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(bNe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -71543,7 +71620,7 @@ function bNe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function xNe(e, t) {
+function SNe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -71567,13 +71644,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function SNe(e) {
+function CNe(e) {
return e.index;
}
-function CNe(e) {
+function wNe(e) {
return e.nodes;
}
-function wNe(e) {
+function TNe(e) {
return e.links;
}
function s9(e, t) {
@@ -71588,8 +71665,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function TNe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = SNe, c = xNe, l, u, d = CNe, f = wNe, p = 6;
+function ENe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = CNe, c = SNe, l, u, d = wNe, f = TNe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -71775,7 +71852,7 @@ function TNe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, ENe = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, DNe = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -71816,7 +71893,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 > ENe ? 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 > DNe ? 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";
@@ -71834,27 +71911,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function DNe(e) {
+function ONe(e) {
return e[0];
}
-function ONe(e) {
+function kNe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var kNe = Array.prototype.slice;
+var ANe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function ANe(e) {
+function jNe(e) {
return e.source;
}
-function jNe(e) {
+function MNe(e) {
return e.target;
}
-function MNe(e) {
- var t = ANe, n = jNe, r = DNe, i = ONe, a = null;
+function NNe(e) {
+ var t = jNe, n = MNe, r = ONe, i = kNe, a = null;
function o() {
- var o, s = kNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = ANe.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) {
@@ -71869,48 +71946,48 @@ function MNe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function NNe(e, t, n, r, i) {
+function PNe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function PNe() {
- return MNe(NNe);
+function FNe() {
+ return NNe(PNe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function FNe(e) {
+function INe(e) {
return [e.source.x1, e.y0];
}
-function INe(e) {
+function LNe(e) {
return [e.target.x0, e.y1];
}
-function LNe() {
- return PNe().source(FNe).target(INe);
+function RNe() {
+ return FNe().source(INe).target(LNe);
}
//#endregion
//#region src/react/taste/taste.ts
-var RNe = "/api/taste", h9 = "/api/taste/refresh", zNe = "/api/taste/import", BNe = "/api/taste/source", g9 = (e) => ["taste", e], VNe = ["taste", "refresh"], HNe = [
+var zNe = "/api/taste", h9 = "/api/taste/refresh", BNe = "/api/taste/import", VNe = "/api/taste/source", g9 = (e) => ["taste", e], HNe = ["taste", "refresh"], UNe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => hw(`${RNe}?window=${e}`, t), UNe = (e) => hw(h9, e);
-async function WNe(e, t) {
+], _9 = (e, t) => mw(`${zNe}?window=${e}`, t), WNe = (e) => mw(h9, e);
+async function GNe(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var GNe = (e) => q(h9, {
+var KNe = (e) => q(h9, {
window: e,
background: !0
-}), KNe = (e, t) => q(BNe, {
+}), qNe = (e, t) => q(VNe, {
operation: "remove",
source_key: e,
window: t
});
-async function qNe(e) {
- let t = await fetch(zNe, {
+async function JNe(e) {
+ let t = await fetch(BNe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -71924,25 +72001,25 @@ async function qNe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new pw(e || `导入失败(${t.status})`, t.status, n);
+ throw new fw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var JNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", YNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, XNe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function ZNe(e) {
+var YNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", XNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, ZNe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function QNe(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 QNe(e) {
- let t = e.map(XNe), n = Math.max(1, ...t);
+function $Ne(e) {
+ let t = e.map(ZNe), 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 $Ne(e) {
+function ePe(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -71953,10 +72030,10 @@ var b9 = {
source: 145,
target: 545
};
-function ePe(e = []) {
+function tPe(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 = TNe().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 = ENe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -71971,7 +72048,7 @@ function ePe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = LNe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = RNe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -72001,7 +72078,7 @@ function ePe(e = []) {
total: a
};
}
-var tPe = (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 nPe = (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) {
@@ -72124,14 +72201,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 nPe = 1, rPe = .3, iPe = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var rPe = 1, iPe = .3, aPe = 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 = _Pe(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = vPe(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -72149,32 +72226,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)(Uje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(Wje, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(vPe, {})
+ c && /* @__PURE__ */ (0, L.jsx)(yPe, {})
]
})]
})
});
}
-function aPe({ dataKey: e, variant: t = "filled", fillOpacity: n = rPe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function oPe({ dataKey: e, variant: t = "filled", fillOpacity: n = iPe, 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 } = dPe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = fPe(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: nPe,
+ strokeWidth: rPe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -72187,29 +72264,29 @@ function aPe({ dataKey: e, variant: t = "filled", fillOpacity: n = rPe, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(fPe, {
+ /* @__PURE__ */ (0, L.jsx)(pPe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(pPe, {
+ /* @__PURE__ */ (0, L.jsx)(mPe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(mPe, {
+ m && /* @__PURE__ */ (0, L.jsx)(hPe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(hPe, {
+ r && /* @__PURE__ */ (0, L.jsx)(gPe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function oPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function sPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, L.jsx)(I4, {
gridType: e,
stroke: t,
@@ -72218,7 +72295,7 @@ function oPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function sPe({ tick: e = {
+function cPe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -72229,7 +72306,7 @@ function sPe({ tick: e = {
...n
});
}
-function cPe({ tick: e = {
+function lPe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -72241,7 +72318,7 @@ function cPe({ tick: e = {
...r
});
}
-function lPe({ variant: e, roundness: t, defaultIndex: n }) {
+function uPe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -72253,7 +72330,7 @@ function lPe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function uPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function dPe({ 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,
@@ -72266,7 +72343,7 @@ function uPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var dPe = (e, t, n, r) => {
+var fPe = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -72308,7 +72385,7 @@ var dPe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), fPe = ({ id: e, dataKey: t, config: n }) => {
+}) }), pPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -72321,7 +72398,7 @@ var dPe = (e, t, n, r) => {
colorsCount: r
})
});
-}, pPe = ({ id: e, dataKey: t, config: n }) => {
+}, mPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -72334,7 +72411,7 @@ var dPe = (e, t, n, r) => {
colorsCount: r
})
});
-}, mPe = ({ id: e, dataKey: t, config: n }) => {
+}, hPe = ({ 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}`,
@@ -72347,7 +72424,7 @@ var dPe = (e, t, n, r) => {
opacities: i
})
});
-}, hPe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, gPe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -72367,7 +72444,7 @@ var dPe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), gPe = (e) => [
+}), _Pe = (e) => [
"A",
"B",
"C",
@@ -72378,7 +72455,7 @@ var dPe = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function _Pe(e, t = iPe) {
+function vPe(e, t = aPe) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -72386,9 +72463,9 @@ function _Pe(e, t = iPe) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => gPe(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => _Pe(t), [t, n]);
}
-var vPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
+var yPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -72400,17 +72477,17 @@ var vPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = aPe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = oPe, A9.PolarAngleAxis = sPe, A9.PolarRadiusAxis = cPe, A9.Tooltip = lPe, A9.Legend = uPe;
+A9.Radar = oPe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = sPe, A9.PolarAngleAxis = cPe, A9.PolarRadiusAxis = lPe, A9.Tooltip = uPe, A9.Legend = dPe;
//#endregion
//#region src/react/taste/charts.tsx
-var yPe = [
+var bPe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], bPe = [
+], xPe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -72420,7 +72497,7 @@ var yPe = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, xPe = [
+} }, SPe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -72430,20 +72507,20 @@ var yPe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], SPe = 26, CPe = { radius: P9.value }, wPe = (e, t) => Math.sqrt(e / t);
-function TPe({ rows: e, label: t }) {
- let n = $Ne(e);
+], CPe = 26, wPe = { radius: P9.value }, TPe = (e, t) => Math.sqrt(e / t);
+function EPe({ rows: e, label: t }) {
+ let n = ePe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: wPe(e.value, r)
+ radius: TPe(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: CPe,
+ config: wPe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -72460,17 +72537,17 @@ function TPe({ rows: e, label: t }) {
})
});
}
-function EPe({ rows: e, label: t }) {
+function DPe({ 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 ${xPe[n.length]}`,
+ className: `flex grow flex-col ${SPe[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: SPe },
+ chartProps: { maxBarSize: CPe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -72494,8 +72571,8 @@ function EPe({ rows: e, label: t }) {
})
}) : null;
}
-function DPe({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = ePe(e);
+function OPe({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = tPe(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", {
@@ -72523,7 +72600,7 @@ function DPe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${yPe[e.color]}`,
+ className: `outline-none transition-opacity ${bPe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -72557,14 +72634,14 @@ function DPe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? bPe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? xPe[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: [tPe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [nPe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -72582,11 +72659,11 @@ function DPe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var OPe = 10, F9 = sw(OA, kA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", kPe = "读取运行 Peach 的这台电脑上的浏览记录", APe = "导入或读取浏览记录后,这里会列出已采集设备。", jPe = "馆藏里暂时没有对得上浏览信号的标签。", MPe = "采集浏览记录后,这里会显示聚合后的口味证据。", NPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", PPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", FPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", IPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", LPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var kPe = 10, F9 = ow(DA, OA, "text-body-2-medium"), I9 = `${hw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", APe = "读取运行 Peach 的这台电脑上的浏览记录", jPe = "导入或读取浏览记录后,这里会列出已采集设备。", MPe = "馆藏里暂时没有对得上浏览信号的标签。", NPe = "采集浏览记录后,这里会显示聚合后的口味证据。", PPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", FPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", IPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", LPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", RPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: ID(),
- children: /* @__PURE__ */ (0, L.jsx)(BD, {
+ className: FD(),
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: t,
icon: e,
accent: i,
@@ -72609,22 +72686,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function RPe({ html: e }) {
+function zPe({ 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 ${bL}`,
+ 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 ${SL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(_w, {
+function BPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: gC,
+ icon: hC,
title: "暂无足够证据",
children: r
});
- let o = QNe(e);
+ let o = $Ne(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: OPe,
+ previewCount: kPe,
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: [
@@ -72651,7 +72728,7 @@ function zPe({ 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)(RPe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(zPe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -72663,10 +72740,10 @@ function zPe({ 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: ZNe(e)
+ children: QNe(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(qS, {
+ s ? /* @__PURE__ */ (0, L.jsx)(KS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -72687,23 +72764,23 @@ function zPe({ 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)(yA, {
- className: `${gw({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, L.jsxs)(vA, {
+ className: `${hw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsx)(KN, {
+ children: /* @__PURE__ */ (0, L.jsx)(UN, {
"aria-label": e,
- className: JN,
- children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(xA, {
+ className: GN,
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(bA, {
id: e.id,
- className: YN,
+ className: KN,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(SA, {
+ }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(xA, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(zPe, {
+ children: /* @__PURE__ */ (0, L.jsx)(BPe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -72711,7 +72788,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function BPe({ data: e, onSignal: t, navigate: n }) {
+function VPe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -72777,21 +72854,21 @@ function BPe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(qS, {
+ }), /* @__PURE__ */ (0, L.jsx)(KS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: gC,
+ icon: hC,
title: "还没有可探索的入口",
- children: jPe
+ children: MPe
})
]
});
}
-function VPe({ onboarding: e, done: t }) {
+function HPe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -72800,21 +72877,21 @@ function VPe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: gw({
+ className: hw({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, L.jsxs)(rj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(ej, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: PPe
+ children: FPe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: FPe
+ children: IPe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -72844,7 +72921,7 @@ function VPe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: IPe
+ children: LPe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -72864,7 +72941,7 @@ function VPe({ onboarding: e, done: t }) {
})
});
}
-function HPe({ busy: e, onRefresh: t, onImport: n }) {
+function UPe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -72873,35 +72950,38 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: $S,
- title: kPe,
+ leadingIcon: QS,
+ title: APe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: GS,
+ leadingIcon: WS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
- onClick: () => a(!0)
+ ...Y(e),
+ onClick: () => {
+ e || a(!0);
+ }
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ek, {
+ }), /* @__PURE__ */ (0, L.jsx)(Tk, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: DA,
- children: /* @__PURE__ */ (0, L.jsxs)(wA, {
+ className: EA,
+ children: /* @__PURE__ */ (0, L.jsxs)(CA, {
"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)($S, {
+ children: [/* @__PURE__ */ (0, L.jsx)(QS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -72909,7 +72989,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(_C, {
+ children: [/* @__PURE__ */ (0, L.jsx)(gC, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -72917,9 +72997,9 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function UPe({ sources: e, window: t, toast: n }) {
+function WPe({ sources: e, window: t, toast: n }) {
let r = It({
- mutationFn: (e) => KNe(e, t),
+ mutationFn: (e) => qNe(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -72943,10 +73023,10 @@ function UPe({ 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)(_C, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(gC, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(eC, {
+ }) : /* @__PURE__ */ (0, L.jsx)($S, {
"aria-hidden": !0,
className: "size-4"
})
@@ -72966,12 +73046,12 @@ function UPe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: eC,
...Y(r.isPending),
onClick: () => {
r.isPending || g({
title: "移除口味数据源",
- body: LPe,
+ body: RPe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -72979,30 +73059,30 @@ function UPe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: eC,
+ icon: $S,
title: "还没有数据源",
- children: APe
+ children: jPe
})
]
});
}
-function WPe(e) {
+function GPe(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 = Ft({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: Pe
- }), { job: p, running: m, outcome: h, start: g } = Tj({
- queryKey: VNe,
- queryFn: ({ signal: e }) => UNe(e),
- start: () => GNe(s),
- idlePollMs: JNe,
+ }), { job: p, running: m, outcome: h, start: g } = Sj({
+ queryKey: HNe,
+ queryFn: ({ signal: e }) => WNe(e),
+ start: () => KNe(s),
+ idlePollMs: YNe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = It({
- mutationFn: (e) => qNe(e),
+ mutationFn: (e) => JNe(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -73012,47 +73092,47 @@ function WPe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(vw, { 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)(yw, { children: [
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ return /* @__PURE__ */ (0, L.jsxs)(vw, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
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)(KN, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(UN, {
"aria-label": "口味证据来源",
- className: JN,
- children: [/* @__PURE__ */ (0, L.jsx)(xA, {
+ className: GN,
+ children: [/* @__PURE__ */ (0, L.jsx)(bA, {
id: "browser",
- className: YN,
+ className: KN,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, L.jsx)(xA, {
+ }), /* @__PURE__ */ (0, L.jsx)(bA, {
id: "peach",
- className: YN,
+ className: KN,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(_j, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: HNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: UNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(HPe, {
+ /* @__PURE__ */ (0, L.jsx)(UPe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -73068,7 +73148,7 @@ function WPe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(VPe, {
+ /* @__PURE__ */ (0, L.jsx)(HPe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -73076,54 +73156,48 @@ function WPe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? p?.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(xw, {
- label: p.message || "正在读取浏览记录",
- value: p.checked || 0,
- max: p.total
- }), /* @__PURE__ */ (0, L.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
- })]
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在导入历史文件" }) : null,
+ m ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ label: p?.message || "正在读取浏览记录并更新口味分析",
+ value: p?.checked,
+ total: p?.total
+ }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(BA, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(SA, {
+ /* @__PURE__ */ (0, L.jsxs)(xA, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: LD,
+ className: ID,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: cC,
+ icon: sC,
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: pC,
+ icon: fC,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: gC,
+ icon: hC,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: eC,
+ icon: $S,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -73140,7 +73214,7 @@ function WPe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)(TPe, {
+ /* @__PURE__ */ (0, L.jsx)(EPe, {
rows: T,
label: "主要口味维度"
}),
@@ -73151,14 +73225,14 @@ function WPe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(EPe, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(DPe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gw, {
shell: "plain",
- icon: gC,
+ icon: hC,
title: "暂无口味维度",
- children: MPe
+ children: NPe
})
})]
}),
@@ -73174,7 +73248,7 @@ function WPe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(DPe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(OPe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -73217,42 +73291,42 @@ function WPe(e) {
rows: E,
kind: "",
visual: "none",
- empty: NPe
+ empty: PPe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(SA, {
+ /* @__PURE__ */ (0, L.jsxs)(xA, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: LD,
+ className: ID,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: iC,
+ icon: rC,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: YNe(x.peach_seconds || 0)
+ detail: XNe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: qte,
+ icon: Jte,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: Kte,
+ icon: qte,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: pC,
+ icon: fC,
term: "有标签",
figure: D.toLocaleString()
})
@@ -73331,12 +73405,12 @@ function WPe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(BPe, {
+ /* @__PURE__ */ (0, L.jsx)(VPe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(UPe, {
+ /* @__PURE__ */ (0, L.jsx)(WPe, {
sources: b.sources || [],
window: s,
toast: r
@@ -73356,7 +73430,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(xw, {
+ }), /* @__PURE__ */ (0, L.jsx)(bw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -73365,26 +73439,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function GPe(e) {
+function KPe(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 KPe = (e) => {
+var qPe = (e) => {
switch (e) {
- case "success": return YPe;
- case "info": return ZPe;
- case "warning": return XPe;
- case "error": return QPe;
+ case "success": return XPe;
+ case "info": return QPe;
+ case "warning": return ZPe;
+ case "error": return $Pe;
default: return null;
}
-}, qPe = Array(12).fill(0), JPe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, JPe = Array(12).fill(0), YPe = ({ 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" }, qPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, JPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), YPe = /*#__PURE__*/ I.createElement("svg", {
+})))), XPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73395,7 +73469,7 @@ var KPe = (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"
-})), XPe = /*#__PURE__*/ I.createElement("svg", {
+})), ZPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -73406,7 +73480,7 @@ var KPe = (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"
-})), ZPe = /*#__PURE__*/ I.createElement("svg", {
+})), QPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73417,7 +73491,7 @@ var KPe = (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"
-})), QPe = /*#__PURE__*/ I.createElement("svg", {
+})), $Pe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73428,7 +73502,7 @@ var KPe = (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"
-})), $Pe = /*#__PURE__*/ I.createElement("svg", {
+})), eFe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -73449,7 +73523,7 @@ var KPe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), eFe = () => {
+})), tFe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -73457,7 +73531,7 @@ var KPe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, tFe = 1, nFe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : tFe++, W9 = new class {
+}, nFe = 1, rFe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : nFe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -73467,7 +73541,7 @@ var KPe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - nFe;
+ let e = this.toasts.length - rFe;
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);
@@ -73545,7 +73619,7 @@ var KPe = (e) => {
type: "default",
message: e
});
- else if (iFe(e) && !e.ok) {
+ else if (aFe(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({
@@ -73598,7 +73672,7 @@ var KPe = (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();
}
-}(), rFe = (e, t) => W9.message(e, t), iFe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(rFe, {
+}(), iFe = (e, t) => W9.message(e, t), aFe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(iFe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -73612,20 +73686,20 @@ var KPe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-GPe("[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%)}");
+KPe("[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 aFe = 3, oFe = "24px", sFe = "16px", q9 = 4e3, cFe = 356, lFe = 14, uFe = 45, dFe = 200;
+var oFe = 3, sFe = "24px", cFe = "16px", q9 = 4e3, lFe = 356, uFe = 14, dFe = 45, fFe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function fFe(e) {
+function pFe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var pFe = (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, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = 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 = eFe(), Ee = I.useMemo(() => e.swipeDirections ?? fFe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var mFe = (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, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = 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 = tFe(), Ee = I.useMemo(() => e.swipeDirections ?? pFe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
ce.current = _e;
}, [_e]), I.useEffect(() => {
@@ -73666,7 +73740,7 @@ var pFe = (e) => {
let ke = I.useCallback(() => {
N(!0), ae(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, dFe);
+ }, fFe);
}, [
n,
d,
@@ -73699,12 +73773,12 @@ var pFe = (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(JPe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(YPe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || KPe(z);
+ let je = n.icon || w?.[z] || qPe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -73751,7 +73825,7 @@ var pFe = (e) => {
if (P || !fe) return;
xe.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= uFe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= dFe || a > .11)) {
ae(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), ne(!0);
return;
}
@@ -73792,7 +73866,7 @@ var pFe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? $Pe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? eFe) : 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", {
@@ -73827,10 +73901,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function mFe(e, t) {
+function hFe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? sFe : oFe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? cFe : sFe;
function o(e) {
[
"top",
@@ -73851,8 +73925,8 @@ function mFe(e, t) {
}) : o(a);
}), n;
}
-var hFe = /*#__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 = aFe, toastOptions: g, dir: _ = Y9(), gap: v = lFe, 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), ne = I.useRef(!1), F = I.useCallback((e) => {
+var gFe = /*#__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 = oFe, toastOptions: g, dir: _ = Y9(), gap: v = uFe, 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), ne = I.useRef(!1), F = 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) => {
@@ -73938,10 +74012,10 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${cFe}px`,
+ "--width": `${lFe}px`,
"--gap": `${v}px`,
...m,
- ...mFe(l, u)
+ ...hFe(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -73959,7 +74033,7 @@ var hFe = /*#__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(pFe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(mFe, {
key: n.id,
icons: y,
index: i,
@@ -73993,8 +74067,8 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, gFe = (e, t) => {
- Z9 || (Z9 = !0, (0, HS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(hFe, {
+}), Z9 = !1, _Fe = (e, t) => {
+ Z9 || (Z9 = !0, (0, VS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(gFe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -74015,7 +74089,7 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, _Fe = (e, t) => {
+}, vFe = (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,
@@ -74028,17 +74102,17 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function vFe() {
+function yFe() {
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, HS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
+ let r = (0, VS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
client: X,
children: /* @__PURE__ */ (0, L.jsx)(sd, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(vy, {
- getContainer: vFe,
+ children: /* @__PURE__ */ (0, L.jsx)(_y, {
+ getContainer: yFe,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
@@ -74049,42 +74123,42 @@ function $9(e) {
};
};
}
-var yFe = {
+var bFe = {
activity: {
- prefetch: (e, t) => tre(t),
- mount: $9(pre)
+ prefetch: (e, t) => nre(t),
+ mount: $9(mre)
},
"catalog-grid": {
- prefetch: xre,
- mount: $9(xT)
+ prefetch: Sre,
+ mount: $9(yT)
},
configuration: {
- prefetch: (e, t) => RR(t),
- mount: $9(wpe)
+ prefetch: (e, t) => VR(t),
+ mount: $9(Spe)
},
"configuration-summary": {
- prefetch: (e, t) => RR(t),
- mount: $9(Epe)
+ prefetch: (e, t) => VR(t),
+ mount: $9(wpe)
},
"data-cleanup": {
- prefetch: (e, t) => mie(t),
- mount: $9(SM)
+ prefetch: (e, t) => hie(t),
+ mount: $9(yM)
},
duplicates: {
- prefetch: (e, t) => BT(t),
- mount: $9(BM)
+ prefetch: (e, t) => RT(t),
+ mount: $9(LM)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(Hoe)
+ mount: $9(Uoe)
},
"entity-filter": {
prefetch: async () => {},
- mount: $9(rP)
+ mount: $9(eP)
},
"entity-body": {
prefetch: async () => {},
- mount: $9(FN)
+ mount: $9(MN)
},
"follow-detail": {
prefetch: Qse,
@@ -74095,49 +74169,49 @@ var yFe = {
mount: $9(Mce)
},
"item-detail": {
- prefetch: Sue,
- mount: $9(Wue)
+ prefetch: bue,
+ mount: $9(Hue)
},
"follow-manage": {
prefetch: (e, t) => Ase(t, e.tab),
- mount: $9(gue)
+ mount: $9(mue)
},
index: {
- prefetch: (e, t) => cN(e, t),
- mount: $9(Sde)
+ prefetch: (e, t) => aN(e, t),
+ mount: $9(bde)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(zde)
+ mount: $9(Lde)
},
"library-processing": {
- prefetch: (e, t) => ZT(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Gde, { ...e }) : /* @__PURE__ */ (0, L.jsx)(mj, { ...e }))
+ prefetch: (e, t) => YT(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Ude, { ...e }) : /* @__PURE__ */ (0, L.jsx)(dj, { ...e }))
},
playlists: {
- prefetch: (e, t) => qde(t),
- mount: $9(afe)
+ prefetch: (e, t) => Gde(t),
+ mount: $9(rfe)
},
"quality-goals": {
- prefetch: (e, t) => CE(t),
- mount: $9(sfe)
+ prefetch: (e, t) => xE(t),
+ mount: $9(afe)
},
review: {
- prefetch: (e, t) => Mre(t),
- mount: $9(Cfe)
+ prefetch: (e, t) => Nre(t),
+ mount: $9(xfe)
},
scraping: {
- prefetch: (e, t) => Afe(t),
- mount: $9(Lfe)
+ prefetch: (e, t) => Ofe(t),
+ mount: $9(Ffe)
},
stats: {
- prefetch: (e, t) => Ope(t),
- mount: $9(bNe)
+ prefetch: (e, t) => Epe(t),
+ mount: $9(xNe)
},
taste: {
- prefetch: (e, t) => WNe("all", t),
- mount: $9(WPe)
+ prefetch: (e, t) => GNe("all", t),
+ mount: $9(GPe)
}
};
//#endregion
-export { gFe as mountToaster, yFe as pages, _Fe as showToast };
+export { _Fe as mountToaster, bFe as pages, vFe as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 98c08f3de..067e1bd99 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -491,26 +491,98 @@ function Ee() {
].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${A("开机自启", `<div class="flex flex-col">${j("开机后启动 Peach")}${j("静默启动", "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。")}${j("在桌面创建快捷方式", "双击图标打开 Peach 网页;卸载时一并移除。")}</div>`)}${A("外部入口", `<div class="flex flex-col gap-4 py-4 pr-3"><p class="text-body-2-regular text-text-secondary">${we}</p>${M("JavDB")}${M("MISSAV")}</div>`)}</div></div></div>`;
}
//#endregion
+//#region src/management-skeletons.ts
+var N = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", P = (e = "60%") => `<span class="${N} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, F = "disabled data-skeleton-action", I = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function De() {
+ let e = [
+ "馆藏视频",
+ "看过",
+ "内容标签",
+ "使用空间"
+ ].map((e, t) => `
+ <div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${N} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${P("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${P("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${I}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${P("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
+ 76,
+ 54,
+ 32
+ ].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${P()}</span><b class="text-title-2-medium">${P("3em")}</b><small class="text-caption-1-regular">${P()}</small></div>`).join("")}</div>
+ </section>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${P("12em")}</p>
+ <div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
+ <div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
+ <div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
+ "时长",
+ "画质",
+ "文件类型"
+ ].map((e) => `<section class="${I}"><h3 class="text-title-2-medium">${e}</h3><div class="${N} h-64"></div></section>`).join("")}</div>
+ </div>
+ </div>
+ <section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
+ <div class="flex flex-wrap gap-3 px-4 pt-3 text-body-regular">${[
+ "内容标签",
+ "最近看过",
+ "标签来源"
+ ].map((e) => `<span>${e}</span>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${N} h-7"></div>`).join("")}</div>
+ </section>
+ </div></div>`;
+}
+function Oe() {
+ let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
+ <span class="${N} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${P("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${P("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${P("75%")}</span>
+ </div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
+ <div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
+ <b class="text-title-2-medium">${P("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${P("8em")}</span>
+ <span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
+ "留最大",
+ "留最长",
+ "整组回收"
+ ].map((e) => O({
+ variant: "secondary",
+ size: "small",
+ label: e,
+ attrs: F
+ })).join("")}</span>
+ </div>${e.repeat(2)}</section>`;
+ return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
+ <div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${P("4em")}</strong></div><p class="text-body-regular text-text-secondary">${P("12em")}</p>
+ </div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${F} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ ${t.repeat(2)}
+ </div></div>`;
+}
+//#endregion
//#region src/board-skeleton.ts
-var N = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, P = () => `${N("80%")}${N("48%")}`, F = (e, t) => e.repeat(t), I = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${N("45%")}</b><small class="board-stat-footer">${N("60%")}</small></div>`).join("")}</div>`, De = (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>`, L = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${F(P(), 3)}</div></section>`, R = "disabled data-skeleton-action", z = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, B = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Oe = "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", ke = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var L = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, R = () => `${L("80%")}${L("48%")}`, z = (e, t) => e.repeat(t), ke = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${L("45%")}</b><small class="board-stat-footer">${L("60%")}</small></div>`).join("")}</div>`, Ae = (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>`, B = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${z(R(), 3)}</div></section>`, V = "disabled data-skeleton-action", H = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, U = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, je = "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", Me = () => `<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="${Oe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${z("3em")}</b></div>`).join("")}</div>`, Ae = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
+].map((e) => `<div class="${je}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${H("3em")}</b></div>`).join("")}</div>`, Ne = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
"关注列表",
"添加关注",
"JAV 订阅源",
"来源和凭证"
-].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, V = (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>`, je = ({ table: e, sort: t, dir: n }) => {
+].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, W = (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>`, Pe = ({ table: e, sort: t, dir: n }) => {
let r = T.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 follow-skeleton-toolbar"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${z("132px")}</span>${O({
+ return `<div class="flex flex-wrap items-center gap-2 follow-skeleton-toolbar"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${H("132px")}</span>${O({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: R
+ attrs: V
})}<span data-button-group role="group">${O({
variant: "ghost",
glyph: "layout-grid",
@@ -527,42 +599,42 @@ var N = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, P =
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: R
+ attrs: V
})}</div>`;
-}, H = () => `<span class="flex shrink-0 items-center gap-1">${O({
+}, G = () => `<span class="flex shrink-0 items-center gap-1">${O({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: R
+ attrs: V
})}${O({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: R
-})}</span>`, Me = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${V()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${z("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${B(14, 14)}</span>${B(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${z("113px")}</span>${H()}</div>`, U = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${B(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${z("92px")}</b>${O({
+ attrs: V
+})}</span>`, Fe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${W()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${H("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${U(14, 14)}</span>${U(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${H("113px")}</span>${G()}</div>`, K = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${U(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${H("92px")}</b>${O({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: R
-})}<span class="flex shrink-0 items-center gap-1">${B(14, 14)}${B(14, 14)}</span>${O({
+ attrs: V
+})}<span class="flex shrink-0 items-center gap-1">${U(14, 14)}${U(14, 14)}</span>${O({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: R
+ attrs: V
})}${O({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: R
-})}</div><div data-source-divider>${F(Me(), e)}</div></section>`, Ne = () => {
+ attrs: V
+})}</div><div data-source-divider>${z(Fe(), e)}</div></section>`, Ie = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, Pe = [
+}, Le = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -570,60 +642,55 @@ var N = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, P =
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], Fe = {
+], Re = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Ie = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", Le = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${Pe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${Fe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Ie}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${F(`<tr>${[
- V(),
- `<span class="flex min-w-0 items-center gap-2">${B(32, 32, !0)}${z("5em")}</span>`,
- z("10em"),
- `<span class="flex items-center gap-1.5">${B(14, 14)}${z("4em")}</span>`,
- B(48, 24),
- z("113px"),
- H()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Re = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${z("111px")}</span>${k(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${B(204, 32)}</div>`, ze = (e) => {
- let t = e.followLayout === "table", n = _e(e.followSort, e.followDir), r = e.followPageSize || Ne(), i = t ? Le(r, n) : `${V("全选本页")}<div class="flex flex-col gap-3">${U(3)}${U(4)}${U(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${ke()}<div class="flex flex-col gap-6">${Ae()}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${je({
+}, ze = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", Be = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${Le.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${Re[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${ze}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${z(`<tr>${[
+ W(),
+ `<span class="flex min-w-0 items-center gap-2">${U(32, 32, !0)}${H("5em")}</span>`,
+ H("10em"),
+ `<span class="flex items-center gap-1.5">${U(14, 14)}${H("4em")}</span>`,
+ U(48, 24),
+ H("113px"),
+ G()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Ve = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${H("111px")}</span>${k(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${U(204, 32)}</div>`, He = (e) => {
+ let t = e.followLayout === "table", n = _e(e.followSort, e.followDir), r = e.followPageSize || Ie(), i = t ? Be(r, n) : `${W("全选本页")}<div class="flex flex-col gap-3">${K(3)}${K(4)}${K(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Me()}<div class="flex flex-col gap-6">${Ne()}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${Pe({
table: t,
...n
- })}${i}${Re(t, r)}</div></div></div></div></div>`;
+ })}${i}${Ve(t, r)}</div></div></div></div></div>`;
};
-function Be() {
- return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情"><div class="sgrid" aria-hidden="true"><div class="vwrap skeleton-detail-media skeleton"></div><aside class="side"><div class="sidecontent skeleton-lines">${N("85%")}${N("65%")}${F(P(), 4)}</div></aside></div></div>`;
+function Ue() {
+ return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情"><div class="sgrid" aria-hidden="true"><div class="vwrap skeleton-detail-media skeleton"></div><aside class="side"><div class="sidecontent skeleton-lines">${L("85%")}${L("65%")}${z(R(), 4)}</div></aside></div></div>`;
}
-function Ve(e, t = {}) {
+function We(e, t = {}) {
let n = "";
- if (e === "/stats") n = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${N("38%")}</header>${I([
- "馆藏视频",
- "看过",
- "内容标签",
- "使用空间"
- ])}${L("馆藏视频")}${L("内容标签")}</div>`;
- else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${De(["浏览器记录", "Peach 内部"], "insightswitch")}${N("24%")}</header><div class="tastestate"></div>${I([
+ if (e === "/stats") n = De();
+ else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${Ae(["浏览器记录", "Peach 内部"], "insightswitch")}${L("24%")}</header><div class="tastestate"></div>${ke([
"浏览记录",
"口味维度",
"浏览候选",
"私有导出"
- ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${F(P(), 4)}</div></section>${L("口味分析")}<div class="board-activity-charts">${L("浏览活动")}${L("时间分布")}</div>${L("标签")}</div>`;
- else if (e === "/follow-manage") n = ze(t);
+ ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${z(R(), 4)}</div></section>${B("口味分析")}<div class="board-activity-charts">${B("浏览活动")}${B("时间分布")}</div>${B("标签")}</div>`;
+ else if (e === "/follow-manage") n = He(t);
else if (e === "/configuration") n = Ee();
else if (e === "/activity") n = `<div class="activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${N("35%")}${P()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = `<div class="review"><div class="collection-summary">${N("38%")}</div><div class="fsechead dupactions"><h3>批量保留</h3>${N("40%")}</div>${F(`<section class="dupgroup"><div class="duphead">${N("45%")}</div><div class="duplist">${F(`<div class="duprow"><span class="dupcover skeleton"></span><span class="dupmarks">${N()}</span><span class="dupname">${N("90%")}</span>${N()}${N()}${N()}<span class="duppath">${N("70%")}</span></div>`, 2)}</div></section>`, 2)}</div>`;
- else if (e === "/quality-goals") n = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${N("20%")}</div><div class="qualitylist">${F(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${P()}</div><footer class="qualityactions">${N("80%")}</footer></article>`, 6)}</div></div>`;
- else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${N("200px")}</div></header><div class="playlistcards">${F(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${P()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${L("35%")}${R()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = Oe();
+ else if (e === "/quality-goals") n = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${L("20%")}</div><div class="qualitylist">${z(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${R()}</div><footer class="qualityactions">${L("80%")}</footer></article>`, 6)}</div></div>`;
+ else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${L("200px")}</div></header><div class="playlistcards">${z(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${R()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/catalog-onboarding.ts
-var He = [
+var Ge = [
"loc",
"creator",
"performer",
@@ -641,16 +708,16 @@ var He = [
"jav",
"thumb"
];
-function Ue() {
+function Ke() {
let e = (e) => Array(64).fill(e).join("");
return {
tiers: "<div class=\"tier catalog-placeholder\" aria-hidden=\"true\">" + e("<span class=\"av\"><span class=\"ring\"></span><span class=\"nm\">&nbsp;</span></span>") + "</div><div class=\"tier catalog-placeholder\" aria-hidden=\"true\">" + e("<span class=\"brandpill\"><span class=\"mk\"></span><span class=\"placeholder-name\">&nbsp;</span></span>") + "</div>",
tags: "<span class=\"catalog-placeholder placeholder-tags\" aria-hidden=\"true\">" + e("<span class=\"pill\">&nbsp;</span>") + "</span>"
};
}
-async function We(e, t) {
+async function qe(e, t) {
let n = new URLSearchParams();
- for (let t of He) e[t] && n.set(t, e[t]);
+ for (let t of Ge) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -661,7 +728,7 @@ async function We(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function Ge({ kind: t = "catalog", filtered: n = !1, jav: r = !1, configurable: i = !1, online: a = !1 } = {}) {
+function Je({ kind: t = "catalog", filtered: n = !1, jav: r = !1, configurable: i = !1, online: a = !1 } = {}) {
let o = i ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", s = "<a class=\"geist-button" + (!i || a ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
if (n || r) return e("search", r ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", r ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (t !== "catalog") {
@@ -682,7 +749,7 @@ function Ge({ kind: t = "catalog", filtered: n = !1, jav: r = !1, configurable:
}
//#endregion
//#region src/sidebar.ts
-function Ke(e) {
+function Ye(e) {
return [
"/",
"/unseen",
@@ -692,96 +759,96 @@ function Ke(e) {
"/junk-files"
].includes(e) || /^\/(item|mix|parts|editions)\//.test(e) || /^\/playlists\/\d+\/\d+$/.test(e) || /^\/(performers|studios|creators|series|agencies)\/.+/.test(e);
}
-function qe(e, t) {
+function Xe(e, t) {
return e.dataset.surface?.split("?")[0] === t.split("?")[0] && e.querySelector(".dnav") ? (e.dataset.surface = t, !1) : (e.dataset.surface = t, e.replaceChildren(), !0);
}
-function Je(e) {
+function Ze(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/management.ts
-var Ye = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Xe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", W = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", G = "type=\"button\" disabled data-skeleton-action", K = "disabled data-skeleton-action", Ze = "aria-disabled=\"true\"", q = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, J = (e, t) => `<div data-geist-fieldset-content>
+var Qe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", $e = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", q = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", J = "type=\"button\" disabled data-skeleton-action", Y = "disabled data-skeleton-action", et = "aria-disabled=\"true\"", X = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, tt = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function Qe() {
- return q(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${J("扫描与采集", Ye)}
+function nt() {
+ return X(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${tt("扫描与采集", Qe)}
<footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${D("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${O({
glyph: "database",
label: "扫描并补全资料",
- attrs: K
+ attrs: Y
})}${O({
glyph: "chevron-down",
- attrs: `${K} aria-label="更多扫描与采集方式"`
+ attrs: `${Y} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function $e() {
- return q(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${J("媒体修复", Xe)}
- <footer data-geist-fieldset-footer>${k(W, {
+function rt() {
+ return X(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${tt("媒体修复", $e)}
+ <footer data-geist-fieldset-footer>${k(q, {
className: "w-48",
- attrs: Ze
+ attrs: et
})}${O({
label: "开始修复",
- attrs: K
+ attrs: Y
})}</footer>
</section>`);
}
-function et() {
+function it() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button organize-preset-skeleton">${W}</span>`.repeat(3), n = (e) => `<div class="organizefield"><span>${e}</span>
- <span class="geist-input organize-input-skeleton">${W}</span></div>`;
+ ], t = `<span class="geist-button organize-preset-skeleton">${q}</span>`.repeat(3), n = (e) => `<div class="organizefield"><span>${e}</span>
+ <span class="geist-input organize-input-skeleton">${q}</span></div>`;
return `<div class="cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="board-plain-stat-head"><span class="board-stat-tile">${s(t)}</span>${e}</span>
- <strong>${W}</strong><span class="cleanupmeta">${W}</span></button>`).join("")}</div>
+ <strong>${q}</strong><span class="cleanupmeta">${q}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${Qe()}</div>
- <div class="cleanupmediarepair">${$e()}</div>
+ <div class="cleanupscraping">${nt()}</div>
+ <div class="cleanupmediarepair">${rt()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="organizefields">
- <div class="organizesource"><span class="gselect"><span class="gselectfield organize-source-skeleton">${W}${s("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="gselect"><span class="gselectfield organize-source-skeleton">${q}${s("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="organizepresets">${t}</div>
- <p class="cleanupmeta">${W}</p>
+ <p class="cleanupmeta">${q}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${G}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${J}>预览</button></footer>
</section></div>
<section class="resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
- <div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
+ <div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="linkstats"><div><span>链接总数</span><b>${W}</b><small>${W}</small></div>${[
+ <div class="linksummary"><div class="linkstats"><div><span>链接总数</span><b>${q}</b><small>${q}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${W}</b></div>`).join("")}</div>
- <div class="linkhosts"><span>主要站点</span><b>${W}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${G}>${s("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${q}</b></div>`).join("")}</div>
+ <div class="linkhosts"><span>主要站点</span><b>${q}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${J}>${s("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${G}>${s("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${J}>${s("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/junk-queue.ts
-var Y = [
+var at = [
[
"",
"全部",
@@ -817,60 +884,60 @@ var Y = [
"其它",
"hard-drive"
]
-], tt = (e) => Y.find(([t]) => t === e)?.[0] ?? "";
-function nt(e) {
+], ot = (e) => at.find(([t]) => t === e)?.[0] ?? "";
+function st(e) {
let t = new URLSearchParams(e);
return {
- kind: tt(t.get("type")),
+ kind: ot(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function X(e = "", t = "pending") {
+function Z(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function rt(e) {
+function ct(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: X("", "pending")
+ href: Z("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: X("", "dismissed")
+ href: Z("", "dismissed")
};
}
-var it = (e) => e === "dismissed" ? "已排除" : "待判断", at = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", ot = "flex min-w-0 flex-col gap-2", st = "text-body-regular text-text-secondary", ct = "text-display-4-medium tabular-nums text-text-primary", lt = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen", ut = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function dt({ kind: e, view: t }) {
- let n = Y.map(([n, r, i]) => `<a href="${X(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${ut(i)}${o(r)}</a>`).join(""), r = rt(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite"><div data-collection-summary="" class="${at}"><div class="${ot}"><span class="${st}">${it(t)}</span><strong class="${ct}"><span data-skeleton="count" aria-hidden="true" class="${lt}"></span></strong></div></div></div><div data-junk-filters-frame=""><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${ut(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var lt = (e) => e === "dismissed" ? "已排除" : "待判断", ut = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", dt = "flex min-w-0 flex-col gap-2", ft = "text-body-regular text-text-secondary", pt = "text-display-4-medium tabular-nums text-text-primary", mt = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen", ht = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function gt({ kind: e, view: t }) {
+ let n = at.map(([n, r, i]) => `<a href="${Z(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${ht(i)}${o(r)}</a>`).join(""), r = ct(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite"><div data-collection-summary="" class="${ut}"><div class="${dt}"><span class="${ft}">${lt(t)}</span><strong class="${pt}"><span data-skeleton="count" aria-hidden="true" class="${mt}"></span></strong></div></div></div><div data-junk-filters-frame=""><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${ht(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/jav-artwork.ts
-function ft(e) {
+function _t(e) {
return [
"small",
"sleeve",
"preview"
].includes(String(e)) ? "small" : "big";
}
-function pt(e) {
+function vt(e) {
return {
- javLayout: ft(e.javLayout),
- javImage: Z(e.javLayout === "preview" ? "thumbnail" : e.javImage)
+ javLayout: _t(e.javLayout),
+ javImage: Q(e.javLayout === "preview" ? "thumbnail" : e.javImage)
};
}
-function Z(e) {
+function Q(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function mt(e, t) {
- return e.is_jav && e.code && e.has_cover && (Z(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function yt(e, t) {
+ return e.is_jav && e.code && e.has_cover && (Q(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-function ht(e, t) {
+function bt(e, t) {
let n = Number(e?.px?.[0]), r = Number(e?.px?.[1]), i = Number(e?.x0);
if (!(n > 0 && r > 0 && t > 0) || !Number.isFinite(i)) return null;
let a = (e, t, n) => Math.min(n, Math.max(0, Number.isFinite(Number(e)) ? Number(e) : t)), o = a(i, 0, n), s = Math.max(o, a(e?.x1, n, n)), c = a(e?.y0, 0, r), l = Math.max(c, a(e?.y1, r, r)), u = s - o, d = l - c;
@@ -890,13 +957,13 @@ function ht(e, t) {
height: m(r / d)
};
}
-function gt(e, t) {
+function xt(e, t) {
e.querySelectorAll("img[data-jav-image]").forEach((e) => {
- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (Z(t) === "cover" || !r)), a = i ? n : r;
+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (Q(t) === "cover" || !r)), a = i ? n : r;
e.classList.toggle("cover", i), e.classList.toggle("whole", i && e.dataset.javImageLayout !== "big"), e.classList.toggle("front", i && e.dataset.javImageLayout === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), a && e.getAttribute("src") !== a && (e.src = a);
});
}
-function _t(e, t) {
+function St(e, t) {
let n = [];
return e.querySelectorAll("img[data-jav-image]").forEach((e) => {
e.dataset.javImageLayout !== t && (e.dataset.javImageLayout = t, e.classList.contains("cover") && (e.classList.toggle("whole", t !== "big"), e.classList.toggle("front", t === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), e.complete && e.naturalWidth && n.push(e)));
@@ -904,7 +971,7 @@ function _t(e, t) {
}
//#endregion
//#region src/islands.ts
-var vt = {
+var Ct = {
"catalog-grid": { react: "catalog-grid" },
"data-cleanup": { react: "data-cleanup" },
duplicates: { react: "duplicates" },
@@ -927,20 +994,20 @@ var vt = {
activity: { react: "activity" },
stats: { react: "stats" },
taste: { react: "taste" }
-}, yt = () => import("/dist/peach-react.js").then(() => void 0), bt = () => Object.keys(vt), Q = /* @__PURE__ */ new Map();
-async function xt(e, t, n, r = {}) {
- let i = vt[e];
+}, wt = () => import("/dist/peach-react.js").then(() => void 0), Tt = () => Object.keys(Ct), $ = /* @__PURE__ */ new Map();
+async function Et(e, t, n, r = {}) {
+ let i = Ct[e];
if (!i) throw Error(`未注册的 island:${String(e)}`);
- Tt(t);
+ At(t);
let a = { controller: new AbortController() };
- Q.set(t, a);
+ $.set(t, a);
let o = (await import("/dist/peach-react.js")).pages[i.react];
try {
await o.prefetch(n, a.controller.signal);
} catch {
if (a.controller.signal.aborted) return;
}
- if (!Ct(t, a, r)) return;
+ if (!Ot(t, a, r)) return;
let s = () => {
t.textContent = "";
let e = t.ownerDocument.createElement("div");
@@ -952,27 +1019,27 @@ async function xt(e, t, n, r = {}) {
};
r.reveal ? r.reveal(t, s) : s();
}
-function St(e, t) {
- let n = e ? Q.get(e) : void 0;
+function Dt(e, t) {
+ let n = e ? $.get(e) : void 0;
!n?.update || !n.props || (n.props = {
...n.props,
...t
}, n.update(n.props));
}
-function Ct(e, t, n) {
- return Q.get(e) === t ? n.isCurrent && !n.isCurrent() ? (Q.delete(e), !1) : !0 : !1;
+function Ot(e, t, n) {
+ return $.get(e) === t ? n.isCurrent && !n.isCurrent() ? ($.delete(e), !1) : !0 : !1;
}
-var wt = (e) => !!e && Q.has(e);
-function Tt(e) {
- for (let t of [...Q.keys()]) (t === e || e.contains(t)) && Et(t);
+var kt = (e) => !!e && $.has(e);
+function At(e) {
+ for (let t of [...$.keys()]) (t === e || e.contains(t)) && jt(t);
}
-function Et(e) {
- let t = Q.get(e);
- t && (t.controller.abort(), Q.delete(e), t.dispose?.());
+function jt(e) {
+ let t = $.get(e);
+ t && (t.controller.abort(), $.delete(e), t.dispose?.());
}
-var $ = null;
-function Dt(e, t, n, r) {
- $ ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), $.then((e) => e.showToast(n, r));
+var Mt = null;
+function Nt(e, t, n, r) {
+ Mt ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), Mt.then((e) => e.showToast(n, r));
}
//#endregion
-export { Ve as boardPageSkeleton, u as boundedPreference, Ge as catalogEmptyHtml, We as catalogSuggestions, le as clampPage, et as cleanupSkeletonHtml, Be as detailSkeletonHtml, Ue as emptyCatalogLayout, pe as entitySkeletonHtml, de as faceSourceScale, ne as followJobProgress, m as initBoardControls, wt as islandMounted, bt as islandNames, mt as javImageKind, C as jobActivityHtml, dt as junkCountSkeletonHtml, X as junkPath, nt as junkRoute, xt as mountIsland, f as mountNumberSetting, fe as nativeImageFit, Z as normalizeJavImage, ft as normalizeJavLayout, pt as normalizeJavPreferences, ce as pageCount, ue as paginationHtml, ht as panelFrame, c as preferredDirection, yt as preloadIslands, _t as relayoutJavImages, ae as selectGroup, re as selectRange, ie as selectionSummary, Dt as showToast, Ke as sidebarHasCatalogContent, b as sidebarSectionHtml, Je as sidebarTagCounts, p as syncBoardRange, gt as syncJavImages, d as syncNumberSetting, oe as syncSelectionToolbar, qe as syncSidebarSurface, ee as transitionTheme, Tt as unmountIsland, St as updateIsland, w as watchJob, x as wireSidebarGroups };
+export { We as boardPageSkeleton, u as boundedPreference, Je as catalogEmptyHtml, qe as catalogSuggestions, le as clampPage, it as cleanupSkeletonHtml, Ue as detailSkeletonHtml, Ke as emptyCatalogLayout, pe as entitySkeletonHtml, de as faceSourceScale, ne as followJobProgress, m as initBoardControls, kt as islandMounted, Tt as islandNames, yt as javImageKind, C as jobActivityHtml, gt as junkCountSkeletonHtml, Z as junkPath, st as junkRoute, Et as mountIsland, f as mountNumberSetting, fe as nativeImageFit, Q as normalizeJavImage, _t as normalizeJavLayout, vt as normalizeJavPreferences, ce as pageCount, ue as paginationHtml, bt as panelFrame, c as preferredDirection, wt as preloadIslands, St as relayoutJavImages, ae as selectGroup, re as selectRange, ie as selectionSummary, Nt as showToast, Ye as sidebarHasCatalogContent, b as sidebarSectionHtml, Ze as sidebarTagCounts, p as syncBoardRange, xt as syncJavImages, d as syncNumberSetting, oe as syncSelectionToolbar, Xe as syncSidebarSurface, ee as transitionTheme, At as unmountIsland, Dt as updateIsland, w as watchJob, x as wireSidebarGroups };