Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 筛选玻璃吸顶换抬起那档影,读数卡选中环压到脚注带上面,口味排行条撑满右栏

longmeidao4d7e21f92886
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index f4f5d911d..ac9384982 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -237,6 +237,44 @@ async function openIndexPage(browser: Browser, path: string): Promise<Visit> {
return opened;
}
+/** 口味页浏览器画像的五个维度:头一个是其余的十倍,和真实馆藏的分布一样。 */
+const TASTE_CATEGORIES = [['剧情', 657], ['写真', 68], ['素人', 56], ['偶像', 4], ['企划', 1]]
+ .map(([name, score]) => ({ name, score }));
+
+/** 一张全身站姿照的人脸框:脸落在画面上半截的一小块里,小圆框要放大好几倍才看得清。 */
+const TASTE_FACE = { cx: .439, cy: .224, faceW: 67, imgW: 640, imgH: 960 };
+
+/** 口味页按改写过的 `/api/taste` 打开:演示库没有浏览记录,也没有带人脸框的实体图。
+ * 字段以 `src/peach/taste_history.py` 与 `src/peach/web_stats.py` 为准;实体图换成与人脸框同尺寸的纯色图。 */
+async function openTaste(browser: Browser, viewport: typeof DESKTOP): Promise<Visit> {
+ const opened = await visit(browser, '/taste', viewport);
+ const face = (id: number, name: string) => ({
+ name, peach_items: 3, peach_score: 5, entity_id: id, has_image: true, avatar_focus: { box: TASTE_FACE },
+ });
+ await opened.page.route(/\/api\/taste\?/, async (route) => {
+ const json = await (await route.fetch()).json();
+ await route.fulfill({ json: { ...json, rankings: { ...json.rankings,
+ browser_categories: TASTE_CATEGORIES,
+ peach_performers: [face(901, '演示女优')],
+ peach_creators: [face(902, '演示创作者')],
+ } } });
+ });
+ await opened.page.route(/\/entity-image\?/, (route) => route.fulfill({
+ contentType: 'image/svg+xml',
+ body: `<svg xmlns="http://www.w3.org/2000/svg" width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}">`
+ + `<rect width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}" fill="#888"/></svg>`,
+ }));
+ await opened.page.reload({ waitUntil: 'load' });
+ await expectBody(opened.page, '/taste', [
+ opened.page.locator('#stats').getByRole('tab', { name: '浏览器记录', exact: true }),
+ ]);
+ return opened;
+}
+
+/** 一串 `box-shadow`(计算值或 token 原文)里最大的那个像素数:落影三层里最远那层的模糊半径。 */
+const farthestShadow = (shadow: string) =>
+ Math.max(0, ...[...shadow.matchAll(/(\d+(?:\.\d+)?)px/g)].map((match) => Number(match[1])));
+
/** 播放列表页按一份造出来的 `/api/playlists`(`src/peach/web_playlists.py`)打开:演示库里
* 没有播放列表。第一份带三位署名,第二份没人(画标题首字),第三份是空列表(写「无预览」)。
* 封面是造出来的编号,给一张能加载完的图。 */
@@ -2851,7 +2889,8 @@ describe('设计决定', () => {
it('暗色下 React 卡片和旧样式表控件的阴影都换成看得见的那一档', { timeout: 60_000 }, async () => {
const opened = await visit(browser, '/stats', DESKTOP);
try {
- const card = opened.page.locator('#main [class~="shadow-card"]').first();
+ // 选中的那张页签按基线收掉接触阴影,读旁边没选中的一张。
+ const card = opened.page.locator('#main [class~="shadow-card"]:not([data-selected])').first();
await card.waitFor({ timeout: 15_000 });
await settle(opened.page);
/* Tailwind 把阴影 token 的字面值抄进工具类,`.dark` 里改 `--shadow-*` 够不着它;
@@ -2870,7 +2909,7 @@ describe('设计决定', () => {
return strongest(shadow);
};
return {
- card: strongest(getComputedStyle(document.querySelector('#main [class~="shadow-card"]')!).boxShadow),
+ card: strongest(getComputedStyle(document.querySelector('#main [class~="shadow-card"]:not([data-selected])')!).boxShadow),
button: probe('<button class="geist-button" type="button">键</button>'),
// Toast 的面只在 #toasts 里成立:阴影写在 Sonner 那一条的属性选择器上。
toast: probe('<li data-sonner-toast data-styled="true">回执</li>', document.getElementById('toasts')!),
@@ -3083,4 +3122,126 @@ describe('设计决定', () => {
await opened.close();
}
});
+
+ for (const viewport of VIEWPORTS) {
+ it(`口味维度排名宽屏跟雷达那一栏等高、窄屏按条数给高度,图拉高时条不变粗(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await openTaste(browser, viewport);
+ try {
+ const page = opened.page;
+ const bars = page.locator('section[aria-label="口味维度排名"]');
+ await bars.locator('.recharts-bar-rectangle').first().waitFor({ state: 'visible', timeout: 15_000 });
+ await settle(page);
+ const shown = await page.locator('section[aria-label="浏览器画像"]').evaluate((section) => {
+ const radar = section.firstElementChild!.getBoundingClientRect();
+ const ranked = section.querySelector('section[aria-label="口味维度排名"]')!.getBoundingClientRect();
+ return {
+ radar: radar.height,
+ ranked: ranked.height,
+ thickness: [...section.querySelectorAll('.recharts-bar-rectangle')]
+ .map((bar) => bar.getBoundingClientRect().height),
+ };
+ });
+ assert.equal(shown.thickness.length, TASTE_CATEGORIES.length);
+ if (viewport.mobile) {
+ assert.ok(shown.ranked >= 32 * TASTE_CATEGORIES.length,
+ `窄屏排行条只有 ${shown.ranked}px,${TASTE_CATEGORIES.length} 条挤不下`);
+ } else {
+ assert.ok(Math.abs(shown.ranked - shown.radar) < 2,
+ `排行条 ${shown.ranked}px,雷达那一栏 ${shown.radar}px,两栏不等高`);
+ }
+ // 26 是一格 32 里默认留出的粗细;图被拉高时多出来的高度拉开条距,不进条本身。
+ assert.ok(shown.thickness.every((height) => height <= 26.5), `条粗 ${shown.thickness.join('、')}px`);
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+ }
+
+ it('统计页选中的读数卡:2px 描边压在脚注带上面、圆角跟卡走,接触阴影收掉', { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/stats', DESKTOP);
+ try {
+ const page = opened.page;
+ const tab = page.locator('#stats [role="tab"][data-selected]').first();
+ await tab.waitFor({ timeout: 15_000 });
+ await settle(page);
+ const ring = await tokenColor(page, '.peach-react', '--color-border-focus-ring');
+ const shown = await tab.evaluate((element) => {
+ const card = getComputedStyle(element);
+ const after = getComputedStyle(element, '::after');
+ const footer = element.querySelector('small')!;
+ const other = document.querySelector('#stats [role="tab"]:not([data-selected])')!;
+ // `shadow-none` 是五层透明的 0px,不是字面的 none:看有没有一层带颜色。
+ const shadowVisible = [...card.boxShadow.matchAll(/rgba?\([^)]*\)/g)]
+ .some((match) => !/, 0\)$/.test(match[0]));
+ return {
+ shadowVisible, position: card.position, radius: card.borderRadius,
+ after: {
+ content: after.content, position: after.position, width: after.borderTopWidth,
+ color: after.borderTopColor, radius: after.borderRadius, z: after.zIndex,
+ inset: [after.top, after.right, after.bottom, after.left],
+ },
+ footerFace: getComputedStyle(footer).backgroundColor,
+ otherAfter: getComputedStyle(other, '::after').content,
+ };
+ });
+ assert.equal(shown.shadowVisible, false, '选中的卡还压着接触阴影');
+ assert.equal(shown.position, 'relative');
+ assert.equal(shown.after.content, '""', '选中的卡没有画覆盖层');
+ assert.equal(shown.after.position, 'absolute');
+ assert.deepEqual(shown.after.inset, ['0px', '0px', '0px', '0px'], '覆盖层没有铺满整张卡');
+ assert.deepEqual([shown.after.width, shown.after.color], ['2px', ring], '描边不是 2px 焦点环色');
+ assert.equal(shown.after.radius, shown.radius, '覆盖层圆角和卡不一致');
+ assert.ok(Number(shown.after.z) >= 1, `覆盖层 z-index ${shown.after.z},会被脚注带盖住`);
+ assert.notEqual(shown.footerFace, 'rgba(0, 0, 0, 0)', '脚注带没有底色,这条用例守的就是环压在它上面');
+ assert.equal(shown.otherAfter, 'none', '没选中的卡也画了覆盖层');
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('标签页的筛选玻璃吸到顶栏下沿时影换成抬起来那一档,上沿垫一条页面底色的遮带', { timeout: 60_000 }, async () => {
+ const opened = await openIndexPage(browser, '/tags');
+ try {
+ const page = opened.page;
+ const read = () => page.evaluate(() => {
+ const glass = document.querySelector('[data-filter-glass]')!;
+ const root = getComputedStyle(document.documentElement);
+ return {
+ stuck: glass.hasAttribute('data-stuck'),
+ shadow: getComputedStyle(glass).boxShadow,
+ strip: getComputedStyle(glass, '::before'),
+ lift: root.getPropertyValue('--glass-lift'),
+ rest: root.getPropertyValue('--glass-shadow'),
+ };
+ });
+ const readStrip = () => page.evaluate(() => {
+ const strip = getComputedStyle(document.querySelector('[data-filter-glass]')!, '::before');
+ return { content: strip.content, top: strip.top, height: strip.height, z: strip.zIndex, mask: strip.maskImage };
+ });
+ const resting = await read();
+ assert.equal(resting.stuck, false, '还没滚就标成吸顶');
+ assert.equal(farthestShadow(resting.shadow), farthestShadow(resting.rest), '静止态的影不是 --glass-shadow');
+ assert.equal((await readStrip()).content, 'none', '静止态就画了遮带');
+ // 桩数据只有两枚标签,页面不够长滚不动:垫一块高度再滚。
+ await page.evaluate(() => document.body.insertAdjacentHTML('beforeend', '<div style="height:200vh"></div>'));
+ await page.evaluate(() => window.scrollTo(0, 600));
+ await page.waitForFunction(() => document.querySelector('[data-filter-glass]')!.hasAttribute('data-stuck'),
+ undefined, { timeout: 5_000 });
+ const stuck = await read();
+ const strip = await readStrip();
+ assert.equal(farthestShadow(stuck.shadow), farthestShadow(stuck.lift), '吸顶后的影不是 --glass-lift');
+ assert.ok(farthestShadow(stuck.shadow) > farthestShadow(resting.shadow), '吸顶后影没有抬起来');
+ assert.match(stuck.shadow, /inset/, '吸顶后四条内嵌 rim 线丢了');
+ assert.deepEqual([strip.content, strip.top, strip.height, strip.z], ['""', '-9px', '9px', '-1']);
+ assert.match(strip.mask, /linear-gradient/, '遮带两端没有渐隐');
+ await page.evaluate(() => window.scrollTo(0, 0));
+ await page.waitForFunction(() => !document.querySelector('[data-filter-glass]')!.hasAttribute('data-stuck'),
+ undefined, { timeout: 5_000 });
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
});
diff --git a/frontend/src/react/components/card.tsx b/frontend/src/react/components/card.tsx
index f437e49ab..53782ebae 100644
--- a/frontend/src/react/components/card.tsx
+++ b/frontend/src/react/components/card.tsx
@@ -39,7 +39,7 @@ export type CardOptions = {
padding?: CardPadding;
/** 卡片本身可点(读数卡兼页签、来源卡):补悬停填充、焦点环与光标。 */
interactive?: boolean;
- /** 卡片带互斥选中态:选中时换成浮层那一档面,再压一圈 2px 的 `--tungsten` 内描边。 */
+ /** 卡片带互斥选中态:选中时换成浮层那一档面、收掉接触阴影,最上层压一圈 2px 的焦点环色描边。 */
selectable?: boolean;
/** 填充之上另加的那条描边:活动页的 Fieldset 用 `--line`,高清版的条目用 `--line-soft`。
* `outlined` 自带描边,不必再给。 */
@@ -80,8 +80,13 @@ const PADDING: Record<CardPadding, string> = {
const INTERACTIVE = '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';
-const SELECTABLE = 'data-selected:bg-background-primary-default'
- + ' data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring';
+/* 选中的那一圈画在 `::after` 上、压在最上层,不用 inset 的 box-shadow:内阴影画在子元素底下,
+ * 读数卡的脚注带一铺底色,环的下半截就被盖掉,只剩上面三边。旧
+ * `.metricstrip>button[aria-selected=true]::after` 就是一层 2px 描边的覆盖层,圆角跟卡走。 */
+const SELECTABLE = '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';
/** 卡面的类名。宿主可能是 `section`、`li`、React Aria 的 `Tab` 或 `Modal`,所以只给类名。 */
export function cardClass(options: CardOptions = {}) {
diff --git a/frontend/src/react/components/filter-glass.tsx b/frontend/src/react/components/filter-glass.tsx
index 350a50e53..db8705be1 100644
--- a/frontend/src/react/components/filter-glass.tsx
+++ b/frontend/src/react/components/filter-glass.tsx
@@ -2,13 +2,18 @@
*
* 料(漂移的两团、斜光、内嵌边与落影)由 `web/board.css` 的 `[data-glass-pane]` 一处给,
* 几何、饱和度与文字色在 `../styles.css` 的 `[data-filter-glass]`,高对比与减少透明度的回退
- * 也在那一条上。胶囊键 30px 高、透明底、一圈 `--glass-low`,
+ * 也在那一条上。吸到顶栏下沿那一刻由 `use-stuck.ts` 标 `data-stuck`,影换成抬起来那一档。
+ * 胶囊键 30px 高、透明底、一圈 `--glass-low`,
* 悬停换成 `--glass-rim` 边加 `--glass-pick-fill` 底——玻璃上的键不是 BoardUI 那种实心按钮。 */
-import type { ReactNode } from 'react';
+import { useRef, type ReactNode } from 'react';
+
+import { useStuck } from './use-stuck';
export function FilterGlass({ title, children }: { title: string; children: ReactNode }) {
+ const glass = useRef<HTMLDivElement>(null);
+ useStuck(glass);
return (
- <div role="group" aria-label={title} data-filter-glass data-glass-pane=""
+ <div ref={glass} role="group" aria-label={title} data-filter-glass data-glass-pane=""
className="sticky top-topbar z-10 mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5">
<h3 className="mr-1 text-body-medium">{title}</h3>
{children}
@@ -22,8 +27,10 @@ export function FilterGlass({ title, children }: { title: string; children: Reac
export function FilterGlassRows(
{ label, topLabel, top, bottom }: { label: string; topLabel: string; top: ReactNode; bottom: ReactNode },
) {
+ const glass = useRef<HTMLDivElement>(null);
+ useStuck(glass);
return (
- <div role="group" aria-label={label} data-filter-glass data-glass-pane=""
+ <div ref={glass} role="group" aria-label={label} data-filter-glass data-glass-pane=""
className="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div role="group" aria-label={topLabel} data-filter-row="top"
className="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2">
diff --git a/frontend/src/react/components/use-stuck.ts b/frontend/src/react/components/use-stuck.ts
new file mode 100644
index 000000000..c1bfc615e
--- /dev/null
+++ b/frontend/src/react/components/use-stuck.ts
@@ -0,0 +1,30 @@
+/* 吸顶的那块玻璃是不是已经贴到了顶栏下沿。贴住了就在元素上标 `data-stuck`,样式表按它换成
+ * 抬起来那一档影(`../styles.css` 的 `[data-filter-glass][data-stuck]`)。
+ *
+ * 判据照壳的 `updateStickySurfaces`:页面滚过了、元素上沿到了它自己 `top` 那条线。滚动与改
+ * 尺寸各合成一帧再量;属性直接写在元素上,不走 React 状态——每一帧滚动都重画整条浮层没有意义。 */
+import { useEffect, type RefObject } from 'react';
+
+export function useStuck(ref: RefObject<HTMLElement | null>): void {
+ useEffect(() => {
+ const element = ref.current;
+ if (!element) return;
+ let frame = 0;
+ const measure = () => {
+ frame = 0;
+ const top = parseFloat(getComputedStyle(element).top);
+ const stuck = window.scrollY > 0 && Number.isFinite(top)
+ && element.getBoundingClientRect().top <= top + 1;
+ element.toggleAttribute('data-stuck', stuck);
+ };
+ const schedule = () => { if (!frame) frame = requestAnimationFrame(measure); };
+ measure();
+ addEventListener('scroll', schedule, { passive: true });
+ addEventListener('resize', schedule);
+ return () => {
+ cancelAnimationFrame(frame);
+ removeEventListener('scroll', schedule);
+ removeEventListener('resize', schedule);
+ };
+ }, [ref]);
+}
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index e8f5a982b..18a1a2439 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -435,6 +435,28 @@
overflow: visible;
}
+/* 吸到顶栏下沿那一刻这块玻璃离开纸面抬一档:外面三层影换成 `--glass-lift`,四条内嵌 rim 线
+ * 照旧(`box-shadow` 整条归一处,不能只换外面那一层);上沿再垫一条页面底色的遮带,盖住
+ * 顶栏和玻璃之间那 8px 缝里滚过去的内容,两端渐隐。同旧 `.board-filter-frame.board-is-stuck`,
+ * 标记由 `components/use-stuck.ts` 写。 */
+.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: '';
+ position: absolute;
+ top: -9px;
+ right: -16px;
+ left: -16px;
+ z-index: -1;
+ height: 9px;
+ background: var(--page);
+ mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
+ pointer-events: none;
+}
+
.peach-react [data-selection-dock] {
position: fixed;
z-index: 180;
diff --git a/frontend/src/react/taste/charts.tsx b/frontend/src/react/taste/charts.tsx
index 2c3cc9f44..05b0b8377 100644
--- a/frontend/src/react/taste/charts.tsx
+++ b/frontend/src/react/taste/charts.tsx
@@ -31,8 +31,13 @@ const FLOW_FILL = [
/** 口味维度两张图的系列:一个维度下命中的标签次数。颜色跟着口味页读数卡的 `chart-4`。 */
const DIMENSION_CONFIG = { value: { label: '标签命中', colors: tone(CHART_COLORS[3]) } };
-/** 排行条的高度按条数给:条数少时不把每一条撑得很粗。类名写成整串,Tailwind 扫得到。 */
-const RANK_HEIGHT = ['h-24', 'h-24', 'h-24', 'h-32', 'h-40', 'h-48', 'h-52', 'h-60', 'h-64'];
+/** 排行条的最低高度按条数给,一条一格 32:窄屏里排行条独占一行、或维度不足三个画不出雷达时,
+ * 它就是这么高。旁边有雷达时整块跟着雷达那一栏拉到等高,多出来的高度拉开条与条的间距。
+ * 类名写成整串,Tailwind 扫得到。 */
+const RANK_HEIGHT = ['min-h-24', 'min-h-24', 'min-h-24', 'min-h-32', 'min-h-40', 'min-h-48', 'min-h-52', 'min-h-60', 'min-h-64'];
+
+/** 一条柱的粗细上限,与一格 32 里默认留出的粗细相同:图拉高时条不跟着变粗。 */
+const RANK_BAR_SIZE = 26;
/** 雷达图画的是 `radius` 列,名字与颜色跟口味维度的另外两张图一致。 */
const RADAR_CONFIG = { radius: DIMENSION_CONFIG.value };
@@ -65,14 +70,15 @@ export function TasteRadar({ rows, label }: { rows: RankRow[]; label: string })
);
}
-/** 口味维度排行:一个维度一条横向的柱,画的是 EvilCharts 的 `EvilBarChart`,数标在柱尾。 */
+/** 口味维度排行:一个维度一条横向的柱,画的是 EvilCharts 的 `EvilBarChart`,数标在柱尾。
+ * 整块在纵向 flex 里撑满父级给的高度,图表容器本身是 `flex-1`。 */
export function RankedBars({ rows, label }: { rows: RankRow[]; label: string }) {
const data = topScores(rows, RANK_MAX);
if (!data.length) return null;
return (
- <section aria-label={label}>
+ <section aria-label={label} className={`flex grow flex-col ${RANK_HEIGHT[data.length]}`}>
<EvilBarChart data={data} config={DIMENSION_CONFIG} layout="horizontal" barRadius={4}
- className={`aspect-auto text-text-secondary ${RANK_HEIGHT[data.length]}`}>
+ chartProps={{ maxBarSize: RANK_BAR_SIZE }} className="aspect-auto text-text-secondary">
<EvilBarChart.YAxis dataKey="name" interval={0} />
<EvilBarChart.XAxis hide domain={BAR_DOMAIN} />
<EvilBarChart.Bar dataKey="value" enableHoverHighlight
diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsx
index 2c7256f73..c4f045f7d 100644
--- a/frontend/src/react/taste/taste-page.tsx
+++ b/frontend/src/react/taste/taste-page.tsx
@@ -514,7 +514,8 @@ export function TastePage(props: TasteProps) {
{data.updated_at ? `更新于 ${tasteDate(data.updated_at)}` : '尚未采集浏览记录'}
</small>
</div>
- <div className="min-w-0 grow">
+ {/* 右栏跟着雷达那一栏等高(行内默认拉伸),排行条在纵向 flex 里撑满这一栏。 */}
+ <div className="flex min-w-0 grow flex-col">
{categories.length
? <RankedBars rows={categories} label="口味维度排名" />
: <EmptyState shell="plain" icon={RiSearchLine} title="暂无口味维度">{NO_CATEGORY_HINT}</EmptyState>}
diff --git a/frontend/test/card.test.ts b/frontend/test/card.test.ts
index 1d95150e4..3db5b6edb 100644
--- a/frontend/test/card.test.ts
+++ b/frontend/test/card.test.ts
@@ -59,11 +59,18 @@ it('填充卡之上另加的那条描边不换底', () => {
expect(classes({ bordered: 'soft' })).toContain('border-separator-border');
});
-it('选中态压一圈内描边,悬停不盖选中', () => {
+/* 环画在 `::after` 覆盖层上:inset 的 box-shadow 画在子元素底下,脚注带一铺底色就盖掉环的下半截。 */
+it('选中态在最上层压一圈 2px 描边,收掉接触阴影,悬停不盖选中', () => {
const tab = cardClass({ interactive: true, selectable: true });
- expect(tab).toContain('data-selected:ring-2');
- expect(tab).toContain('data-selected:ring-inset');
- expect(tab).toContain('data-selected:ring-border-focus-ring');
+ expect(tab).toContain('relative');
+ expect(tab).toContain('data-selected:shadow-none');
+ expect(tab).toContain('data-selected:after:absolute');
+ expect(tab).toContain('data-selected:after:inset-0');
+ expect(tab).toContain('data-selected:after:z-1');
+ expect(tab).toContain('data-selected:after:rounded-[inherit]');
+ expect(tab).toContain('data-selected:after:border-2');
+ expect(tab).toContain('data-selected:after:border-border-focus-ring');
+ expect(tab).not.toContain('ring-inset');
// 悬停那条写成 `not-data-selected:`,不指望工具类的先后顺序。
expect(tab).toContain('not-data-selected:hover:bg-card-hover');
expect(tab).not.toContain(' hover:bg-card-hover');
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 1ff8c6fa0..76622e196 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}.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-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-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-48{height:calc(var(--spacing) * 48)}.h-52{height:calc(var(--spacing) * 52)}.h-56{height:calc(var(--spacing) * 56)}.h-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.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-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:ring-2[data-selected]{--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-selected\:ring-border-focus-ring[data-selected]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:ring-inset[data-selected]{--tw-ring-inset:inset}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-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)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-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[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}.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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-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-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-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)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr[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 e541b9544..912577527 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -25999,7 +25999,7 @@ var lw = "min-w-0", uw = {
}, pw = {
none: "",
default: "p-5"
-}, mw = "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", hw = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";
+}, mw = "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", hw = "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 = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
@@ -31662,15 +31662,15 @@ var Eie = "/api/review", Die = "/api/review/decision", Oie = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, kie = Object.keys(GO), KO = "metadata_fields", qO = (e) => typeof e == "string" && Object.hasOwn(GO, e), JO = {
+}, kie = Object.keys(GO), Aie = "metadata_fields", KO = (e) => typeof e == "string" && Object.hasOwn(GO, e), qO = {
creator_tags: "creator",
western_identity: "creator"
};
-function YO(e, t) {
+function JO(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 XO(e, t) {
+function YO(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -31687,10 +31687,10 @@ function XO(e, t) {
}
return [...n.values()];
}
-function ZO(e, t, n) {
- return n && XO(e, t).find((e) => e.key === n)?.rows || e;
+function XO(e, t, n) {
+ return n && YO(e, t).find((e) => e.key === n)?.rows || e;
}
-function QO(e, t) {
+function ZO(e, t) {
let n = BO(e.length, 20), r = VO(t, n);
return {
page: r,
@@ -31698,32 +31698,32 @@ function QO(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Aie(e) {
+function jie(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 jie(e, t, n, r, i, a) {
+function Mie(e, t, n, r, i, a) {
return HO(e, t, n, r, i, a);
}
-function $O(e, t) {
+function QO(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function ek(e, t) {
+function $O(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var tk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function Mie(e, t) {
- let n = ek(e, t), r = tk(e, t);
+var ek = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Nie(e, t) {
+ let n = $O(e, t), r = ek(e, t);
return r ? `${n} · ${r}` : n;
}
-var Nie = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Pie = (e) => String(e.tags || "").split("|").filter(Boolean), Fie = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Iie(e) {
+var Pie = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Fie = (e) => String(e.tags || "").split("|").filter(Boolean), Iie = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Lie(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function nk(e, t, n, r) {
+function tk(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -31739,17 +31739,17 @@ function nk(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Lie = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", rk = (e) => cw(Eie, e), ik = (e) => q(Die, e), Rie = (e, t) => q(Oie, {
+var Rie = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", nk = (e) => cw(Eie, e), rk = (e) => q(Die, e), zie = (e, t) => q(Oie, {
genre: e,
tag: t
});
-async function zie(e) {
+async function Bie(e) {
await X.fetchQuery({
queryKey: WO,
- queryFn: () => rk(e)
+ queryFn: () => nk(e)
});
}
-function ak(e, t) {
+function ik(e, t) {
let n = new Set(t);
n.size && X.setQueryData(WO, (t) => {
if (!t) return t;
@@ -31767,158 +31767,158 @@ function ak(e, t) {
};
});
}
-var ok = () => X.invalidateQueries({
+var ak = () => X.invalidateQueries({
queryKey: WO,
exact: !0
});
-function sk(e, t) {
+function ok(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${UO(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var ck = "/api/links", lk = "/api/links/check", uk = "/api/links/prune", dk = ["links"], fk = ["links", "check"], pk = ["links", "prune"], mk = {
+var sk = "/api/links", ck = "/api/links/check", lk = "/api/links/prune", uk = ["links"], dk = ["links", "check"], fk = ["links", "prune"], pk = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function hk(e) {
+async function mk(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var gk = (e) => cw(ck, e), _k = (e) => q(lk, { status_only: !0 }, "POST", e), Bie = ({ retry: e, checkId: t }) => hk(q(lk, e ? {
+var hk = (e) => cw(sk, e), gk = (e) => q(ck, { status_only: !0 }, "POST", e), Vie = ({ retry: e, checkId: t }) => mk(q(ck, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), vk = (e) => cw(uk, e), Vie = (e) => hk(q(uk, {
+} : { restart: !0 })), _k = (e) => cw(lk, e), Hie = (e) => mk(q(lk, {
confirm: !0,
check_id: e,
background: !0
-})), yk = (e) => Number(e || 0).toLocaleString(), Hie = (e) => `已删除 ${yk(e.removed)} 条;${e.marked ? `已隐退女优的 ${yk(e.marked)} 条留作不可点的记录;` : ""}保留 ${yk(e.recovered)} 条未确认失效的链接。`;
-function Uie(e) {
+})), vk = (e) => Number(e || 0).toLocaleString(), Uie = (e) => `已删除 ${vk(e.removed)} 条;${e.marked ? `已隐退女优的 ${vk(e.marked)} 条留作不可点的记录;` : ""}保留 ${vk(e.recovered)} 条未确认失效的链接。`;
+function Wie(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${yk(e.checked)} / ${yk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${vk(e.checked)} / ${vk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Wie = "/api/organize", Gie = "/api/organize/preview", Kie = "/api/organize/apply", qie = "/api/organize/rollback", Jie = "/api/settings", bk = ["organize"], xk = (e) => cw(Wie, e);
-async function Yie(e) {
+var Gie = "/api/organize", Kie = "/api/organize/preview", qie = "/api/organize/apply", Jie = "/api/organize/rollback", Yie = "/api/settings", yk = ["organize"], bk = (e) => cw(Gie, e);
+async function Xie(e) {
await X.fetchQuery({
- queryKey: bk,
- queryFn: () => xk(e)
+ queryKey: yk,
+ queryFn: () => bk(e)
});
}
-var Xie = (e) => q(Gie, e), Zie = (e) => e.kind === "apply" ? q(Kie, {
+var Zie = (e) => q(Kie, e), Qie = (e) => e.kind === "apply" ? q(qie, {
...e.request,
confirm: !0
-}) : q(qie, { confirm: !0 });
-async function Qie(e) {
- X.setQueryData(bk, (t) => t && {
+}) : q(Jie, { confirm: !0 });
+async function $ie(e) {
+ X.setQueryData(yk, (t) => t && {
...t,
templates: e
});
try {
- await q(Jie, { organizeTemplates: e });
+ await q(Yie, { organizeTemplates: e });
} catch {}
}
-var $ie = (e, t) => e && {
+var eae = (e, t) => e && {
...e,
...t
-}, eae = /目录模板|分隔符|盘符|`\.`/;
-function Sk(e) {
+}, tae = /目录模板|分隔符|盘符|`\.`/;
+function xk(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var Ck = (e) => Number(e || 0).toLocaleString();
-function tae(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Ck(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${Ck(e.counts.change)} 个文件会改名或移动,${Ck(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var Sk = (e) => Number(e || 0).toLocaleString();
+function nae(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Sk(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${Sk(e.counts.change)} 个文件会改名或移动,${Sk(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function wk(e) {
+function Ck(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${Ck(r)} 个文件${n ? `,${Ck(n)} 行未能退回` : ""}。` : `已整理 ${Ck(r)} 个文件${n ? `,${Ck(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${Sk(r)} 个文件${n ? `,${Sk(n)} 行未能退回` : ""}。` : `已整理 ${Sk(r)} 个文件${n ? `,${Sk(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var Tk = "/api/resource-sync/scan", Ek = "/api/resource-sync/apply", Dk = ["resource-sync", "scan"], Ok = ["resource-sync", "apply"], kk = (e) => q(Tk, {
+var wk = "/api/resource-sync/scan", Tk = "/api/resource-sync/apply", Ek = ["resource-sync", "scan"], Dk = ["resource-sync", "apply"], Ok = (e) => q(wk, {
background: !0,
status_only: !0
-}, "POST", e), nae = () => q(Tk, {
+}, "POST", e), rae = () => q(wk, {
background: !0,
restart: !0
-}), Ak = (e) => cw(Ek, e), rae = (e) => q(Ek, {
+}), kk = (e) => cw(Tk, e), iae = (e) => q(Tk, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), jk = (e) => (e?.sources ?? []).some((e) => rie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Mk(e) {
- jk(X.getQueryData(mO)) && await Promise.all([X.fetchQuery({
+}), Ak = (e) => (e?.sources ?? []).some((e) => rie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function jk(e) {
+ Ak(X.getQueryData(mO)) && await Promise.all([X.fetchQuery({
+ queryKey: Ek,
+ queryFn: () => Ok(e)
+ }), X.fetchQuery({
queryKey: Dk,
queryFn: () => kk(e)
- }), X.fetchQuery({
- queryKey: Ok,
- queryFn: () => Ak(e)
})]);
}
-var Nk = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pk = {
+var Mk = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Nk = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, Fk = (e) => Number(e || 0).toLocaleString(), Ik = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Lk = (e) => `将永久删除文件已不在盘上的 ${Fk(e.missing)} 条记录和 ${Fk(e.empty)} 个空文件夹,并清理 ${Fk(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Rk = (e) => `将永久删除文件已不在盘上的 ${Fk(e.missing)} 条记录(含回收站里的)、${Fk(e.empty)} 个空文件夹,并清理 ${Fk(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, zk = (e) => e.online ? [
- `找不到文件 · 共 ${Fk(e.total)} 项`,
- e.empty ? `空文件夹 ${Fk(e.empty)} 个` : "",
- e.unreadable ? `${Fk(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${Fk(e.total)} 项`;
-function Bk(e) {
+}, Pk = (e) => Number(e || 0).toLocaleString(), Fk = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Ik = (e) => `将永久删除文件已不在盘上的 ${Pk(e.missing)} 条记录和 ${Pk(e.empty)} 个空文件夹,并清理 ${Pk(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Lk = (e) => `将永久删除文件已不在盘上的 ${Pk(e.missing)} 条记录(含回收站里的)、${Pk(e.empty)} 个空文件夹,并清理 ${Pk(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Rk = (e) => e.online ? [
+ `找不到文件 · 共 ${Pk(e.total)} 项`,
+ e.empty ? `空文件夹 ${Pk(e.empty)} 个` : "",
+ e.unreadable ? `${Pk(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${Pk(e.total)} 项`;
+function zk(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 ? `${Fk(t.length)} 条记录没有删除(${o})` : "",
- n ? `${Fk(n)} 个文件夹没有删除` : "",
- r.length ? `${Fk(r.length)} 个缓存没有清理` : ""
+ t.length ? `${Pk(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${Pk(n)} 个文件夹没有删除` : "",
+ r.length ? `${Pk(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Vk = (e, t) => {
- let { rest: n } = Bk(e), r = `已永久删除 ${Fk(e.purged)} 条失效记录和 ${Fk(e.dirs_removed)} 个空文件夹,清理 ${Fk(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var Bk = (e, t) => {
+ let { rest: n } = zk(e), r = `已永久删除 ${Pk(e.purged)} 条失效记录和 ${Pk(e.dirs_removed)} 个空文件夹,清理 ${Pk(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Hk = "/api/review?counts=1", Uk = ["review", "counts"], Wk = "/api/ads?limit=1", Gk = ["junk-summary"], Kk = "/api/items?state=trash&limit=1", qk = ["trash-summary"], Jk = [
+}, Vk = "/api/review?counts=1", Hk = ["review", "counts"], Uk = "/api/ads?limit=1", Wk = ["junk-summary"], Gk = "/api/items?state=trash&limit=1", Kk = ["trash-summary"], qk = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], Yk = (e) => cw(Hk, e), Xk = (e) => cw(Wk, e), Zk = (e) => {
+], Jk = (e) => cw(Vk, e), Yk = (e) => cw(Uk, e), Xk = (e) => {
let t = sessionStorage.getItem("peach.library");
- return cw(t ? `${Kk}&library=${encodeURIComponent(t)}` : Kk, e);
-}, Qk = (e) => Number(e || 0).toLocaleString();
-function $k(e) {
+ return cw(t ? `${Gk}&library=${encodeURIComponent(t)}` : Gk, e);
+}, Zk = (e) => Number(e || 0).toLocaleString();
+function Qk(e) {
let t = GO, 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 iae(e) {
+function $k(e) {
if (!e) return "";
- let t = Jk.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Qk(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Qk(e.dismissed_total)}`), t.join(" · ");
+ let t = qk.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Zk(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Zk(e.dismissed_total)}`), t.join(" · ");
}
var aae = [
- [Uk, ({ signal: e }) => Yk(e)],
+ [Hk, ({ signal: e }) => Jk(e)],
[IO, ({ signal: e }) => LO(e)],
- [qk, ({ signal: e }) => Zk(e)],
+ [Kk, ({ signal: e }) => Xk(e)],
+ [uk, ({ signal: e }) => hk(e)],
[dk, ({ signal: e }) => gk(e)],
- [fk, ({ signal: e }) => _k(e)],
- [pk, ({ signal: e }) => vk(e)]
+ [fk, ({ signal: e }) => _k(e)]
];
async function oae(e) {
let t = location.hash === "#resource-sync", n = aae.map(([n, r]) => {
@@ -31934,17 +31934,17 @@ async function oae(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: Gk,
- queryFn: () => Xk(e)
+ queryKey: Wk,
+ queryFn: () => Yk(e)
}),
X.fetchQuery({
queryKey: _O,
queryFn: () => vO(e)
}),
- gO(e).then(() => Mk(e)),
+ gO(e).then(() => jk(e)),
TO(e),
xie(e),
- Yie(e)
+ Xie(e)
]);
}
//#endregion
@@ -33070,7 +33070,7 @@ function tj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
/* @__PURE__ */ (0, O.jsx)(jD, { children: e.entity }),
- /* @__PURE__ */ (0, O.jsx)(jD, { children: mk[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, O.jsx)(jD, { children: pk[e.link_kind] || e.link_kind }),
/* @__PURE__ */ (0, O.jsx)(jD, { children: e.label || "" }),
/* @__PURE__ */ (0, O.jsx)(jD, { children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "tabular-nums text-text-error-primary",
@@ -33113,25 +33113,25 @@ function nj({ line: e, value: t, total: n }) {
}
function rj() {
let e = ht({
- queryKey: dk,
- queryFn: ({ signal: e }) => gk(e)
+ queryKey: uk,
+ queryFn: ({ signal: e }) => hk(e)
}), [t, n] = (0, D.useState)([]), r = zA({
- queryKey: pk,
- queryFn: ({ signal: e }) => vk(e),
- start: Vie,
+ queryKey: fk,
+ queryFn: ({ signal: e }) => _k(e),
+ start: Hie,
onFinish: () => {
X.invalidateQueries({
- queryKey: dk,
+ queryKey: uk,
exact: !0
}), X.invalidateQueries({
- queryKey: fk,
+ queryKey: dk,
exact: !0
});
}
}), i = zA({
- queryKey: fk,
- queryFn: ({ signal: e }) => _k(e),
- start: Bie,
+ queryKey: dk,
+ queryFn: ({ signal: e }) => gk(e),
+ start: Vie,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -33161,7 +33161,7 @@ function rj() {
else if (v) b = /* @__PURE__ */ (0, O.jsx)(J, {
tone: "success",
title: "完成",
- children: Hie(v)
+ children: Uie(v)
});
else if (y) b = /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
@@ -33184,7 +33184,7 @@ function rj() {
className: bae,
children: [
a.status === "running" ? /* @__PURE__ */ (0, O.jsx)(nj, {
- line: Uie(a),
+ line: Wie(a),
value: a.checked,
total: a.total
}) : null,
@@ -33270,7 +33270,7 @@ function rj() {
value: $A(m.total),
note: `分布在 ${$A(m.entities)} 个女优、厂牌与系列`
}), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(ej, {
- label: mk[e] || e,
+ label: pk[e] || e,
value: $A(t)
}, e))]
}), h ? /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -33305,7 +33305,7 @@ function sj({ plan: e }) {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: Sk(e.current_path)
+ children: xk(e.current_path)
}),
/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
@@ -33315,7 +33315,7 @@ function sj({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: Sk(e.target_path)
+ children: xk(e.target_path)
})
]
}, e.current_path))
@@ -33326,8 +33326,8 @@ function sj({ plan: e }) {
}
function cj({ toast: t, failure: n }) {
let r = ht({
- queryKey: bk,
- queryFn: ({ signal: e }) => xk(e)
+ queryKey: yk,
+ queryFn: ({ signal: e }) => bk(e)
}), i = r.data, a = i?.locations ?? [], [s, l] = (0, D.useState)(""), u = a.some((e) => e.location === s) ? s : a[0]?.location ?? "", d = i?.templates?.[u], [f, p] = (0, D.useState)(null), m = f?.location === u ? f : {
location: u,
file: d?.file ?? "",
@@ -33340,8 +33340,8 @@ function cj({ toast: t, failure: n }) {
file_template: m.file.trim(),
dir_template: m.dir.trim()
}), x = gt({
- mutationFn: Xie,
- onSuccess: (e, t) => void Qie({
+ mutationFn: Zie,
+ onSuccess: (e, t) => void $ie({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -33349,22 +33349,22 @@ function cj({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = eae.test(K(e)) ? "dir" : "file";
+ let t = tae.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
}), S = zA({
- queryKey: bk,
- queryFn: ({ signal: e }) => xk(e),
- start: Zie,
+ queryKey: yk,
+ queryFn: ({ signal: e }) => bk(e),
+ start: Qie,
jobOf: (e) => e,
- withJob: $ie,
+ withJob: eae,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: bk,
+ queryKey: yk,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = wk(e);
+ let { text: r, failed: i } = Ck(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[u] || u, k = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), A = () => {
@@ -33402,7 +33402,7 @@ function cj({ toast: t, failure: n }) {
children: F.error || "任务失败"
});
else if (F) {
- let { text: e, failed: t } = wk(F);
+ let { text: e, failed: t } = Ck(F);
N = /* @__PURE__ */ (0, O.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -33419,7 +33419,7 @@ function cj({ toast: t, failure: n }) {
}) : w && (N = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: tae(w)
+ children: nae(w)
}), T ? /* @__PURE__ */ (0, O.jsx)(sj, { plan: w }) : null] }));
return /* @__PURE__ */ (0, O.jsxs)(gA, {
layout: "stack",
@@ -33540,14 +33540,14 @@ function hj({ scan: e }) {
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, O.jsx)("article", {
className: iA(),
children: /* @__PURE__ */ (0, O.jsx)(aA, {
- label: Pk[e.location] || "媒体来源",
+ label: Nk[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, O.jsx)(MA, { mark: o[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, O.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
figure: e.online ? `${mj(e.missing)} 项` : "—",
- meta: zk(e),
+ meta: Rk(e),
wrapMeta: !0
})
}, e.location))
@@ -33583,37 +33583,37 @@ function hj({ scan: e }) {
}
function gj({ toast: e }) {
let t = zA({
- queryKey: Ok,
- queryFn: ({ signal: e }) => Ak(e),
- start: rae,
+ queryKey: Dk,
+ queryFn: ({ signal: e }) => kk(e),
+ start: iae,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: qk,
+ queryKey: Kk,
exact: !0
}), X.invalidateQueries({
- queryKey: Dk,
+ queryKey: Ek,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = Bk(t);
+ let { done: n, left: r } = zk(t);
r ? e(`已完成 ${mj(n)} 项,${mj(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
}), r = zA({
- queryKey: Dk,
- queryFn: ({ signal: e }) => kk(e),
- start: nae,
+ queryKey: Ek,
+ queryFn: ({ signal: e }) => Ok(e),
+ start: rae,
onStarted: () => t.dismiss()
}), i = r.job, a = r.running || r.start.isPending, o = t.running || t.start.isPending, s = i?.status === "complete" || i?.status === "failed", l = a ? "扫描中" : s ? "重新扫描" : "检查文件", u = (e) => void c({
title: fj,
- body: Rk(e),
+ body: Lk(e),
confirmLabel: fj,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), d = t.outcome, f = (e) => {
- let t = Bk(e).left > 0;
+ let t = zk(e).left > 0;
return /* @__PURE__ */ (0, O.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Vk(e, n)
+ children: Bk(e, n)
});
}, p = null;
if (d?.status === "failed") p = /* @__PURE__ */ (0, O.jsx)(J, {
@@ -33634,7 +33634,7 @@ function gj({ toast: e }) {
children: dj
});
else if (i?.status === "running") {
- let e = Ik(i);
+ let e = Fk(i);
p = /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
children: i.total_sources ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xw, {
@@ -33657,13 +33657,13 @@ function gj({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (i?.status === "complete") {
- let e = Nk(i);
+ let e = Mk(i);
p = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsx)(hj, { scan: i }),
e ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: Lk(i)
+ children: Ik(i)
}) : null,
/* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -33741,7 +33741,7 @@ function vj({ section: e, label: t, icon: n, value: r, open: i }) {
});
}
var yj = tA("square-check-big"), bj = tA("sparkles"), xj = tA("file-stack"), Sj = tA("file-archive"), Cj = tA("trash"), wj = [
- Uk,
+ Hk,
IO,
_O
], Tj = () => {
@@ -33752,8 +33752,8 @@ var yj = tA("square-check-big"), bj = tA("sparkles"), xj = tA("file-stack"), Sj
};
function Ej({ toast: e, failure: t, open: r }) {
let i = ht({
- queryKey: Uk,
- queryFn: ({ signal: e }) => Yk(e)
+ queryKey: Hk,
+ queryFn: ({ signal: e }) => Jk(e)
}), a = ht({
queryKey: IO,
queryFn: ({ signal: e }) => LO(e)
@@ -33761,11 +33761,11 @@ function Ej({ toast: e, failure: t, open: r }) {
queryKey: _O,
queryFn: ({ signal: e }) => vO(e)
}), s = ht({
- queryKey: Gk,
- queryFn: ({ signal: e }) => Xk(e)
+ queryKey: Wk,
+ queryFn: ({ signal: e }) => Yk(e)
}), c = ht({
- queryKey: qk,
- queryFn: ({ signal: e }) => Zk(e)
+ queryKey: Kk,
+ queryFn: ({ signal: e }) => Xk(e)
}), l = ht({
queryKey: mO,
queryFn: ({ signal: e }) => hO(e)
@@ -33779,7 +33779,7 @@ function Ej({ toast: e, failure: t, open: r }) {
label: "人工复核",
icon: yj,
open: r,
- value: _j(i, $k)
+ value: _j(i, Qk)
}),
/* @__PURE__ */ (0, O.jsx)(vj, {
section: "quality",
@@ -33805,7 +33805,7 @@ function Ej({ toast: e, failure: t, open: r }) {
open: r,
value: _j(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: iae(e)
+ meta: $k(e)
}))
}),
/* @__PURE__ */ (0, O.jsx)(vj, {
@@ -33843,7 +33843,7 @@ function Ej({ toast: e, failure: t, open: r }) {
]
}),
/* @__PURE__ */ (0, O.jsx)(rj, {}),
- jk(l.data) ? /* @__PURE__ */ (0, O.jsx)(gj, { toast: e }) : null
+ Ak(l.data) ? /* @__PURE__ */ (0, O.jsx)(gj, { toast: e }) : null
] });
}
//#endregion
@@ -33867,9 +33867,29 @@ function Dj({ label: e, figure: t, detail: n }) {
});
}
//#endregion
+//#region src/react/components/use-stuck.ts
+function Oj(e) {
+ (0, D.useEffect)(() => {
+ let t = e.current;
+ if (!t) return;
+ let n = 0, r = () => {
+ n = 0;
+ let e = parseFloat(getComputedStyle(t).top), r = window.scrollY > 0 && Number.isFinite(e) && t.getBoundingClientRect().top <= e + 1;
+ t.toggleAttribute("data-stuck", r);
+ }, i = () => {
+ n ||= requestAnimationFrame(r);
+ };
+ return r(), addEventListener("scroll", i, { passive: !0 }), addEventListener("resize", i), () => {
+ cancelAnimationFrame(n), removeEventListener("scroll", i), removeEventListener("resize", i);
+ };
+ }, [e]);
+}
+//#endregion
//#region src/react/components/filter-glass.tsx
-function Oj({ title: e, children: t }) {
- return /* @__PURE__ */ (0, O.jsxs)("div", {
+function kj({ title: e, children: t }) {
+ let n = (0, D.useRef)(null);
+ return Oj(n), /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: n,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
@@ -33881,8 +33901,10 @@ function Oj({ title: e, children: t }) {
}), t]
});
}
-function kj({ label: e, topLabel: t, top: n, bottom: r }) {
- return /* @__PURE__ */ (0, O.jsxs)("div", {
+function Aj({ label: e, topLabel: t, top: n, bottom: r }) {
+ let i = (0, D.useRef)(null);
+ return Oj(i), /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: i,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
@@ -33901,22 +33923,22 @@ function kj({ label: e, topLabel: t, top: n, bottom: r }) {
})]
});
}
-var Aj = "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 jj({ children: e, pressed: t, onPress: n, ...r }) {
+var jj = "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 Mj({ children: e, pressed: t, onPress: n, ...r }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
...r,
"aria-pressed": t,
- className: Aj,
+ className: jj,
onClick: n,
children: e
});
}
-var Mj = "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 Nj({ children: e, onPress: t, busy: n = !1 }) {
+var Nj = "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 Pj({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
- className: Mj,
+ className: Nj,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -33927,29 +33949,29 @@ function Nj({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Pj = tA("play"), Fj = tA("file-stack"), Ij = gw({
+var Fj = tA("play"), Ij = tA("file-stack"), Lj = gw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), Lj = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Rj = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", zj = "font-mono text-caption-1-regular leading-5 text-text-secondary", Bj = () => {
+}), Rj = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", zj = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Bj = "font-mono text-caption-1-regular leading-5 text-text-secondary", Vj = () => {
X.invalidateQueries({
queryKey: _O,
exact: !0
}), X.invalidateQueries({
- queryKey: qk,
+ queryKey: Kk,
exact: !0
});
};
-function Vj(e) {
+function Hj(e) {
return e.identical ? /* @__PURE__ */ (0, O.jsx)("span", {
- className: `${Rj} text-(--keep)`,
+ className: `${zj} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, O.jsx)("span", {
- className: `${Rj} text-text-secondary`,
+ className: `${zj} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Hj({ file: r, openItem: i }) {
+function Uj({ file: r, openItem: i }) {
let a = () => i(r.id);
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -33959,7 +33981,7 @@ function Hj({ file: r, openItem: i }) {
onClick: a,
"aria-label": `预览 ${r.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, O.jsx)(Pj, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Fj, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, O.jsx)("img", {
@@ -33983,39 +34005,39 @@ function Hj({ file: r, openItem: i }) {
}), r.is_largest || r.is_longest ? /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex flex-none gap-1",
children: [r.is_largest ? /* @__PURE__ */ (0, O.jsx)("i", {
- className: `${Lj} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${Rj} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, r.is_longest ? /* @__PURE__ */ (0, O.jsx)("i", {
- className: `${Lj} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${Rj} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
- className: `${zj} flex min-w-0 items-center gap-1.5`,
+ className: `${Bj} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: o[r.location] || "database" }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "whitespace-nowrap",
children: e[r.location] || r.location || r.drive
})]
}),
/* @__PURE__ */ (0, O.jsx)("span", {
- className: zj,
+ className: Bj,
children: n(r.size || 0)
}),
/* @__PURE__ */ (0, O.jsx)("span", {
- className: zj,
+ className: Bj,
children: t(r.duration)
}),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-middle-truncate": !0,
title: r.path ?? "",
- className: `${zj} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${Bj} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: r.path ?? ""
})
]
});
}
-function Uj({ openItem: t, toast: r, failure: i }) {
+function Wj({ openItem: t, toast: r, failure: i }) {
let a = ht({
queryKey: _O,
queryFn: ({ signal: e }) => vO(e)
@@ -34025,13 +34047,13 @@ function Uj({ openItem: t, toast: r, failure: i }) {
}), [s, l] = (0, D.useState)(""), u = gt({
mutationFn: (e) => xO(e, "dispose"),
onSuccess: (e, t) => {
- Bj(), r(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ Vj(), r(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
await xO(t, "restore");
} catch (e) {
i("撤销移入回收站", e);
} finally {
- Bj();
+ Vj();
}
} });
},
@@ -34063,10 +34085,10 @@ function Uj({ openItem: t, toast: r, failure: i }) {
figure: `${Number(d.total || 0).toLocaleString()} 组`,
detail: `${d.files} 个文件 · 可回收 ${n(d.reclaimable)}`
}),
- f.length ? /* @__PURE__ */ (0, O.jsxs)(Oj, {
+ f.length ? /* @__PURE__ */ (0, O.jsxs)(kj, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, O.jsx)(Nj, {
+ /* @__PURE__ */ (0, O.jsx)(Pj, {
busy: s === "all:largest",
onPress: () => m({
groups: f,
@@ -34075,7 +34097,7 @@ function Uj({ openItem: t, toast: r, failure: i }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, O.jsx)(Nj, {
+ /* @__PURE__ */ (0, O.jsx)(Pj, {
busy: s === "all:longest",
onPress: () => m({
groups: f,
@@ -34084,7 +34106,7 @@ function Uj({ openItem: t, toast: r, failure: i }) {
}),
children: "全部保留最长"
}),
- lie(f, p).map((t) => /* @__PURE__ */ (0, O.jsx)(Nj, {
+ lie(f, p).map((t) => /* @__PURE__ */ (0, O.jsx)(Pj, {
busy: s === `all:${t}`,
onPress: () => m({
groups: f,
@@ -34107,7 +34129,7 @@ function Uj({ openItem: t, toast: r, failure: i }) {
let a = [r], o = (e) => `${i}:${e}`;
return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-label": r.code,
- className: Ij,
+ className: Lj,
children: [/* @__PURE__ */ (0, O.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: [
@@ -34119,9 +34141,9 @@ function Uj({ openItem: t, toast: r, failure: i }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${r.count} 个 · 可回收 ${n(r.reclaimable)}`
}),
- Vj(r),
+ Hj(r),
r.cross_drive ? /* @__PURE__ */ (0, O.jsx)("span", {
- className: `${Rj} text-text-secondary`,
+ className: `${zj} text-text-secondary`,
children: `跨盘 ${r.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, O.jsxs)("span", {
@@ -34174,13 +34196,13 @@ function Uj({ openItem: t, toast: r, failure: i }) {
]
})
]
- }), /* @__PURE__ */ (0, O.jsx)("div", { children: r.files.map((e) => /* @__PURE__ */ (0, O.jsx)(Hj, {
+ }), /* @__PURE__ */ (0, O.jsx)("div", { children: r.files.map((e) => /* @__PURE__ */ (0, O.jsx)(Uj, {
file: e,
openItem: t
}, e.id)) })]
}, `${r.code}-${i}`);
}) : /* @__PURE__ */ (0, O.jsx)(vw, {
- icon: Fj,
+ icon: Ij,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -34189,7 +34211,7 @@ function Uj({ openItem: t, toast: r, failure: i }) {
}
//#endregion
//#region src/follow-sort.ts
-var Wj = [
+var Gj = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -34197,7 +34219,7 @@ var Wj = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Gj = "checked", Kj = {
+], Kj = "checked", qj = {
checked: "desc",
added: "desc",
name: "asc",
@@ -34205,32 +34227,32 @@ var Wj = [
source: "asc",
provider: "asc",
status: "asc"
-}, Rae = (e) => Wj.some(([t]) => t === e);
-function qj(e, t) {
- let n = Rae(e) ? e : Gj;
+}, Rae = (e) => Gj.some(([t]) => t === e);
+function Jj(e, t) {
+ let n = Rae(e) ? e : Kj;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : Kj[n]
+ dir: t === "asc" || t === "desc" ? t : qj[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var Jj = "/api/follow", zae = "/api/follow/credentials", Yj = "/api/follow/check", Xj = "/api/follow/source", Zj = "/api/follow/resolve", Bae = "/api/follow/suggest", Qj = "/api/follow/author-alias", Vae = "/api/follow/credential", Hae = "/api/follow/status", Uae = "/api/feeds", $j = "/api/feeds/source", Wae = "/api/feeds/check", eM = ["follow-manage"], tM = ["follow-manage", "credentials"], Gae = ["follow-manage", "check"], Kae = ["follow-manage", "resolve"], nM = ["follow-manage", "feeds"], qae = (e) => [
+var Yj = "/api/follow", zae = "/api/follow/credentials", Xj = "/api/follow/check", Zj = "/api/follow/source", Qj = "/api/follow/resolve", Bae = "/api/follow/suggest", $j = "/api/follow/author-alias", Vae = "/api/follow/credential", Hae = "/api/follow/status", Uae = "/api/feeds", eM = "/api/feeds/source", Wae = "/api/feeds/check", tM = ["follow-manage"], nM = ["follow-manage", "credentials"], Gae = ["follow-manage", "check"], Kae = ["follow-manage", "resolve"], rM = ["follow-manage", "feeds"], qae = (e) => [
"follow-manage",
"suggest",
e
-], rM = [["default", "默认视图"], ["table", "表格视图"]], iM = [
+], iM = [["default", "默认视图"], ["table", "表格视图"]], aM = [
10,
20,
50,
100
-], Jae = Object.fromEntries(Wj), aM = {
+], Jae = Object.fromEntries(Gj), oM = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Yae = (e) => rM.some(([t]) => t === e), Xae = (e) => iM.includes(Number(e)) ? Number(e) : 20, Zae = {
+}, Yae = (e) => iM.some(([t]) => t === e), Xae = (e) => aM.includes(Number(e)) ? Number(e) : 20, Zae = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -34239,24 +34261,24 @@ var Jj = "/api/follow", zae = "/api/follow/credentials", Yj = "/api/follow/check
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
}, Qae = (e, t) => `按${Jae[e]}${Zae[e][t === "asc" ? 0 : 1]}排序`;
-function oM(e) {
+function sM(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
function $ae(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var sM = (e) => e.last_status === "error" || e.last_status === "unauthorized", cM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), lM = {
- source: cM,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || cM(e, t),
- status: (e, t) => oM(e) - oM(t) || cM(e, t)
-}, uM = (e) => Date.parse(e || "") || 0, dM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function fM(e, t = []) {
+var cM = (e) => e.last_status === "error" || e.last_status === "unauthorized", lM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), uM = {
+ source: lM,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || lM(e, t),
+ status: (e, t) => sM(e) - sM(t) || lM(e, t)
+}, dM = (e) => Date.parse(e || "") || 0, fM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function pM(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || dM(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || fM(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return dM(i.canonical_name);
+ if (i) return fM(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -34275,7 +34297,7 @@ function toe(e) {
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function pM(e) {
+function mM(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -34284,25 +34306,25 @@ function pM(e) {
return t.map((e) => n.get(e));
}
function noe(e, t, n, r = []) {
- let i = pM(e), a = n === Kj[t] ? 1 : -1, o = (e) => fM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = lM[t];
+ let i = mM(e), a = n === qj[t] ? 1 : -1, o = (e) => pM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = uM[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => uM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => uM(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => dM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => dM(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 roe(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = fM(e, r);
+ let t = pM(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = lM[t];
+ }), a = uM[t];
if (a) {
- let e = n === Kj[t] ? 1 : -1;
+ let e = n === qj[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
@@ -34321,43 +34343,43 @@ function aoe(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function mM(e, t) {
+function hM(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 hM(e, t, n) {
+function gM(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var gM = (e) => cw(`${Jj}?summary=1`, e), _M = (e) => cw(zae, e), ooe = (e) => cw(Yj, e), soe = (e) => cw(Zj, e), coe = (e, t) => cw(`${Bae}?q=${encodeURIComponent(e)}`, t), vM = (e) => q(Yj, {
+var _M = (e) => cw(`${Yj}?summary=1`, e), vM = (e) => cw(zae, e), ooe = (e) => cw(Xj, e), soe = (e) => cw(Qj, e), coe = (e, t) => cw(`${Bae}?q=${encodeURIComponent(e)}`, t), yM = (e) => q(Xj, {
...e?.length ? { sources: e } : {},
background: !0
-}), loe = (e) => q(Zj, {
+}), loe = (e) => q(Qj, {
lines: e,
background: !0
-}), uoe = (e, t) => q(Xj, {
+}), uoe = (e, t) => q(Zj, {
action: "enabled",
id: e,
enabled: t
-}), yM = (e) => q(Xj, {
+}), bM = (e) => q(Zj, {
action: "remove",
id: e
-}), doe = (e) => q(Xj, {
+}), doe = (e) => q(Zj, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), bM = (e, t) => q(Qj, {
+}), xM = (e, t) => q($j, {
action: "add",
canonical: e,
alias: t
-}), foe = (e) => q(Qj, {
+}), foe = (e) => q($j, {
action: "remove",
alias: e
}), poe = (e, t) => q(Vae, {
@@ -34366,38 +34388,38 @@ var gM = (e) => cw(`${Jj}?summary=1`, e), _M = (e) => cw(zae, e), ooe = (e) => c
}), moe = (e, t) => q(Hae, {
item: e,
to: t
-}), hoe = () => cw(`${Jj}?status=new&limit=1000`);
-async function xM(e) {
+}), hoe = () => cw(`${Yj}?status=new&limit=1000`);
+async function SM(e) {
let t = await cw(Uae, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var goe = (e, t, n) => q($j, {
+var goe = (e, t, n) => q(eM, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), _oe = (e, t) => q($j, {
+}, "POST", n), _oe = (e, t) => q(eM, {
action: "remove",
id: e
}, "POST", t), voe = (e) => q(Wae, { all: !0 }, "POST", e);
async function yoe(e, t = "") {
await Promise.all([
- X.fetchQuery({
- queryKey: eM,
- queryFn: () => gM(e)
- }),
X.fetchQuery({
queryKey: tM,
queryFn: () => _M(e)
}),
- t === "feeds" ? X.fetchQuery({
+ X.fetchQuery({
queryKey: nM,
- queryFn: () => xM(e)
+ queryFn: () => vM(e)
+ }),
+ t === "feeds" ? X.fetchQuery({
+ queryKey: rM,
+ queryFn: () => SM(e)
}) : null
]);
}
function boe(e, t) {
- X.setQueryData(eM, (n) => n && {
+ X.setQueryData(tM, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -34405,15 +34427,15 @@ function boe(e, t) {
} : n)
});
}
-function SM(e) {
+function CM(e) {
let t = new Set(e);
- X.setQueryData(eM, (e) => e && {
+ X.setQueryData(tM, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var CM = () => X.invalidateQueries({
- queryKey: eM,
+var wM = () => X.invalidateQueries({
+ queryKey: tM,
exact: !0
});
function xoe(e) {
@@ -34422,7 +34444,7 @@ function xoe(e) {
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var Soe = (e) => (e?.results || []).filter((e) => !e.ok), Coe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", wM = (e) => e.last_checked_at ? UO(e.last_checked_at) : "未检查", woe = /* @__PURE__ */ new Set([
+var Soe = (e) => (e?.results || []).filter((e) => !e.ok), Coe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", TM = (e) => e.last_checked_at ? UO(e.last_checked_at) : "未检查", woe = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -34440,10 +34462,10 @@ var Soe = (e) => (e?.results || []).filter((e) => !e.ok), Coe = (e) => (e?.resul
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, TM = (e) => !!e.present && !e.missing.length, EM = "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", DM = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Doe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Ooe = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", koe = "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)";
+}, EM = (e) => !!e.present && !e.missing.length, DM = "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", OM = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Doe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Ooe = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", koe = "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/follow-manage/source-view.tsx
-function OM({ provider: e, label: t }) {
+function kM({ provider: e, label: t }) {
let n = Toe(e), [r, i] = (0, D.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: t }) : null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("img", {
src: n,
@@ -34455,7 +34477,7 @@ function OM({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, O.jsx)(G_, { children: t }) : null] });
}
-function kM({ group: e, name: t }) {
+function AM({ group: e, name: t }) {
let { src: n, fallback: r } = toe(e), [i, a] = (0, D.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, O.jsx)("img", {
src: o,
@@ -34472,15 +34494,15 @@ function kM({ group: e, name: t }) {
children: eoe(t)
});
}
-function AM({ source: e }) {
- let t = sM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+function jM({ source: e }) {
+ let t = cM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, O.jsx)(rw, {
variant: "caption",
color: t,
children: $ae(e)
});
}
-function jM({ source: e }) {
+function MM({ source: e }) {
return /* @__PURE__ */ (0, O.jsx)("a", {
href: e.url,
target: "_blank",
@@ -34492,7 +34514,7 @@ function jM({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var MM = ew(uA, dA, "text-body-2-medium"), Aoe = "粘贴来源链接,或输入创作者名、id…", joe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Moe = "识别中…", Noe = "站内没有查到来源", NM = (e, t) => `${e}:${t.url}`;
+var NM = ew(uA, dA, "text-body-2-medium"), Aoe = "粘贴来源链接,或输入创作者名、id…", joe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Moe = "识别中…", Noe = "站内没有查到来源", PM = (e, t) => `${e}:${t.url}`;
function Poe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, D.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
@@ -34518,7 +34540,7 @@ function Poe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? ew(MM, "bg-background-secondary-default") : MM,
+ className: t === r ? ew(NM, "bg-background-secondary-default") : NM,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -34584,7 +34606,7 @@ function Foe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(OM, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, O.jsx)(kM, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
@@ -34618,7 +34640,7 @@ function Ioe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = NM(t, e);
+ let n = PM(t, e);
return /* @__PURE__ */ (0, O.jsx)(WA, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
@@ -34626,7 +34648,7 @@ function Ioe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, O.jsx)(OM, { provider: e.provider }),
+ /* @__PURE__ */ (0, O.jsx)(kM, { provider: e.provider }),
/* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -34714,7 +34736,7 @@ function Loe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = N?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: NM(t, e)
+ key: PM(t, e)
})).filter((e) => !x.has(e.key))), ae = gt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -34729,7 +34751,7 @@ function Loe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await vM(n);
+ await yM(n);
} catch (e) {
t.push(K(e));
}
@@ -34739,7 +34761,7 @@ function Loe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (CM(), e.failures.length) {
+ if (wM(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -34873,15 +34895,15 @@ function Loe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Roe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, PM = (e) => e.alias;
+var Roe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, FM = (e) => e.alias;
function zoe(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 FM({ sources: e, name: t, canonicalKey: n }) {
+function IM({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(kM, {
+ children: [/* @__PURE__ */ (0, O.jsx)(AM, {
group: zoe(e, t, n),
name: t
}), /* @__PURE__ */ (0, O.jsx)("b", {
@@ -34896,9 +34918,9 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
let t = 0;
for (let n of e) {
try {
- await bM(n.canonical, n.alias);
+ await xM(n.canonical, n.alias);
} catch (n) {
- throw t && CM(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && wM(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -34908,19 +34930,19 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- l(""), o(/* @__PURE__ */ new Set()), CM(), i(`已合并 ${e.done} 组创作者别名`);
+ l(""), o(/* @__PURE__ */ new Set()), wM(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => l(K(e))
}), h = gt({
- mutationFn: (e) => bM(e.canonical, e.alias),
+ mutationFn: (e) => xM(e.canonical, e.alias),
onSuccess: () => {
- l(""), d(""), p(""), CM(), i("已保存创作者别名");
+ l(""), d(""), p(""), wM(), i("已保存创作者别名");
},
onError: (e) => l(K(e))
}), g = gt({
mutationFn: (e) => foe(e),
onSuccess: () => {
- l(""), CM(), i("已移除创作者别名");
+ l(""), wM(), i("已移除创作者别名");
},
onError: (e) => l(K(e))
}), _ = (e, t) => {
@@ -34930,7 +34952,7 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => m.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(PM(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
+ }, v = t.filter((e) => a.has(FM(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: gw({
padding: "none",
@@ -35014,7 +35036,7 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(PM)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(FM)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, O.jsx)(wD, {
@@ -35035,7 +35057,7 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "操作"
})
] }), /* @__PURE__ */ (0, O.jsx)(ED, { children: t.map((e) => {
- let t = PM(e);
+ let t = FM(e);
return /* @__PURE__ */ (0, O.jsxs)(kD, {
id: t,
"data-board-selected": a.has(t) || void 0,
@@ -35049,7 +35071,7 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, O.jsx)(jD, { children: /* @__PURE__ */ (0, O.jsx)(FM, {
+ /* @__PURE__ */ (0, O.jsx)(jD, { children: /* @__PURE__ */ (0, O.jsx)(IM, {
sources: n,
name: e.canonical
}) }),
@@ -35091,7 +35113,7 @@ function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "平台别名"
})] }), /* @__PURE__ */ (0, O.jsx)(ED, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(kD, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, O.jsx)(jD, { children: /* @__PURE__ */ (0, O.jsx)(FM, {
+ children: [/* @__PURE__ */ (0, O.jsx)(jD, { children: /* @__PURE__ */ (0, O.jsx)(IM, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -35134,7 +35156,7 @@ function Goe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function Koe({ row: e }) {
- if (TM(e)) return /* @__PURE__ */ (0, O.jsx)(rw, {
+ if (EM(e)) return /* @__PURE__ */ (0, O.jsx)(rw, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -35147,7 +35169,7 @@ function Koe({ row: e }) {
});
}
function qoe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, D.useState)({}), [a, o] = (0, D.useState)(""), s = TM(e), l = gt({
+ let [r, i] = (0, D.useState)({}), [a, o] = (0, D.useState)(""), s = EM(e), l = gt({
mutationFn: (t) => poe(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
@@ -35155,7 +35177,7 @@ function qoe({ row: e, readOnly: t, toast: n }) {
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: tM,
+ queryKey: nM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -35238,7 +35260,7 @@ function Joe({ row: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, O.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, O.jsx)(OM, { provider: e.provider })
+ children: /* @__PURE__ */ (0, O.jsx)(kM, { provider: e.provider })
}),
/* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium text-text-primary",
@@ -35258,8 +35280,8 @@ function Joe({ row: e, readOnly: t, toast: n }) {
}) : /* @__PURE__ */ (0, O.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, O.jsx)(jA, {
- summary: TM(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !TM(e),
+ summary: EM(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !EM(e),
children: /* @__PURE__ */ (0, O.jsx)(qoe, {
row: e,
readOnly: t,
@@ -35269,7 +35291,7 @@ function Joe({ row: e, readOnly: t, toast: n }) {
});
}
function Yoe({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !TM(e));
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !EM(e));
return r.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: gw({
padding: "none",
@@ -35330,37 +35352,37 @@ function Xoe(e) {
let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;
return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;
}
-var IM = () => X.invalidateQueries({
- queryKey: nM,
+var LM = () => X.invalidateQueries({
+ queryKey: rM,
exact: !0
-}), LM = (e) => e.name || e.url;
+}), RM = (e) => e.name || e.url;
function Zoe({ readOnly: e, toast: t }) {
let n = ht({
- queryKey: nM,
- queryFn: ({ signal: e }) => xM(e)
+ queryKey: rM,
+ queryFn: ({ signal: e }) => SM(e)
}), r = Sw(), i = n.data;
if (!i) return /* @__PURE__ */ (0, O.jsx)(vA, { children: /* @__PURE__ */ (0, O.jsx)(CA, { children: n.error ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(n.error)
}) : /* @__PURE__ */ (0, O.jsx)(TA, { children: "正在读订阅源。" }) }) });
- let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => goe(e.id, t, n), () => void IM()), o = (e) => void c({
+ let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => goe(e.id, t, n), () => void LM()), o = (e) => void c({
title: "移除订阅源",
- body: `将移除订阅源「${LM(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,
+ body: `将移除订阅源「${RM(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,
confirmLabel: "移除订阅源",
danger: !0,
onConfirm: async () => {
- await _oe(e.id), t(`已移除订阅源「${LM(e)}」`), IM();
+ await _oe(e.id), t(`已移除订阅源「${RM(e)}」`), LM();
}
- }), s = () => void r.run("check", (e) => voe(e), () => void IM()), l = i.sources.filter((e) => e.last_error);
+ }), s = () => void r.run("check", (e) => voe(e), () => void LM()), l = i.sources.filter((e) => e.last_error);
return /* @__PURE__ */ (0, O.jsxs)(vA, { children: [
i.sources.length ? /* @__PURE__ */ (0, O.jsx)(SA, { children: i.sources.map((t) => /* @__PURE__ */ (0, O.jsx)(bA, {
- label: LM(t),
+ label: RM(t),
description: Xoe(t),
children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center gap-2",
children: [/* @__PURE__ */ (0, O.jsx)(dO, {
- "aria-label": `启用 ${LM(t)}`,
+ "aria-label": `启用 ${RM(t)}`,
isSelected: t.enabled,
isDisabled: e,
onChange: (e) => a(t, e)
@@ -35369,7 +35391,7 @@ function Zoe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: lS,
- "aria-label": `移除 ${LM(t)}`,
+ "aria-label": `移除 ${RM(t)}`,
disabled: e,
onClick: () => o(t)
})]
@@ -35384,7 +35406,7 @@ function Zoe({ readOnly: e, toast: t }) {
divided: !0,
children: [l.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
- title: `${LM(e)} 拉取失败`,
+ title: `${RM(e)} 拉取失败`,
children: e.last_error
}, e.id)), r.error ? /* @__PURE__ */ (0, O.jsx)(EA, { children: r.error }) : null]
}) : null,
@@ -35414,18 +35436,18 @@ function Qoe() {
group: (e) => e
};
}
-function RM(e, t) {
+function zM(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function zM(e, t) {
+function BM(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: RM(n, t[e])
+ [e]: zM(n, t[e])
}));
};
}
-function BM(e) {
+function VM(e) {
return e instanceof Function;
}
function $oe(e) {
@@ -35441,7 +35463,7 @@ function ese(e, t) {
};
return r(e), n;
}
-function VM(e, t, n) {
+function HM(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -35463,7 +35485,7 @@ function VM(e, t, n) {
return i;
};
}
-function HM(e, t, n, r) {
+function UM(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
@@ -35477,7 +35499,7 @@ function tse(e, t, n, r) {
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: VM(() => [
+ getContext: HM(() => [
e,
n,
t,
@@ -35489,7 +35511,7 @@ function tse(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), HM(e.options, "debugCells", "cell.getContext"))
+ }), UM(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
@@ -35512,17 +35534,17 @@ function nse(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: VM(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], HM(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: VM(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: HM(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], UM(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: HM(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, HM(e.options, "debugColumns", "column.getLeafColumns"))
+ }, UM(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var UM = "debugHeaders";
-function WM(e, t, n) {
+var WM = "debugHeaders";
+function GM(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -35551,41 +35573,41 @@ function WM(e, t, n) {
}), r;
}
var rse = { createTable: (e) => {
- e.getHeaderGroups = VM(() => [
+ e.getHeaderGroups = HM(() => [
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 GM(t, [
+ return KM(t, [
...a,
...s,
...o
], e);
- }, HM(e.options, UM, "getHeaderGroups")), e.getCenterHeaderGroups = VM(() => [
+ }, UM(e.options, WM, "getHeaderGroups")), e.getCenterHeaderGroups = HM(() => [
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))), GM(t, n, e, "center")), HM(e.options, UM, "getCenterHeaderGroups")), e.getLeftHeaderGroups = VM(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), KM(t, n, e, "center")), UM(e.options, WM, "getCenterHeaderGroups")), e.getLeftHeaderGroups = HM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => GM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), HM(e.options, UM, "getLeftHeaderGroups")), e.getRightHeaderGroups = VM(() => [
+ ], (t, n, r) => KM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), UM(e.options, WM, "getLeftHeaderGroups")), e.getRightHeaderGroups = HM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => GM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), HM(e.options, UM, "getRightHeaderGroups")), e.getFooterGroups = VM(() => [e.getHeaderGroups()], (e) => [...e].reverse(), HM(e.options, UM, "getFooterGroups")), e.getLeftFooterGroups = VM(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), HM(e.options, UM, "getLeftFooterGroups")), e.getCenterFooterGroups = VM(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), HM(e.options, UM, "getCenterFooterGroups")), e.getRightFooterGroups = VM(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), HM(e.options, UM, "getRightFooterGroups")), e.getFlatHeaders = VM(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), HM(e.options, UM, "getFlatHeaders")), e.getLeftFlatHeaders = VM(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), HM(e.options, UM, "getLeftFlatHeaders")), e.getCenterFlatHeaders = VM(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), HM(e.options, UM, "getCenterFlatHeaders")), e.getRightFlatHeaders = VM(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), HM(e.options, UM, "getRightFlatHeaders")), e.getCenterLeafHeaders = VM(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => KM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), UM(e.options, WM, "getRightHeaderGroups")), e.getFooterGroups = HM(() => [e.getHeaderGroups()], (e) => [...e].reverse(), UM(e.options, WM, "getFooterGroups")), e.getLeftFooterGroups = HM(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), UM(e.options, WM, "getLeftFooterGroups")), e.getCenterFooterGroups = HM(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), UM(e.options, WM, "getCenterFooterGroups")), e.getRightFooterGroups = HM(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), UM(e.options, WM, "getRightFooterGroups")), e.getFlatHeaders = HM(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), UM(e.options, WM, "getFlatHeaders")), e.getLeftFlatHeaders = HM(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), UM(e.options, WM, "getLeftFlatHeaders")), e.getCenterFlatHeaders = HM(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), UM(e.options, WM, "getCenterFlatHeaders")), e.getRightFlatHeaders = HM(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), UM(e.options, WM, "getRightFlatHeaders")), e.getCenterLeafHeaders = HM(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), HM(e.options, UM, "getCenterLeafHeaders")), e.getLeftLeafHeaders = VM(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), UM(e.options, WM, "getCenterLeafHeaders")), e.getLeftLeafHeaders = HM(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), HM(e.options, UM, "getLeftLeafHeaders")), e.getRightLeafHeaders = VM(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), UM(e.options, WM, "getLeftLeafHeaders")), e.getRightLeafHeaders = HM(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), HM(e.options, UM, "getRightLeafHeaders")), e.getLeafHeaders = VM(() => [
+ }), UM(e.options, WM, "getRightLeafHeaders")), e.getLeafHeaders = HM(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -35593,9 +35615,9 @@ var rse = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), HM(e.options, UM, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), UM(e.options, WM, "getLeafHeaders"));
} };
-function GM(e, t, n, r) {
+function KM(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;
@@ -35613,7 +35635,7 @@ function GM(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 = WM(n, c, {
+ let i = GM(n, c, {
id: [
r,
t,
@@ -35630,7 +35652,7 @@ function GM(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) => WM(n, e, {
+ s(t.map((e, t) => GM(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -35680,8 +35702,8 @@ var ise = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: VM(() => [e.getAllLeafColumns()], (t) => t.map((t) => tse(e, s, t, t.id)), HM(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: VM(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), HM(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: HM(() => [e.getAllLeafColumns()], (t) => t.map((t) => tse(e, s, t, t.id)), UM(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: HM(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), UM(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
@@ -35692,59 +35714,59 @@ var ise = (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();
};
-} }, KM = (e, t, n) => {
+} }, qM = (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));
};
-KM.autoRemove = (e) => nN(e);
-var qM = (e, t, n) => {
+qM.autoRemove = (e) => rN(e);
+var JM = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-qM.autoRemove = (e) => nN(e);
-var JM = (e, t, n) => {
+JM.autoRemove = (e) => rN(e);
+var YM = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-JM.autoRemove = (e) => nN(e);
-var YM = (e, t, n) => e.getValue(t)?.includes(n);
-YM.autoRemove = (e) => nN(e);
-var XM = (e, t, n) => !n.some((n) => {
+YM.autoRemove = (e) => rN(e);
+var XM = (e, t, n) => e.getValue(t)?.includes(n);
+XM.autoRemove = (e) => rN(e);
+var ZM = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-XM.autoRemove = (e) => nN(e) || !(e != null && e.length);
-var ZM = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-ZM.autoRemove = (e) => nN(e) || !(e != null && e.length);
-var QM = (e, t, n) => e.getValue(t) === n;
-QM.autoRemove = (e) => nN(e);
-var $M = (e, t, n) => e.getValue(t) == n;
-$M.autoRemove = (e) => nN(e);
-var eN = (e, t, n) => {
+ZM.autoRemove = (e) => rN(e) || !(e != null && e.length);
+var QM = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+QM.autoRemove = (e) => rN(e) || !(e != null && e.length);
+var $M = (e, t, n) => e.getValue(t) === n;
+$M.autoRemove = (e) => rN(e);
+var eN = (e, t, n) => e.getValue(t) == n;
+eN.autoRemove = (e) => rN(e);
+var tN = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-eN.resolveFilterValue = (e) => {
+tN.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];
-}, eN.autoRemove = (e) => nN(e) || nN(e[0]) && nN(e[1]);
-var tN = {
- includesString: KM,
- includesStringSensitive: qM,
- equalsString: JM,
- arrIncludes: YM,
- arrIncludesAll: XM,
- arrIncludesSome: ZM,
- equals: QM,
- weakEquals: $M,
- inNumberRange: eN
+}, tN.autoRemove = (e) => rN(e) || rN(e[0]) && rN(e[1]);
+var nN = {
+ includesString: qM,
+ includesStringSensitive: JM,
+ equalsString: YM,
+ arrIncludes: XM,
+ arrIncludesAll: ZM,
+ arrIncludesSome: QM,
+ equals: $M,
+ weakEquals: eN,
+ inNumberRange: tN
};
-function nN(e) {
+function rN(e) {
return e == null || e === "";
}
var ose = {
@@ -35754,21 +35776,21 @@ var ose = {
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: zM("columnFilters", e),
+ onColumnFiltersChange: BM("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? tN.includesString : typeof n == "number" ? tN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? tN.equals : Array.isArray(n) ? tN.arrIncludes : tN.weakEquals;
- }, e.getFilterFn = () => BM(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? tN[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" ? nN.includesString : typeof n == "number" ? nN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? nN.equals : Array.isArray(n) ? nN.arrIncludes : nN.weakEquals;
+ }, e.getFilterFn = () => VM(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? nN[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 = RM(n, i ? i.value : void 0);
- if (rN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = zM(n, i ? i.value : void 0);
+ if (iN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -35783,19 +35805,19 @@ var ose = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => RM(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => zM(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && rN(t.getFilterFn(), e.value, t));
+ return !(t && iN(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 rN(e, t, n) {
+function iN(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var iN = {
+var aN = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -35852,7 +35874,7 @@ var iN = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: zM("grouping", e),
+ onGroupingChange: BM("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -35865,11 +35887,11 @@ var iN = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return iN.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return iN.extent;
+ if (typeof n == "number") return aN.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return aN.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return BM(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? iN[e.columnDef.aggregationFn];
+ return VM(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? aN[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -35901,17 +35923,17 @@ var lse = {
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: zM("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: BM("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = VM((e) => [uN(t, e)], (t) => t.findIndex((t) => t.id === e.id), HM(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => uN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = uN(t, n);
+ e.getIndex = HM((e) => [dN(t, e)], (t) => t.findIndex((t) => t.id === e.id), UM(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => dN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = dN(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 = VM(() => [
+ }, e._getOrderColumnsFn = HM(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -35927,17 +35949,17 @@ var lse = {
i = [...i, ...n];
}
return cse(i, t, n);
- }, HM(e.options, "debugTable", "_getOrderColumnsFn"));
+ }, UM(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, aN = () => ({
+}, oN = () => ({
left: [],
right: []
}), use = {
getInitialState: (e) => ({
- columnPinning: aN(),
+ columnPinning: oN(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: zM("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: BM("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -35961,43 +35983,43 @@ var lse = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = VM(() => [
+ e.getCenterVisibleCells = HM(() => [
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));
- }, HM(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = VM(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, UM(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = HM(() => [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"
- })), HM(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = VM(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), UM(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = HM(() => [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"
- })), HM(t.options, "debugRows", "getRightVisibleCells"));
+ })), UM(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 ? aN() : e.initialState?.columnPinning ?? aN()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? oN() : e.initialState?.columnPinning ?? oN()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = VM(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), HM(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = VM(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), HM(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = VM(() => [
+ }, e.getLeftLeafColumns = HM(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), UM(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = HM(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), UM(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = HM(() => [
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));
- }, HM(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, UM(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
function dse(e) {
return e || (typeof document < "u" ? document : null);
}
-var oN = {
+var sN = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, sN = () => ({
+}, cN = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
@@ -36005,31 +36027,31 @@ var oN = {
isResizingColumn: !1,
columnSizingStart: []
}), fse = {
- getDefaultColumnDef: () => oN,
+ getDefaultColumnDef: () => sN,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: sN(),
+ columnSizingInfo: cN(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: zM("columnSizing", e),
- onColumnSizingInfoChange: zM("columnSizingInfo", e)
+ onColumnSizingChange: BM("columnSizing", e),
+ onColumnSizingInfoChange: BM("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? oN.minSize, n ?? e.columnDef.size ?? oN.size), e.columnDef.maxSize ?? oN.maxSize);
- }, e.getStart = VM((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? sN.minSize, n ?? e.columnDef.size ?? sN.size), e.columnDef.maxSize ?? sN.maxSize);
+ }, e.getStart = HM((e) => [
e,
- uN(t, e),
+ dN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), HM(t.options, "debugColumns", "getStart")), e.getAfter = VM((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), UM(t.options, "debugColumns", "getStart")), e.getAfter = HM((e) => [
e,
- uN(t, e),
+ dN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), HM(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), UM(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -36051,8 +36073,8 @@ var oN = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), lN(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 = lN(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), uN(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 = uN(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) => {
@@ -36088,7 +36110,7 @@ var oN = {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
}, g = pse() ? { passive: !1 } : !1;
- lN(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) => ({
+ uN(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,
@@ -36104,12 +36126,12 @@ var oN = {
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 ? sN() : e.initialState.columnSizingInfo ?? sN());
+ e.setColumnSizingInfo(t ? cN() : e.initialState.columnSizingInfo ?? cN());
}, 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;
}
-}, cN = null;
+}, lN = null;
function pse() {
- if (typeof cN == "boolean") return cN;
+ if (typeof lN == "boolean") return lN;
let e = !1;
try {
let t = { get passive() {
@@ -36119,9 +36141,9 @@ function pse() {
} catch {
e = !1;
}
- return cN = e, cN;
+ return lN = e, lN;
}
-function lN(e) {
+function uN(e) {
return e.type === "touchstart";
}
var mse = {
@@ -36129,7 +36151,7 @@ var mse = {
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: zM("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: BM("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -36144,7 +36166,7 @@ var mse = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = VM(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), HM(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = VM(() => [
+ e._getAllVisibleCells = HM(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), UM(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = HM(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -36152,10 +36174,10 @@ var mse = {
...e,
...t,
...n
- ], HM(t.options, "debugRows", "getVisibleCells"));
+ ], UM(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => VM(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), HM(e.options, "debugColumns", t));
+ let t = (t, n) => HM(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), UM(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) => {
@@ -36168,7 +36190,7 @@ var mse = {
};
}
};
-function uN(e, t) {
+function dN(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
var hse = { createTable: (e) => {
@@ -36181,7 +36203,7 @@ var hse = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: zM("globalFilter", e),
+ onGlobalFilterChange: BM("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -36193,9 +36215,9 @@ var hse = { 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 = () => tN.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => nN.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return BM(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? tN[t];
+ return VM(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? nN[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
@@ -36208,7 +36230,7 @@ var hse = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: zM("expanded", e),
+ onExpandedChange: BM("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -36279,18 +36301,18 @@ var hse = { createTable: (e) => {
};
};
}
-}, dN = 0, fN = 10, pN = () => ({
- pageIndex: dN,
- pageSize: fN
+}, fN = 0, pN = 10, mN = () => ({
+ pageIndex: fN,
+ pageSize: pN
}), vse = {
getInitialState: (e) => ({
...e,
pagination: {
- ...pN(),
+ ...mN(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: zM("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: BM("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -36306,11 +36328,11 @@ var hse = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => RM(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? pN() : e.initialState.pagination ?? pN());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => zM(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? mN() : e.initialState.pagination ?? mN());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = RM(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = zM(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
@@ -36318,13 +36340,13 @@ var hse = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? dN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? dN);
+ e.setPageIndex(t ? fN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? fN);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? fN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? fN);
+ e.setPageSize(t ? pN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? pN);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, RM(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, zM(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -36332,28 +36354,28 @@ var hse = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = RM(t, e.options.pageCount ?? -1);
+ let r = zM(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = VM(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = HM(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, HM(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, UM(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;
}
-}, mN = () => ({
+}, hN = () => ({
top: [],
bottom: []
}), yse = {
getInitialState: (e) => ({
- rowPinning: mN(),
+ rowPinning: hN(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: zM("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: BM("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -36392,7 +36414,7 @@ var hse = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? mN() : e.initialState?.rowPinning ?? mN()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? hN() : e.initialState?.rowPinning ?? hN()), 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) => {
@@ -36401,14 +36423,14 @@ var hse = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = VM(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), HM(e.options, "debugRows", "getTopRows")), e.getBottomRows = VM(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), HM(e.options, "debugRows", "getBottomRows")), e.getCenterRows = VM(() => [
+ })), e.getTopRows = HM(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), UM(e.options, "debugRows", "getTopRows")), e.getBottomRows = HM(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), UM(e.options, "debugRows", "getBottomRows")), e.getCenterRows = HM(() => [
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));
- }, HM(e.options, "debugRows", "getCenterRows"));
+ }, UM(e.options, "debugRows", "getCenterRows"));
}
}, bse = {
getInitialState: (e) => ({
@@ -36416,7 +36438,7 @@ var hse = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: zM("rowSelection", e),
+ onRowSelectionChange: BM("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -36435,21 +36457,21 @@ var hse = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- hN(i, t.id, r, !0, e);
+ gN(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = VM(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? gN(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = HM(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? _N(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, HM(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = VM(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? gN(e, n) : {
+ }, UM(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = HM(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? _N(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, HM(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = VM(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? gN(e, n) : {
+ }, UM(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = HM(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? _N(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, HM(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, UM(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 = () => {
@@ -36473,17 +36495,17 @@ var hse = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return hN(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return gN(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return _N(e, n);
+ return vN(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return vN(e, n) === "some";
+ return yN(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return vN(e, n) === "all";
+ return yN(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) => {
@@ -36491,16 +36513,16 @@ var hse = { createTable: (e) => {
};
};
}
-}, hN = (e, t, n, r, i) => {
+}, gN = (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) => hN(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) => gN(e, t.id, n, r, i));
};
-function gN(e, t) {
+function _N(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = _N(e, n);
+ let o = vN(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -36513,32 +36535,32 @@ function gN(e, t) {
rowsById: i
};
}
-function _N(e, t) {
+function vN(e, t) {
return t[e.id] ?? !1;
}
-function vN(e, t, n) {
+function yN(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() && (_N(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = vN(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (vN(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = yN(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var yN = /([0-9]+)/gm, xse = (e, t, n) => SN(xN(e.getValue(n)).toLowerCase(), xN(t.getValue(n)).toLowerCase()), Sse = (e, t, n) => SN(xN(e.getValue(n)), xN(t.getValue(n))), Cse = (e, t, n) => bN(xN(e.getValue(n)).toLowerCase(), xN(t.getValue(n)).toLowerCase()), wse = (e, t, n) => bN(xN(e.getValue(n)), xN(t.getValue(n))), Tse = (e, t, n) => {
+var bN = /([0-9]+)/gm, xse = (e, t, n) => CN(SN(e.getValue(n)).toLowerCase(), SN(t.getValue(n)).toLowerCase()), Sse = (e, t, n) => CN(SN(e.getValue(n)), SN(t.getValue(n))), Cse = (e, t, n) => xN(SN(e.getValue(n)).toLowerCase(), SN(t.getValue(n)).toLowerCase()), wse = (e, t, n) => xN(SN(e.getValue(n)), SN(t.getValue(n))), Tse = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Ese = (e, t, n) => bN(e.getValue(n), t.getValue(n));
-function bN(e, t) {
+}, Ese = (e, t, n) => xN(e.getValue(n), t.getValue(n));
+function xN(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function xN(e) {
+function SN(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function SN(e, t) {
- let n = e.split(yN).filter(Boolean), r = t.split(yN).filter(Boolean);
+function CN(e, t) {
+ let n = e.split(bN).filter(Boolean), r = t.split(bN).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])) {
@@ -36552,7 +36574,7 @@ function SN(e, t) {
}
return n.length - r.length;
}
-var CN = {
+var wN = {
alphanumeric: xse,
alphanumericCaseSensitive: Sse,
text: Cse,
@@ -36578,7 +36600,7 @@ var CN = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: zM("sorting", e),
+ onSortingChange: BM("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -36586,13 +36608,13 @@ var CN = {
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 CN.datetime;
- if (typeof n == "string" && (r = !0, n.split(yN).length > 1)) return CN.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return wN.datetime;
+ if (typeof n == "string" && (r = !0, n.split(bN).length > 1)) return wN.alphanumeric;
}
- return r ? CN.text : CN.basic;
+ return r ? wN.text : wN.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return BM(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? CN[e.columnDef.sortingFn];
+ return VM(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? wN[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -36663,7 +36685,7 @@ function Ose(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = RM(e, n.options);
+ let t = zM(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -36678,7 +36700,7 @@ function Ose(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: VM(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: HM(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -36689,9 +36711,9 @@ function Ose(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), HM(e, "debugColumns", "_getDefaultColumnDef")),
+ }), UM(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: VM(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: HM(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
let a = nse(n, e, i, r), o = e;
@@ -36699,10 +36721,10 @@ function Ose(e) {
});
};
return t(e);
- }, HM(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: VM(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), HM(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: VM(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), HM(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: VM(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), HM(e, "debugColumns", "getAllLeafColumns")),
+ }, UM(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: HM(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), UM(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: HM(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), UM(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: HM(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), UM(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -36713,7 +36735,7 @@ function Ose(e) {
return n;
}
function kse() {
- return (e) => VM(() => [e.options.data], (t) => {
+ return (e) => HM(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -36731,7 +36753,7 @@ function kse() {
return o;
};
return n.rows = r(t), n;
- }, HM(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, UM(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
function Ase(e) {
let t = [], n = (e) => {
@@ -36745,7 +36767,7 @@ function Ase(e) {
};
}
function jse(e) {
- return (e) => VM(() => [
+ return (e) => HM(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -36767,26 +36789,26 @@ function jse(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, HM(e.options, "debugTable", "getPaginationRowModel"));
+ }, UM(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function wN(e, t) {
+function TN(e, t) {
return e ? Mse(e) ? /*#__PURE__*/ D.createElement(e, t) : e : null;
}
function Mse(e) {
- return TN(e) || typeof e == "function" || EN(e);
+ return EN(e) || typeof e == "function" || DN(e);
}
-function TN(e) {
+function EN(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function EN(e) {
+function DN(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function DN(e) {
+function ON(e) {
let t = {
state: {},
onStateChange: () => {},
@@ -36807,7 +36829,7 @@ function DN(e) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-function ON({ children: e, count: t, label: n }) {
+function kN({ children: e, count: t, label: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": n,
@@ -36822,19 +36844,19 @@ function ON({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var kN = Object.fromEntries(Object.entries(aM).map(([e, t]) => [t, e])), AN = 740;
-function jN() {
+var AN = Object.fromEntries(Object.entries(oM).map(([e, t]) => [t, e])), jN = 740;
+function MN() {
let [e, t] = (0, D.useState)(!1), n = (0, D.useRef)(null), r = (0, D.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < AN));
- r.observe(e), n.current = r, t(e.clientWidth < AN);
+ let r = new ResizeObserver(() => t(e.clientWidth < jN));
+ r.observe(e), n.current = r, t(e.clientWidth < jN);
}, []);
return (0, D.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var MN = {
+var NN = {
select: "选择",
author: "创作者",
source: "来源",
@@ -36843,7 +36865,7 @@ var MN = {
checked: "上次检查",
actions: "操作"
};
-function NN({ page: e, pages: t, onPage: n }) {
+function PN({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -36880,7 +36902,7 @@ function NN({ page: e, pages: t, onPage: n }) {
]
});
}
-function PN({ source: e, selected: t, onToggle: n, handlers: r }) {
+function FN({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
@@ -36892,7 +36914,7 @@ function PN({ source: e, selected: t, onToggle: n, handlers: r }) {
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, O.jsx)(jM, { source: e }), e.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
+ children: [/* @__PURE__ */ (0, O.jsx)(MM, { source: e }), e.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -36900,15 +36922,15 @@ function PN({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, O.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, O.jsx)(OM, {
+ children: /* @__PURE__ */ (0, O.jsx)(kM, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, O.jsx)(AM, { source: e }),
+ /* @__PURE__ */ (0, O.jsx)(jM, { source: e }),
/* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: wM(e)
+ children: TM(e)
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
@@ -36934,8 +36956,8 @@ function PN({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function FN({ 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(sM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = mM(r, c);
+function IN({ 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(cM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = hM(r, c);
return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
className: gw({
@@ -36948,7 +36970,7 @@ function FN({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, O.jsx)(kM, {
+ /* @__PURE__ */ (0, O.jsx)(AM, {
group: e,
name: t
}),
@@ -36969,7 +36991,7 @@ function FN({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, O.jsx)(OM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, O.jsx)(G_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, O.jsx)(kM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, O.jsx)(G_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -36999,7 +37021,7 @@ function FN({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(PN, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(FN, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -37008,8 +37030,8 @@ function FN({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function IN(e) {
- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, D.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, D.useState)(/* @__PURE__ */ new Set()), [C, w] = jN(), [T, E] = (0, D.useState)(""), k = (0, D.useMemo)(() => noe(v, n, i, y), [
+function LN(e) {
+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, D.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, D.useState)(/* @__PURE__ */ new Set()), [C, w] = MN(), [T, E] = (0, D.useState)(""), k = (0, D.useMemo)(() => noe(v, n, i, y), [
v,
n,
i,
@@ -37022,17 +37044,17 @@ function IN(e) {
]), { job: j, running: M, outcome: N, start: P } = zA({
queryKey: Gae,
queryFn: ({ signal: e }) => ooe(e),
- start: (e) => vM(e),
+ start: (e) => yM(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- CM(), g(e.status === "failed" ? e.error || "检查失败" : xoe(e));
+ wM(), g(e.status === "failed" ? e.error || "检查失败" : xoe(e));
}
}), F = (e) => {
M || P.isPending || (E(""), P.mutate(e));
- }, I = (e, t) => h(hM(l, [e], t)), ee = (e, t) => h(hM(l, e, t)), te = gt({
- mutationFn: (e) => yM(e),
+ }, I = (e, t) => h(gM(l, [e], t)), ee = (e, t) => h(gM(l, e, t)), te = gt({
+ mutationFn: (e) => bM(e),
onSuccess: (e, t) => {
- SM([t]), h(hM(l, [t], !1)), g("已取消关注来源");
+ CM([t]), h(gM(l, [t], !1)), g("已取消关注来源");
},
onError: (e) => E(K(e))
}), ne = (e) => void c({
@@ -37044,7 +37066,7 @@ function IN(e) {
}), L = gt({
mutationFn: async (e) => {
let t = await r(e.ids, 4, async (t) => {
- e.action === "remove" ? await yM(t) : await uoe(t, e.action === "enabled");
+ e.action === "remove" ? await bM(t) : await uoe(t, e.action === "enabled");
});
return {
...e,
@@ -37053,9 +37075,9 @@ function IN(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") SM(e.done);
+ if (e.action === "remove") CM(e.done);
else for (let t of e.done) boe(t, { enabled: e.action === "enabled" });
- h(hM(l, e.done, !1));
+ h(gM(l, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -37079,7 +37101,7 @@ function IN(e) {
};
},
onSuccess: (e) => {
- if (CM(), e.failed.length) {
+ if (wM(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -37099,7 +37121,7 @@ function IN(e) {
readOnly: u
};
let ae = ie.current, oe = (0, D.useMemo)(() => {
- let e = Qoe(), t = (e) => () => MN[e] || e;
+ let e = Qoe(), t = (e) => () => NN[e] || e;
return [
e.display({
id: "select",
@@ -37116,7 +37138,7 @@ function IN(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(kM, {
+ children: [/* @__PURE__ */ (0, O.jsx)(AM, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, O.jsx)("span", {
@@ -37130,7 +37152,7 @@ function IN(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, O.jsx)(jM, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
+ children: [/* @__PURE__ */ (0, O.jsx)(MM, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -37141,18 +37163,18 @@ function IN(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(OM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, O.jsx)(kM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, O.jsx)(AM, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, O.jsx)(jM, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => wM(e.row.original.source)
+ cell: (e) => TM(e.row.original.source)
}),
e.display({
id: "actions",
@@ -37181,12 +37203,12 @@ function IN(e) {
})
];
}, [ae]), se = (0, D.useMemo)(() => {
- let e = kN[n];
+ let e = AN[n];
return e ? [{
id: e,
desc: i === "desc"
}] : [];
- }, [n, i]), ce = (0, D.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), le = o === "table", ue = ioe(le ? A.length : k.length, s, a), R = DN({
+ }, [n, i]), ce = (0, D.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), le = o === "table", ue = ioe(le ? A.length : k.length, s, a), R = ON({
data: A,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -37203,7 +37225,7 @@ function IN(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = aM[t.id];
+ let n = oM[t.id];
n && d(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -37219,7 +37241,7 @@ function IN(e) {
},
getCoreRowModel: kse(),
getPaginationRowModel: jse()
- }), z = R.getRowModel().rows, de = le ? z.map((e) => e.original.source.id) : k.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = mM(l, de), pe = [...l], me = Soe(N), he = Coe(N), ge = k.length > 0 && x.size >= k.length;
+ }), z = R.getRowModel().rows, de = le ? z.map((e) => e.original.source.id) : k.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = hM(l, de), pe = [...l], me = Soe(N), he = Coe(N), ge = k.length > 0 && x.size >= k.length;
return v.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: gw({
padding: "none",
@@ -37256,14 +37278,14 @@ function IN(e) {
variant: "ghost",
iconOnly: !0,
leadingIcon: Ute,
- "aria-label": rM[0][1],
+ "aria-label": iM[0][1],
"aria-pressed": !le,
onClick: () => p("default")
}), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
iconOnly: !0,
leadingIcon: Gte,
- "aria-label": rM[1][1],
+ "aria-label": iM[1][1],
"aria-pressed": le,
onClick: () => p("table")
})]
@@ -37274,9 +37296,9 @@ function IN(e) {
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- d(t, Kj[t]);
+ d(t, qj[t]);
},
- children: Wj.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: Gj.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: e,
children: t
}, e))
@@ -37327,7 +37349,7 @@ function IN(e) {
}) : null
]
}),
- pe.length ? /* @__PURE__ */ (0, O.jsxs)(ON, {
+ pe.length ? /* @__PURE__ */ (0, O.jsxs)(kN, {
label: "关注来源批量操作",
count: `已选 ${pe.length} 个来源`,
children: [
@@ -37400,7 +37422,7 @@ function IN(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, O.jsx)(CD, { children: R.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in aM, n = wN(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in oM, n = TN(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, O.jsx)(wD, {
id: e.id,
allowsSorting: t,
@@ -37419,7 +37441,7 @@ function IN(e) {
children: z.map((e) => /* @__PURE__ */ (0, O.jsx)(kD, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(jD, { children: wN(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(jD, { children: TN(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
@@ -37433,9 +37455,9 @@ function IN(e) {
className: "flex flex-col gap-3",
children: k.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, O.jsx)(FN, {
+ return /* @__PURE__ */ (0, O.jsx)(IN, {
group: e,
- name: fM(e, y),
+ name: pM(e, y),
handlers: ae,
selected: l,
open: !x.has(t),
@@ -37462,12 +37484,12 @@ function IN(e) {
onSelectionChange: (e) => {
e !== null && R.setPageSize(Number(e));
},
- children: iM.map((e) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: aM.map((e) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, O.jsx)(NN, {
+ /* @__PURE__ */ (0, O.jsx)(PN, {
page: ue.page,
pages: ue.pages,
onPage: (e) => R.setPageIndex(e - 1)
@@ -37525,13 +37547,13 @@ function IN(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var LN = [
+var RN = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "订阅源"],
["source", "来源和凭证"]
-], RN = (e) => LN.some(([t]) => t === e);
-function zN({ term: e, figure: t, unit: n }) {
+], zN = (e) => RN.some(([t]) => t === e);
+function BN({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: gw({
padding: "none",
@@ -37549,13 +37571,13 @@ function zN({ term: e, figure: t, unit: n }) {
})]
});
}
-function BN(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, D.useState)(RN(e.tab) ? e.tab : "list"), [u, d] = (0, D.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, D.useState)(() => qj(e.sort, e.dir).sort), [m, h] = (0, D.useState)(() => qj(e.sort, e.dir).dir), [g, _] = (0, D.useState)(Yae(e.layout) ? e.layout : "default"), [v, y] = (0, D.useState)(Xae(e.pageSize)), [b, x] = (0, D.useState)(/* @__PURE__ */ new Set()), S = ht({
- queryKey: eM,
- queryFn: ({ signal: e }) => gM(e)
- }), C = ht({
+function VN(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, D.useState)(zN(e.tab) ? e.tab : "list"), [u, d] = (0, D.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, D.useState)(() => Jj(e.sort, e.dir).sort), [m, h] = (0, D.useState)(() => Jj(e.sort, e.dir).dir), [g, _] = (0, D.useState)(Yae(e.layout) ? e.layout : "default"), [v, y] = (0, D.useState)(Xae(e.pageSize)), [b, x] = (0, D.useState)(/* @__PURE__ */ new Set()), S = ht({
queryKey: tM,
queryFn: ({ signal: e }) => _M(e)
+ }), C = ht({
+ queryKey: nM,
+ queryFn: ({ signal: e }) => vM(e)
}), w = S.data || { sources: [] }, T = C.data || {
root: "",
providers: []
@@ -37572,9 +37594,9 @@ function BN(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === Kj[n] ? "" : r
+ dir: r === qj[n] ? "" : r
});
- }, A = pM(E), j = E.filter(sM).length, M = E.filter((e) => e.enabled).length, N = (T.providers || []).filter((e) => e.requirement === "required" && !TM(e)).length;
+ }, A = mM(E), j = E.filter(cM).length, M = E.filter((e) => e.enabled).length, N = (T.providers || []).filter((e) => e.requirement === "required" && !EM(e)).length;
return /* @__PURE__ */ (0, O.jsxs)(bw, { children: [
a ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
@@ -37593,22 +37615,22 @@ function BN(e) {
className: rA,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, O.jsx)(zN, {
+ /* @__PURE__ */ (0, O.jsx)(BN, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, O.jsx)(zN, {
+ /* @__PURE__ */ (0, O.jsx)(BN, {
term: "启用来源",
figure: M,
unit: `/ ${E.length}`
}),
- /* @__PURE__ */ (0, O.jsx)(zN, {
+ /* @__PURE__ */ (0, O.jsx)(BN, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, O.jsx)(zN, {
+ /* @__PURE__ */ (0, O.jsx)(BN, {
term: "未看更新",
figure: w.counts?.new || 0,
unit: "条"
@@ -37619,23 +37641,23 @@ function BN(e) {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- RN(t) && (l(t), k({ tab: t }));
+ zN(t) && (l(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
/* @__PURE__ */ (0, O.jsx)(ID, {
"aria-label": "关注管理区域",
- className: EM,
- children: LN.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LD, {
+ className: DM,
+ children: RN.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LD, {
id: e,
- className: DM,
+ className: OM,
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, O.jsx)(IN, {
+ children: /* @__PURE__ */ (0, O.jsx)(LN, {
data: w,
sort: f,
dir: m,
@@ -37707,43 +37729,43 @@ function BN(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var VN = "/api/follow/authors", HN = "/api/follow/tags", UN = (e) => [
+var HN = "/api/follow/authors", UN = "/api/follow/tags", WN = (e) => [
"follow",
"authors",
e
-], WN = (e, t) => [
+], GN = (e, t) => [
"follow",
"tags",
e,
t
];
-function GN(e, t, n) {
+function KN(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${VN}?${r}`;
+ return e && r.set("q", e), `${HN}?${r}`;
}
-function KN(e, t, n, r) {
+function qN(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), `${HN}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${UN}?${i}`;
}
-var qN = (e, t, n, r) => cw(GN(e, t, n), r), JN = (e, t, n, r, i) => cw(KN(e, t, n, r), i), YN = "/api/index", XN = {
+var JN = (e, t, n, r) => cw(KN(e, t, n), r), YN = (e, t, n, r, i) => cw(qN(e, t, n, r), i), XN = "/api/index", ZN = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ZN = {
+}, QN = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, QN = [
+}, $N = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -37753,26 +37775,26 @@ var qN = (e, t, n, r) => cw(GN(e, t, n), r), JN = (e, t, n, r, i) => cw(KN(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], $N = [
+], eP = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], eP = {
+], tP = {
people: 120,
tags: 180
-}, tP = (e) => e !== "tags", nP = (e) => e === "studios" || e === "agencies";
-function rP(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? $N : QN).some(([t]) => t === e.category);
+}, nP = (e) => e !== "tags", rP = (e) => e === "studios" || e === "agencies";
+function iP(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? eP : $N).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function iP(e) {
+function aP(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -37791,50 +37813,50 @@ function iP(e) {
q: n
};
}
-var aP = (e, t, n = "all") => [
+var oP = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function oP(e, t, n, r, i) {
+function sP(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), `${YN}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${XN}?${a}`;
}
-function sP(e) {
- let t = e.what === "people" || e.what === "online-authors" ? eP.people : eP.tags, n = {
+function cP(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? tP.people : tP.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: aP(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => cw(oP(e.kind, e.q, "all", t, n), r)
+ queryKey: oP(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => cw(sP(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: aP("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => cw(oP("tags", e.q, e.category, t, n), r)
+ queryKey: oP("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => cw(sP("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: UN(e.q),
- queryFn: ({ pageParam: n, signal: r }) => qN(e.q, t, n, r)
+ queryKey: WN(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => JN(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: WN(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => JN(e.q, e.category, t, n, r)
+ queryKey: GN(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => YN(e.q, e.category, t, n, r)
};
}
}
-async function cP(e, t) {
- let n = sP(iP(rP(e)));
+async function lP(e, t) {
+ let n = cP(aP(iP(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -37848,13 +37870,13 @@ async function cP(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var lP = (e) => e ? e.pages.flatMap((e) => e.items) : [], uP = (e, t) => `${e}${t ? "+" : ""} 项`, dP = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", fP = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), pP = {
+var uP = (e) => e ? e.pages.flatMap((e) => e.items) : [], dP = (e, t) => `${e}${t ? "+" : ""} 项`, fP = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", pP = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), mP = {
numeric: !0,
sensitivity: "base"
};
-function mP(e, t) {
+function hP(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", pP))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", mP))) {
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]);
}
@@ -37862,15 +37884,15 @@ function mP(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function hP({ value: e }) {
+function gP({ value: e }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var gP = "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 _P({ tabs: e, value: t, label: n, onChange: r }) {
+var _P = "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 vP({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, D.useRef)(null), a = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
let e = i.current;
@@ -37905,7 +37927,7 @@ function _P({ tabs: e, value: t, label: n, onChange: r }) {
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: gP,
+ className: _P,
onClick: () => {
i || r(e.value);
},
@@ -37921,7 +37943,7 @@ function _P({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function vP({ html: e, face: t, company: n, big: r }) {
+function yP({ html: e, face: t, company: n, big: r }) {
let i = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -37933,8 +37955,8 @@ function vP({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var yP = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function bP({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var bP = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function xP({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
...a,
@@ -37944,7 +37966,7 @@ function bP({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
radius: "plain",
padding: "none",
interactive: !0,
- className: `${yP} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${bP} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -37961,8 +37983,8 @@ function bP({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function xP({ kind: e, items: t, layout: n, props: r }) {
- let i = ZN[e], a = nP(e), o = n === "big";
+function SP({ kind: e, items: t, layout: n, props: r }) {
+ let i = QN[e], a = rP(e), o = n === "big";
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -37970,14 +37992,14 @@ function xP({ 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, O.jsx)(bP, {
+ return /* @__PURE__ */ (0, O.jsx)(xP, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: fP(e, t),
+ readout: pP(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, O.jsx)(vP, {
+ children: /* @__PURE__ */ (0, O.jsx)(yP, {
html: n.html,
face: n.face,
company: a,
@@ -37987,21 +38009,21 @@ function xP({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function SP({ items: e, layout: t, props: n }) {
+function CP({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(bP, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(xP, {
"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, O.jsx)(vP, {
+ children: /* @__PURE__ */ (0, O.jsx)(yP, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -38011,23 +38033,23 @@ function SP({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var CP = () => /* @__PURE__ */ (0, O.jsx)("span", {
+var wP = () => /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function wP({ tag: e, actions: t }) {
+function TP({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": dP(t.online, e.cat),
+ "data-tag-cat": fP(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, O.jsx)(CP, {}),
+ /* @__PURE__ */ (0, O.jsx)(wP, {}),
/* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -38039,7 +38061,7 @@ function wP({ tag: e, actions: t }) {
]
});
}
-function TP({ groups: e, actions: t }) {
+function EP({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -38052,10 +38074,10 @@ function TP({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, O.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, O.jsx)(hP, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, O.jsx)(gP, { value: n.length })]
}), /* @__PURE__ */ (0, O.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(wP, {
+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(TP, {
tag: e,
actions: t
}, e.k))
@@ -38063,8 +38085,8 @@ function TP({ groups: e, actions: t }) {
}, e))
});
}
-var EP = "\xA0";
-function DP({ tags: e, actions: t }) {
+var DP = "\xA0";
+function OP({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -38072,11 +38094,11 @@ function DP({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": dP(t.online, e.cat),
+ "data-tag-cat": fP(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 + EP, /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [e.label + DP, /* @__PURE__ */ (0, O.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -38084,7 +38106,7 @@ function DP({ tags: e, actions: t }) {
}, e.k))
});
}
-var OP = [[
+var kP = [[
"cloud",
"标签云",
"tags"
@@ -38093,16 +38115,16 @@ var OP = [[
"字母表",
"text-aa"
]];
-function kP({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, O.jsx)(kj, {
+function AP({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, O.jsx)(Aj, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(jj, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(Mj, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : dP(n, e),
+ "data-tag-cat": e === "all" ? "all" : fP(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, O.jsx)(CP, {}), r]
+ children: [/* @__PURE__ */ (0, O.jsx)(wP, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsx)("span", {
@@ -38127,7 +38149,7 @@ function kP({ categories: e, category: t, online: n, readout: r, letters: i, vie
value: a,
onChange: (e) => c(e),
className: `ml-auto ${Ooe}`,
- children: OP.map(([e, t, n]) => {
+ children: kP.map(([e, t, n]) => {
let r = tA(n);
return /* @__PURE__ */ (0, O.jsx)(sD, {
value: e,
@@ -38145,8 +38167,8 @@ function kP({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function AP({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, O.jsxs)(ON, {
+function jP({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)(kN, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
@@ -38182,7 +38204,7 @@ function AP({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var jP = [{
+var MP = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -38190,7 +38212,7 @@ var jP = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], MP = [{
+}], NP = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -38198,7 +38220,7 @@ var jP = [{
value: "online",
label: "在线",
symbol: "rss"
-}], NP = {
+}], PP = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -38218,15 +38240,15 @@ var jP = [{
"layout-grid"
]]
};
-function PP({ kind: e, layout: t, onChange: n }) {
+function FP({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, O.jsx)(oD, {
- "aria-label": `${XN[e]}索引版式`,
+ "aria-label": `${ZN[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${EM}`,
- children: NP[nP(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none max-board-narrow:order-3 ${DM}`,
+ children: PP[rP(e) ? "company" : "people"].map(([e, t, n]) => {
let r = tA(n);
return /* @__PURE__ */ (0, O.jsx)(sD, {
value: e,
@@ -38241,8 +38263,8 @@ function PP({ kind: e, layout: t, onChange: n }) {
})
});
}
-var FP = tA("search");
-function IP({ label: e, value: t, onQuery: n }) {
+var IP = tA("search");
+function LP({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);
(0, D.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -38265,7 +38287,7 @@ function IP({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, O.jsx)(WD, {
type: "search",
- leadingIcon: FP,
+ leadingIcon: IP,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -38275,14 +38297,14 @@ function IP({ label: e, value: t, onQuery: n }) {
})
});
}
-function LP(e) {
- let [t, n] = (0, D.useState)(() => rP({
+function RP(e) {
+ let [t, n] = (0, D.useState)(() => iP({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, a] = (0, D.useState)(e.layout), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = t, _ = XN[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
+ })), [r, a] = (0, D.useState)(e.layout), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = t, _ = ZN[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
(0, D.useEffect)(() => {
e.selectMode || s(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -38292,7 +38314,7 @@ function LP(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = sP(iP(t)), w = _t({
+ }, C = cP(aP(t)), w = _t({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -38301,21 +38323,21 @@ function LP(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? me : void 0
- }), T = lP(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = uP(T.length, !!w.hasNextPage);
+ }), T = uP(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = dP(T.length, !!w.hasNextPage);
(0, D.useEffect)(() => {
d.current && e.refitImages(d.current);
}, [r]);
let A = (0, D.useMemo)(() => f === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, f]), j = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? mP(A, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, f]), j = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? hP(A, (t) => e.tagLabel(t)) : [], [
A,
h,
f
]), M = (t) => {
a(t), e.savePreference({ layout: t });
- }, N = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(_P, {
- tabs: MP,
+ }, N = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(vP, {
+ tabs: NP,
value: m,
label: "词表",
onChange: (e) => {
@@ -38325,15 +38347,15 @@ function LP(e) {
view: e === "online" ? "alphabet" : h
});
}
- }) : f === "performers" ? /* @__PURE__ */ (0, O.jsx)(_P, {
- tabs: MP,
+ }) : f === "performers" ? /* @__PURE__ */ (0, O.jsx)(vP, {
+ tabs: NP,
value: m,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : nP(f) ? /* @__PURE__ */ (0, O.jsx)(_P, {
- tabs: jP,
+ }) : rP(f) ? /* @__PURE__ */ (0, O.jsx)(vP, {
+ tabs: MP,
value: f,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -38350,7 +38372,7 @@ function LP(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, F = (v ? $N : QN).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, F = (v ? eP : $N).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, O.jsxs)("div", {
ref: d,
"data-index-page": f,
@@ -38365,12 +38387,12 @@ function LP(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: _
}),
- tP(f) ? /* @__PURE__ */ (0, O.jsx)("span", {
+ nP(f) ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : k
}) : null,
- tP(f) ? /* @__PURE__ */ (0, O.jsx)(PP, {
+ nP(f) ? /* @__PURE__ */ (0, O.jsx)(FP, {
kind: f,
layout: r,
onChange: M
@@ -38379,7 +38401,7 @@ function LP(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, O.jsx)(IP, {
+ /* @__PURE__ */ (0, O.jsx)(LP, {
label: `过滤${_}`,
value: p,
onQuery: (e) => {
@@ -38389,7 +38411,7 @@ function LP(e) {
]
}),
N,
- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(kP, {
+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(AP, {
categories: F,
category: g,
online: v,
@@ -38424,18 +38446,18 @@ function LP(e) {
}),
children: i(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(zP, {
+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(BP, {
kind: f,
filtered: !!p || f === "tags" && g !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, O.jsx)(SP, {
+ if (y) return /* @__PURE__ */ (0, O.jsx)(CP, {
items: T,
layout: r,
props: e
});
- if (tP(f)) return /* @__PURE__ */ (0, O.jsx)(xP, {
+ if (nP(f)) return /* @__PURE__ */ (0, O.jsx)(SP, {
kind: f,
items: T,
layout: r,
@@ -38446,10 +38468,10 @@ function LP(e) {
picked: o,
press: P
};
- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(TP, {
+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(EP, {
groups: j,
actions: t
- }) : /* @__PURE__ */ (0, O.jsx)(DP, {
+ }) : /* @__PURE__ */ (0, O.jsx)(OP, {
tags: A,
actions: t
});
@@ -38470,7 +38492,7 @@ function LP(e) {
}) : "载入更多"
})
}) : null,
- f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, O.jsx)(AP, {
+ f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, O.jsx)(jP, {
count: o.size,
match: c,
onMatch: u,
@@ -38483,14 +38505,14 @@ function LP(e) {
]
});
}
-var RP = {
+var zP = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function zP({ kind: e, filtered: t, online: n, configurable: r }) {
+function BP({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, O.jsx)(vw, {
icon: tA("search"),
title: "没有符合条件的内容",
@@ -38501,7 +38523,7 @@ function zP({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : RP[e], a = /* @__PURE__ */ (0, O.jsx)(aw, {
+ let i = n && e === "performers" ? "创作者" : zP[e], a = /* @__PURE__ */ (0, O.jsx)(aw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
@@ -38519,12 +38541,12 @@ function zP({ kind: e, filtered: t, online: n, configurable: r }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var BP = "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", VP = {
- gray: `${BP} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${BP} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${BP} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var VP = "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", HP = {
+ gray: `${VP} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${VP} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${VP} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function HP({ value: e, max: t }) {
+function UP({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, O.jsxs)("svg", {
role: "progressbar",
@@ -38552,16 +38574,16 @@ function HP({ value: e, max: t }) {
})]
});
}
-function UP(e) {
+function WP(e) {
let { job: t } = NA(e), n = t.data, r = t.isError ? n ? EO : 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 ? "扫描与资料采集未完成" : OO(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Vte : Ite;
return /* @__PURE__ */ (0, O.jsxs)("aside", {
role: a ? "alert" : "status",
- className: VP[s],
+ className: HP[s],
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, O.jsx)(HP, {
+ children: [o && l ? /* @__PURE__ */ (0, O.jsx)(UP, {
value: c,
max: l
}) : /* @__PURE__ */ (0, O.jsx)(d, {
@@ -38581,32 +38603,32 @@ function UP(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var WP = "/api/playlists", GP = "/api/playlist", KP = ["playlists"], qP = (e) => cw(WP, e);
-async function JP(e) {
+var GP = "/api/playlists", KP = "/api/playlist", qP = ["playlists"], JP = (e) => cw(GP, e);
+async function YP(e) {
await X.fetchQuery({
- queryKey: KP,
- queryFn: () => qP(e),
+ queryKey: qP,
+ queryFn: () => JP(e),
staleTime: 0
});
}
-var YP = () => X.invalidateQueries({
- queryKey: KP,
+var XP = () => X.invalidateQueries({
+ queryKey: qP,
exact: !0
-}), XP = (e) => e.current_asset_id || e.preview_asset_id || null, ZP = (e) => `/poster?id=${e}&c=4`, QP = (e) => q(GP, {
+}), ZP = (e) => e.current_asset_id || e.preview_asset_id || null, QP = (e) => `/poster?id=${e}&c=4`, $P = (e) => q(KP, {
action: "create",
name: e,
asset_ids: []
-}), $P = (e, t) => q(GP, {
+}), eF = (e, t) => q(KP, {
action: "rename",
id: e,
name: t
-}), eF = (e) => q(GP, {
+}), tF = (e) => q(KP, {
action: "delete",
id: e
-}), tF = (e) => cw(`${GP}?id=${e}`).catch(() => null);
-function nF(e) {
+}), nF = (e) => cw(`${KP}?id=${e}`).catch(() => null);
+function rF(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(GP, {
+ return q(KP, {
action: "create",
name: e.name,
asset_ids: t,
@@ -38616,12 +38638,12 @@ function nF(e) {
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var rF = 1100, iF = 340, aF = 5e3;
-function oF(e, t) {
+var iF = 1100, aF = 340, oF = 5e3;
+function sF(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, aF);
+ }, o = () => a(!1), s = setTimeout(o, oF);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -38631,7 +38653,7 @@ function oF(e, t) {
}, r.src = e;
});
}
-function sF({ load: e, canFlip: t }) {
+function cF({ load: e, canFlip: t }) {
let [n, r] = (0, D.useState)([]), [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(null), c = (0, D.useRef)({
live: !1,
generation: 0,
@@ -38673,11 +38695,11 @@ function sF({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => oF(t, e)));
+ let o = await Promise.all(i.map((t) => sF(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, rF);
+ f(), e.cycle = setInterval(f, iF);
}));
};
return (0, D.useEffect)(() => u, [u]), {
@@ -38686,7 +38708,7 @@ function sF({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(iF, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(aF, () => {
e.armed = null, p();
});
},
@@ -38697,8 +38719,8 @@ function sF({ load: e, canFlip: t }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var cF = tA("play");
-function lF({ src: e }) {
+var lF = tA("play");
+function uF({ src: e }) {
let [t, n] = (0, D.useState)(!1);
return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {
"data-mix-poster": "",
@@ -38709,8 +38731,8 @@ function lF({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var uF = "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 dF({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var dF = "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 fF({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {
@@ -38718,18 +38740,18 @@ function dF({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${uF} cursor-pointer outline-none`,
+ className: `${dF} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, O.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${uF} mt-0.5`,
+ className: `${dF} mt-0.5`,
children: t
});
}
-function fF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ...f }) {
- let p = sF({
+function pF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ...f }) {
+ let p = cF({
load: i,
canFlip: a
});
@@ -38746,7 +38768,7 @@ function fF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-cover": "",
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
children: [
- r ? /* @__PURE__ */ (0, O.jsx)(lF, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {
+ r ? /* @__PURE__ */ (0, O.jsx)(uF, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -38773,7 +38795,7 @@ function fF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, O.jsx)(cF, {
+ children: [/* @__PURE__ */ (0, O.jsx)(lF, {
"aria-hidden": !0,
className: "size-3.75"
}), `${n} 个视频`]
@@ -38783,7 +38805,7 @@ function fF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-start gap-2.25",
children: [
- /* @__PURE__ */ (0, O.jsx)(dF, {
+ /* @__PURE__ */ (0, O.jsx)(fF, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -38806,18 +38828,18 @@ function fF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var pF = tA("ellipsis"), mF = tA("pencil"), hF = tA("trash"), gF = tA("playlist"), _F = ew(uA, dA, "text-body-2-medium"), vF = "播放列表名称不能为空", yF = (e) => async () => {
+var mF = tA("ellipsis"), hF = tA("pencil"), gF = tA("trash"), _F = tA("playlist"), vF = ew(uA, dA, "text-body-2-medium"), yF = "播放列表名称不能为空", bF = (e) => async () => {
try {
await e();
} finally {
- YP();
+ XP();
}
};
-function bF({ toast: e }) {
+function xF({ toast: e }) {
let [t, n] = (0, D.useState)(""), [r, i] = (0, D.useState)(""), a = gt({
- mutationFn: (e) => QP(e),
+ mutationFn: (e) => $P(e),
onSuccess: (t) => {
- n(""), i(""), YP(), e("已新建播放列表", { undo: yF(() => eF(t.playlist.id)) });
+ n(""), i(""), XP(), e("已新建播放列表", { undo: bF(() => tF(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -38827,7 +38849,7 @@ function bF({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(vF);
+ i(yF);
return;
}
a.mutate(t);
@@ -38855,7 +38877,7 @@ function bF({ toast: e }) {
})]
});
}
-function xF({ target: e, close: t, toast: n }) {
+function SF({ target: e, close: t, toast: n }) {
let [r, i] = (0, D.useState)(""), [a, o] = (0, D.useState)(""), s = (0, D.useRef)(null);
(0, D.useEffect)(() => {
if (!e) return;
@@ -38866,9 +38888,9 @@ function xF({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = gt({
- mutationFn: ({ row: e, value: t }) => $P(e.id, t),
+ mutationFn: ({ row: e, value: t }) => eF(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), YP(), n("已重命名播放列表", { undo: yF(() => $P(r.id, r.name)) });
+ t(), XP(), n("已重命名播放列表", { undo: bF(() => eF(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
@@ -38884,7 +38906,7 @@ function xF({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(vF);
+ o(yF);
return;
}
c.mutate({
@@ -38927,7 +38949,7 @@ function xF({ target: e, close: t, toast: n }) {
})
});
}
-function SF({ name: e, onRename: t, onDelete: n }) {
+function CF({ name: e, onRename: t, onDelete: n }) {
let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -38941,7 +38963,7 @@ function SF({ 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, O.jsx)(pF, {
+ children: /* @__PURE__ */ (0, O.jsx)(mF, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -38957,17 +38979,17 @@ function SF({ name: e, onRename: t, onDelete: n }) {
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
- className: _F,
+ className: vF,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, O.jsx)(mF, {
+ children: [/* @__PURE__ */ (0, O.jsx)(hF, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
- className: _F,
+ className: vF,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, O.jsx)(hF, {
+ children: [/* @__PURE__ */ (0, O.jsx)(gF, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -38975,13 +38997,13 @@ function SF({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function CF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function wF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = ht({
- queryKey: KP,
- queryFn: ({ signal: e }) => qP(e)
+ queryKey: qP,
+ queryFn: ({ signal: e }) => JP(e)
}), [s, l] = (0, D.useState)(null), u = (0, D.useRef)(a);
(0, D.useEffect)(() => {
- u.current !== a && (u.current = a, YP());
+ u.current !== a && (u.current = a, XP());
}, [a]);
let d = o.data;
if (!d) return /* @__PURE__ */ (0, O.jsx)("div", {
@@ -38999,8 +39021,8 @@ function CF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await tF(e.id);
- await eF(e.id), YP(), i("已删除播放列表", t ? { undo: yF(() => nF(t)) } : void 0);
+ let t = await nF(e.id);
+ await tF(e.id), XP(), i("已删除播放列表", t ? { undo: bF(() => rF(t)) } : void 0);
}
});
};
@@ -39015,27 +39037,27 @@ function CF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, O.jsx)(bF, { toast: i })]
+ })] }), /* @__PURE__ */ (0, O.jsx)(xF, { toast: i })]
}),
f.length ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: f.map((i) => {
- let a = XP(i);
- return /* @__PURE__ */ (0, O.jsx)(fF, {
+ let a = ZP(i);
+ return /* @__PURE__ */ (0, O.jsx)(pF, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? ZP(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(ZP),
+ poster: i.preview_asset_id ? QP(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(QP),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, O.jsx)(SF, {
+ menu: /* @__PURE__ */ (0, O.jsx)(CF, {
name: i.name,
onRename: () => l(i),
onDelete: () => p(i)
@@ -39043,11 +39065,11 @@ function CF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}, i.id);
})
}) : /* @__PURE__ */ (0, O.jsx)(vw, {
- icon: gF,
+ icon: _F,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, O.jsx)(xF, {
+ /* @__PURE__ */ (0, O.jsx)(SF, {
target: s,
close: () => l(null),
toast: i
@@ -39057,7 +39079,7 @@ function CF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function wF({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
+function TF({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
let c = () => i(r.id);
return /* @__PURE__ */ (0, O.jsxs)("li", {
"data-goal-id": r.id,
@@ -39125,7 +39147,7 @@ function wF({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge
})]
});
}
-function TF(e) {
+function EF(e) {
let t = ht({
queryKey: IO,
queryFn: ({ signal: e }) => LO(e)
@@ -39150,7 +39172,7 @@ function TF(e) {
})]
}), /* @__PURE__ */ (0, O.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, O.jsx)(wF, {
+ children: r.map((t) => /* @__PURE__ */ (0, O.jsx)(TF, {
item: t,
...e
}, t.id))
@@ -39163,8 +39185,8 @@ function TF(e) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function EF(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 = Aie(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function DF(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 = jie(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -39213,7 +39235,7 @@ function EF(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, O.jsxs)(ON, {
+ }), c.size ? /* @__PURE__ */ (0, O.jsxs)(kN, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
@@ -39264,7 +39286,7 @@ function EF(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var DF = {
+var OF = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -39274,14 +39296,14 @@ var DF = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, OF = "reviewgenretags";
-function kF({ tags: e }) {
+}, kF = "reviewgenretags";
+function AF({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("datalist", {
- id: OF,
+ id: kF,
children: e.map((e) => /* @__PURE__ */ (0, O.jsx)("option", { value: e }, e))
}) : null;
}
-function AF({ candidate: e, selectable: t = !1 }) {
+function jF({ 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, O.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -39318,7 +39340,7 @@ function AF({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, O.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: DF[e] || e
+ children: OF[e] || e
}),
/* @__PURE__ */ (0, O.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -39333,11 +39355,11 @@ function AF({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function jF({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function MF({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, O.jsx)(AF, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, O.jsx)(jF, { candidate: a[0] })
}) : /* @__PURE__ */ (0, O.jsx)(oD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -39347,22 +39369,22 @@ function jF({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(sD, {
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, O.jsx)(AF, {
+ children: /* @__PURE__ */ (0, O.jsx)(jF, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function MF({ genre: e, tags: t, locked: n, toast: r }) {
+function NF({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), c = gt({
- mutationFn: (t) => Rie(e, t),
+ mutationFn: (t) => zie(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await ok();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await ak();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -39390,7 +39412,7 @@ function MF({ genre: e, tags: t, locked: n, toast: r }) {
className: "min-w-40 flex-1",
children: /* @__PURE__ */ (0, O.jsx)(WD, {
size: "small",
- list: t.length ? OF : void 0,
+ list: t.length ? kF : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -39422,8 +39444,8 @@ function MF({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function NF({ row: e, tags: t, locked: n, toast: r }) {
- let i = Fie(e);
+function PF({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Iie(e);
return i.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -39431,7 +39453,7 @@ function NF({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, O.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, O.jsx)(MF, {
+ }), i.map((e) => /* @__PURE__ */ (0, O.jsx)(NF, {
genre: e,
tags: t,
locked: n,
@@ -39441,9 +39463,9 @@ function NF({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var PF = (e = "") => /^https?:\/\//i.test(e) ? e : "", FF = (e = "") => PF(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function IF({ url: e }) {
- let t = FF(e || ""), [n, r] = (0, D.useState)(!1);
+var FF = (e = "") => /^https?:\/\//i.test(e) ? e : "", IF = (e = "") => FF(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function LF({ url: e }) {
+ let t = IF(e || ""), [n, r] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, O.jsx)("img", {
@@ -39458,7 +39480,7 @@ function IF({ url: e }) {
})
});
}
-function LF({ asset: e, openItem: t }) {
+function RF({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -39491,7 +39513,7 @@ function LF({ asset: e, openItem: t }) {
})]
});
}
-function RF({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function zF({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, O.jsx)("button", {
@@ -39514,8 +39536,8 @@ function RF({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function zF({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = PF(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function BF({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = FF(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, O.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -39540,7 +39562,7 @@ function zF({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, O.jsx)(IF, { url: e.preview_url }),
+ /* @__PURE__ */ (0, O.jsx)(LF, { url: e.preview_url }),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -39583,7 +39605,7 @@ function zF({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
]
});
}
-function BF({ assets: e, picked: t, onPicked: n, locked: r }) {
+function VF({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, D.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -39659,19 +39681,19 @@ function BF({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var VF = gw({
+var HF = gw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), HF = "flex min-h-6 min-w-0 items-center", UF = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function WF(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, D.useRef)(!1), m = nO(), h = nO(), g = t === "metadata_fields", _ = JO[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Mie(t, n), x = tk(t, n), S = ek(t, n), C = Nie(n), w = Pie(n), T = $O(t, n), E = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = E.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
+}), UF = "flex min-h-6 min-w-0 items-center", WF = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function GF(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, D.useRef)(!1), m = nO(), h = nO(), g = t === "metadata_fields", _ = qO[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Nie(t, n), x = ek(t, n), S = $O(t, n), C = Pie(n), w = Fie(n), T = QO(t, n), E = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = E.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, O.jsx)(LF, {
+ children: E.map((e) => /* @__PURE__ */ (0, O.jsx)(RF, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, O.jsx)(RF, {
+ }) : y ? /* @__PURE__ */ (0, O.jsx)(zF, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -39681,14 +39703,14 @@ function WF(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, O.jsx)(LF, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, O.jsx)(RF, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, O.jsx)(jF, {
+ }) : null, M = g ? /* @__PURE__ */ (0, O.jsx)(MF, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -39697,7 +39719,7 @@ function WF(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, O.jsx)(BF, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, O.jsx)(VF, {
assets: k,
picked: r.assets,
locked: s,
@@ -39710,15 +39732,15 @@ function WF(e) {
icon: zte,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, O.jsx)(zF, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, O.jsx)(BF, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, O.jsx)(IF, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, O.jsxs)("h4", {
- className: `${HF} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, O.jsx)(LF, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, O.jsxs)("h4", {
+ className: `${UF} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, O.jsx)(rw, {
variant: "caption",
color: "blue",
@@ -39729,7 +39751,7 @@ function WF(e) {
children: S
})]
}) : /* @__PURE__ */ (0, O.jsx)("h4", {
- className: HF,
+ className: UF,
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -39739,13 +39761,13 @@ function WF(e) {
return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${VF} ${UF(t)} overflow-hidden`,
+ className: `${HF} ${WF(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, O.jsx)("span", {
- className: `${HF} shrink-0`,
+ className: `${UF} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
@@ -39796,7 +39818,7 @@ function WF(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, O.jsx)(NF, {
+ /* @__PURE__ */ (0, O.jsx)(PF, {
row: n,
tags: u,
locked: s,
@@ -39858,8 +39880,8 @@ function WF(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var GF = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function KF({ page: e, pages: t, onPage: n }) {
+var KF = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function qF({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -39896,33 +39918,33 @@ function KF({ page: e, pages: t, onPage: n }) {
]
});
}
-function qF(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, D.useState)(qO(e.category) ? e.category : KO), [f, p] = (0, D.useState)("candidates"), [m, h] = (0, D.useState)(""), [g, _] = (0, D.useState)(1), [v, y] = (0, D.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, D.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, D.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, D.useState)(""), E = (0, D.useRef)(null), [k, A] = (0, D.useState)(0), [j, M] = (0, D.useState)(""), N = (0, D.useRef)(!0);
+function JF(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, D.useState)(KO(e.category) ? e.category : Aie), [f, p] = (0, D.useState)("candidates"), [m, h] = (0, D.useState)(""), [g, _] = (0, D.useState)(1), [v, y] = (0, D.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, D.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, D.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, D.useState)(""), E = (0, D.useRef)(null), [k, A] = (0, D.useState)(0), [j, M] = (0, D.useState)(""), N = (0, D.useRef)(!0);
(0, D.useEffect)(() => () => {
N.current = !1;
}, []);
let P = ht({
queryKey: WO,
- queryFn: ({ signal: e }) => rk(e)
+ queryFn: ({ signal: e }) => nk(e)
}).data || {
sections: {},
counts: {}
- }, F = P.sections[u] || [], I = u === "metadata_fields", ee = s, te = YO(F, I), ne = te.some(([e]) => e === f) ? f : "candidates", L = XO(F, ne), re = L.some((e) => e.key === m) ? m : "", ie = QO(ZO(F, ne, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = L.map((e) => ({
+ }, F = P.sections[u] || [], I = u === "metadata_fields", ee = s, te = JO(F, I), ne = te.some(([e]) => e === f) ? f : "candidates", L = YO(F, ne), re = L.some((e) => e.key === m) ? m : "", ie = ZO(XO(F, ne, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = L.map((e) => ({
...e,
rows: e.rows.filter((e) => oe.has(e.item_key))
- })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Iie(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Lie(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), E.current = null, t({ category: e === "metadata_fields" ? "" : e });
}, de = gt({
- mutationFn: ({ row: e, status: t }) => ik(nk(u, e, t, ce(e))),
+ mutationFn: ({ row: e, status: t }) => rk(tk(u, e, t, ce(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- ak(u, [t.item_key]), ue([t.item_key]), o(Lie(n));
+ ik(u, [t.item_key]), ue([t.item_key]), o(Rie(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
}), fe = gt({
@@ -39932,7 +39954,7 @@ function qF(e) {
if (!N.current) break;
T(`正在处理 ${i} / ${t.length}`);
try {
- let t = await ik(nk(u, a, e, ce(a)));
+ let t = await rk(tk(u, a, e, ce(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -39946,7 +39968,7 @@ function qF(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- ak(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ ik(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
@@ -39976,7 +39998,7 @@ function qF(e) {
A(e), M("");
let t = await i(e);
N.current && (A(0), M(t));
- }, ge = sk(P.mirror, c), _e = P.genre_tags || [], ve = {
+ }, ge = ok(P.mirror, c), _e = P.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -40001,12 +40023,12 @@ function qF(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, O.jsx)(kF, { tags: _e }),
+ /* @__PURE__ */ (0, O.jsx)(AF, { tags: _e }),
/* @__PURE__ */ (0, O.jsxs)(FD, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- qO(t) && z(t);
+ KO(t) && z(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -40022,7 +40044,7 @@ function qF(e) {
let t = Number(P.counts[e] || 0);
return /* @__PURE__ */ (0, O.jsxs)(LD, {
id: e,
- className: GF,
+ className: KF,
children: [GO[e], t ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -40034,7 +40056,7 @@ function qF(e) {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- F.length && !ee ? /* @__PURE__ */ (0, O.jsx)(EF, {
+ F.length && !ee ? /* @__PURE__ */ (0, O.jsx)(DF, {
groupOptions: te,
groupBy: ne,
onGroupBy: (e) => {
@@ -40050,7 +40072,7 @@ function qF(e) {
onSelected: y,
selectedRows: le,
metadata: I,
- approvable: le.every((e) => $O(u, e)),
+ approvable: le.every((e) => QO(u, e)),
busy: fe.isPending,
feedback: w,
onUnifySource: me,
@@ -40075,7 +40097,7 @@ function qF(e) {
})]
}) : null, /* @__PURE__ */ (0, O.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, O.jsx)(WF, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, O.jsx)(GF, {
category: u,
row: e,
choice: ce(e),
@@ -40083,7 +40105,7 @@ function qF(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return E.current = jie(i, ae, E.current, e.item_key, t, n), i;
+ return E.current = Mie(i, ae, E.current, e.item_key, t, n), i;
}),
locked: ee,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
@@ -40103,7 +40125,7 @@ function qF(e) {
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, O.jsx)(KF, {
+ /* @__PURE__ */ (0, O.jsx)(qF, {
page: ie.page,
pages: ie.pages,
onPage: _
@@ -40116,13 +40138,9 @@ function qF(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var JF = "/api/scraping", YF = "/api/scraping/settings", XF = "/api/scraping/check", ZF = "/api/scraping/cover", QF = "/api/scraping/amane-bridge", $F = "/api/scraping/amane-bridge/check", eI = "/api/scraping/amane-bridge/rebuild", tI = ["scraping"], nI = ["scraping", "cover"], rI = ["scraping", "amane-bridge"], iI = (e) => cw(JF, e), aI = (e) => cw(ZF, e), oI = (e) => cw(QF, e);
-async function sI(e) {
+var YF = "/api/scraping", XF = "/api/scraping/settings", ZF = "/api/scraping/check", QF = "/api/scraping/cover", $F = "/api/scraping/amane-bridge", eI = "/api/scraping/amane-bridge/check", tI = "/api/scraping/amane-bridge/rebuild", nI = ["scraping"], rI = ["scraping", "cover"], iI = ["scraping", "amane-bridge"], aI = (e) => cw(YF, e), oI = (e) => cw(QF, e), sI = (e) => cw($F, e);
+async function cI(e) {
await Promise.all([
- X.fetchQuery({
- queryKey: tI,
- queryFn: () => iI(e)
- }),
X.fetchQuery({
queryKey: nI,
queryFn: () => aI(e)
@@ -40130,16 +40148,20 @@ async function sI(e) {
X.fetchQuery({
queryKey: rI,
queryFn: () => oI(e)
+ }),
+ X.fetchQuery({
+ queryKey: iI,
+ queryFn: () => sI(e)
})
]);
}
-function cI(e, t) {
+function lI(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 lI = [["peach", "Peach 代理"], ["direct", "直接连接"]], uI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function dI({ source: e }) {
+var uI = [["peach", "Peach 代理"], ["direct", "直接连接"]], dI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function fI({ source: e }) {
return /* @__PURE__ */ (0, O.jsx)("img", {
src: a({ source: e }),
alt: "",
@@ -40150,13 +40172,13 @@ function dI({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function fI({ source: e, toast: t }) {
- let [n, r] = (0, D.useState)(e.network), [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), [c, l] = (0, D.useState)(uI[0][0]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), m = (0, D.useRef)(null);
+function pI({ source: e, toast: t }) {
+ let [n, r] = (0, D.useState)(e.network), [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), [c, l] = (0, D.useState)(dI[0][0]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), m = (0, D.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = gt({
- mutationFn: (t) => q(YF, {
+ mutationFn: (t) => q(XF, {
source: e.source,
network: n,
cookie: i,
@@ -40164,12 +40186,12 @@ function fI({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(tI, (t) => t && {
+ X.setQueryData(nI, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = gt({ mutationFn: () => q(XF, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = gt({ mutationFn: () => q(ZF, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -40199,7 +40221,7 @@ function fI({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, O.jsx)(dI, { source: e.source }), /* @__PURE__ */ (0, O.jsx)(OA, {
+ children: [/* @__PURE__ */ (0, O.jsx)(fI, { source: e.source }), /* @__PURE__ */ (0, O.jsx)(OA, {
href: e.login,
children: e.login
})]
@@ -40213,7 +40235,7 @@ function fI({ source: e, toast: t }) {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: lI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: uI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: e,
children: t
}, e))
@@ -40246,10 +40268,10 @@ function fI({ source: e, toast: t }) {
onChange: (e) => {
l(e), h();
},
- className: EM,
- children: uI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
+ className: DM,
+ children: dI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
value: e,
- className: DM,
+ className: OM,
children: t
}, e))
}),
@@ -40291,7 +40313,7 @@ function fI({ source: e, toast: t }) {
C ? /* @__PURE__ */ (0, O.jsx)(EA, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, O.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: cI(t, e.label)
+ children: lI(t, e.label)
}, t.label))
]
}) : null,
@@ -40317,11 +40339,11 @@ function fI({ source: e, toast: t }) {
]
});
}
-function pI({ toast: e }) {
+function mI({ toast: e }) {
let [t, n] = (0, D.useState)(""), { running: r, outcome: i, start: a } = zA({
- queryKey: nI,
- queryFn: ({ signal: e }) => aI(e),
- start: () => q(ZF, { code: t }),
+ queryKey: rI,
+ queryFn: ({ signal: e }) => oI(e),
+ start: () => q(QF, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -40363,11 +40385,11 @@ function pI({ toast: e }) {
] })
});
}
-function mI({ toast: e }) {
+function hI({ toast: e }) {
let { query: t, running: n, outcome: r, start: i } = zA({
- queryKey: rI,
- queryFn: ({ signal: e }) => oI(e),
- start: () => q(eI, {}),
+ queryKey: iI,
+ queryFn: ({ signal: e }) => sI(e),
+ start: () => q(tI, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -40376,7 +40398,7 @@ function mI({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = gt({ mutationFn: () => q($F, {}) }), o = t.data;
+ }), a = gt({ mutationFn: () => q(eI, {}) }), o = t.data;
if (!o) return t.error ? /* @__PURE__ */ (0, O.jsx)(xA, {
title: "amane 桥",
children: /* @__PURE__ */ (0, O.jsx)(CA, { children: /* @__PURE__ */ (0, O.jsx)(J, {
@@ -40446,22 +40468,22 @@ function mI({ toast: e }) {
]
});
}
-function hI({ toast: e }) {
+function gI({ toast: e }) {
let t = ht({
- queryKey: tI,
- queryFn: ({ signal: e }) => iI(e)
+ queryKey: nI,
+ queryFn: ({ signal: e }) => aI(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, O.jsxs)(bw, { children: [
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, O.jsx)(pI, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, O.jsx)(fI, {
+ /* @__PURE__ */ (0, O.jsx)(mI, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, O.jsx)(pI, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, O.jsx)(mI, { toast: e })
+ /* @__PURE__ */ (0, O.jsx)(hI, { toast: e })
] }) : /* @__PURE__ */ (0, O.jsx)(bw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
@@ -40470,16 +40492,16 @@ function hI({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var gI = "/api/configuration", _I = "/api/pick-folder", vI = ["configuration"], yI = (e) => cw(gI, e);
-async function bI(e) {
+var _I = "/api/configuration", vI = "/api/pick-folder", yI = ["configuration"], bI = (e) => cw(_I, e);
+async function xI(e) {
await X.fetchQuery({
- queryKey: vI,
- queryFn: () => yI(e)
+ queryKey: yI,
+ queryFn: () => bI(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function xI({ initial: e, receipt: t }) {
+function SI({ initial: e, receipt: t }) {
let [n, r] = (0, D.useState)(e.sites), i = Sw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -40516,19 +40538,19 @@ function xI({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function SI({ data: e, receipt: t }) {
+function CI({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, O.jsx)(CI, {
+ children: [e.startup ? /* @__PURE__ */ (0, O.jsx)(wI, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, O.jsx)(xI, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, O.jsx)(SI, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function CI({ startup: e, receipt: t }) {
+function wI({ startup: e, receipt: t }) {
let [n, r] = (0, D.useState)(e.enabled), [i, a] = (0, D.useState)(e.silent), [o, s] = (0, D.useState)(e.desktop), c = Sw(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, O.jsxs)(xA, {
title: "开机自启",
@@ -40586,23 +40608,23 @@ function CI({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var wI = /* @__PURE__ */ new Set([
+var TI = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), TI = [
+]), EI = [
65,
67,
90
-], EI = 120;
-function DI({ initial: e, initialJob: t }) {
+], DI = 120;
+function OI({ initial: e, initialJob: t }) {
let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, D.useState)(""), l = Sw(), u = (0, D.useRef)(!1), d = (0, D.useRef)(!0), f = wI.has(i.state);
+ }), [o, s] = (0, D.useState)(""), l = Sw(), u = (0, D.useRef)(!1), d = (0, D.useRef)(!0), f = TI.has(i.state);
(0, D.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
@@ -40619,7 +40641,7 @@ function DI({ initial: e, initialJob: t }) {
(0, D.useEffect)(() => {
i.state !== "ready" || u.current || (u.current = !0, m());
}, [i.state]), (0, D.useEffect)(() => {
- let e = new AbortController(), t = wI.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = TI.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await cw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -40632,9 +40654,9 @@ function DI({ initial: e, initialJob: t }) {
let n = await cw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= EI && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= DI && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < EI && (n = setTimeout(c, t));
+ !e.signal.aborted && o < DI && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -40689,7 +40711,7 @@ function DI({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, O.jsx)(xw, {
label: "更新准备进度",
value: i.progress,
- stops: TI
+ stops: EI
}),
/* @__PURE__ */ (0, O.jsxs)(TA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, O.jsx)(TA, { children: v })
@@ -40725,36 +40747,36 @@ function DI({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var OI = [
+var kI = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function kI({ data: e, receipt: t, reopenTutorial: n }) {
+function AI({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, O.jsx)(jI, {
+ e.automatic_updates ? /* @__PURE__ */ (0, O.jsx)(MI, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, O.jsx)(DI, {
+ e.updates ? /* @__PURE__ */ (0, O.jsx)(OI, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, O.jsx)(MI, { facts: e.facts }),
- /* @__PURE__ */ (0, O.jsx)(AI, {
+ /* @__PURE__ */ (0, O.jsx)(NI, { facts: e.facts }),
+ /* @__PURE__ */ (0, O.jsx)(jI, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, O.jsx)(NI, {
+ e.uninstall ? /* @__PURE__ */ (0, O.jsx)(PI, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function AI({ receipt: e, reopenTutorial: t }) {
+function jI({ receipt: e, reopenTutorial: t }) {
let n = Sw();
return /* @__PURE__ */ (0, O.jsxs)(xA, {
title: "安装教程",
@@ -40765,7 +40787,7 @@ function AI({ receipt: e, reopenTutorial: t }) {
}) })]
});
}
-function jI({ initial: e, receipt: t }) {
+function MI({ initial: e, receipt: t }) {
let [n, r] = (0, D.useState)(e.mode), [i, a] = (0, D.useState)(e.interval_hours), o = Sw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
@@ -40805,7 +40827,7 @@ function jI({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: OI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: kI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: e,
children: t
}, e))
@@ -40825,7 +40847,7 @@ function jI({ initial: e, receipt: t }) {
]
});
}
-function MI({ facts: e }) {
+function NI({ facts: e }) {
return /* @__PURE__ */ (0, O.jsx)(xA, {
title: "运行信息",
children: /* @__PURE__ */ (0, O.jsx)(kA, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(AA, {
@@ -40837,7 +40859,7 @@ function MI({ facts: e }) {
}, e.term)) })
});
}
-function NI({ uninstall: e, receipt: t }) {
+function PI({ uninstall: e, receipt: t }) {
let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = () => void c({
title: "卸载 Peach",
danger: !0,
@@ -40886,7 +40908,7 @@ function NI({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var PI = [
+var FI = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -40905,12 +40927,12 @@ var PI = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], FI = [
+], II = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function II() {
+function LI() {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "@container flex flex-col gap-3",
children: [/* @__PURE__ */ (0, O.jsxs)(TA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, O.jsx)(OA, {
@@ -40923,14 +40945,14 @@ function II() {
/* @__PURE__ */ (0, O.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: PI.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
+ children: FI.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, O.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: FI.map(([t, n]) => /* @__PURE__ */ (0, O.jsxs)("div", {
+ children: II.map(([t, n]) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, O.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -40965,7 +40987,7 @@ function II() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var LI = [
+var RI = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -41009,13 +41031,13 @@ var LI = [
["star", "收藏"],
["tags", "主题"]
];
-function RI(e) {
+function zI(e) {
let t = e === "local" ? "" : o[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var zI = "auto";
-function BI({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(e), [l, u] = RI(n);
+var BI = "auto";
+function VI({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(e), [l, u] = zI(n);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(G, {
ref: i,
variant: "secondary",
@@ -41029,7 +41051,7 @@ function BI({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, O.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: e || l }), ((e) => e && LI.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: e || l }), ((e) => e && RI.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, O.jsx)(ZE, {
triggerRef: i,
@@ -41049,15 +41071,15 @@ function BI({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, O.jsx)(oD, {
"aria-label": "候选图标",
- value: s || zI,
- onChange: (e) => c(e === zI ? "" : e),
+ value: s || BI,
+ onChange: (e) => c(e === BI ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: LI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
- value: e || zI,
+ children: RI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
+ value: e || BI,
"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, O.jsx)(MA, { mark: e || l })
- }, e || zI))
+ }, e || BI))
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -41079,8 +41101,8 @@ function BI({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var VI = "/api/configuration/push-discovery", HI = "/api/configuration/push-discovery/secret";
-function UI({ initial: e, receipt: t }) {
+var HI = "/api/configuration/push-discovery", UI = "/api/configuration/push-discovery/secret";
+function WI({ initial: e, receipt: t }) {
let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(e.prefixes), [o, s] = (0, D.useState)(""), c = Sw(), l = nO(), u = n.media_roots, [d, f] = (0, D.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 ? {
@@ -41097,7 +41119,7 @@ function UI({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(VI, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(HI, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
/* @__PURE__ */ (0, O.jsxs)(SA, { children: [
@@ -41240,7 +41262,7 @@ function UI({ initial: e, receipt: t }) {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, O.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(HI, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(UI, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -41257,8 +41279,8 @@ function UI({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var WI = 8e3;
-function GI({ className: e }) {
+var GI = 8e3;
+function KI({ className: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -41271,33 +41293,33 @@ function GI({ className: e }) {
children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-search" })
});
}
-var KI = [
+var qI = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], qI = (e) => KI.find(([t]) => t === e)?.[1] ?? e, JI = (e) => o[e] || "database", YI = (e = "") => ({
+], JI = (e) => qI.find(([t]) => t === e)?.[1] ?? e, YI = (e) => o[e] || "database", XI = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function XI(e) {
- let t = e.media_sources?.filter((e) => KI.some(([t]) => t === e.location));
+function ZI(e) {
+ let t = e.media_sources?.filter((e) => qI.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) => YI(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => XI(e));
}
-var ZI = (e) => !(e instanceof ow) || e.status !== 400 ? null : e.body?.errors ?? null;
-function QI({ data: e, receipt: t }) {
+var QI = (e) => !(e instanceof ow) || e.status !== 400 ? null : e.body?.errors ?? null;
+function $I({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, O.jsx)($I, {
+ e.editable ? /* @__PURE__ */ (0, O.jsx)(eL, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, O.jsx)(J, {
@@ -41305,21 +41327,21 @@ function QI({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, O.jsx)(tL, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, O.jsx)(UI, {
+ /* @__PURE__ */ (0, O.jsx)(nL, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, O.jsx)(WI, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function $I({ data: e, receipt: t }) {
- let [n, r] = (0, D.useState)(() => XI(e)), [i, a] = (0, D.useState)(String(e.port)), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)([]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(null), [v, y] = (0, D.useState)(null), b = (0, D.useRef)(!1), x = (0, D.useRef)(e.revision), S = (0, D.useRef)([]), C = Sw();
+function eL({ data: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(() => ZI(e)), [i, a] = (0, D.useState)(String(e.port)), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)([]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(null), [v, y] = (0, D.useState)(null), b = (0, D.useRef)(!1), x = (0, D.useRef)(e.revision), S = (0, D.useRef)([]), C = Sw();
(0, D.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, D.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), WI);
+ let e = setTimeout(() => location.assign(m.url), GI);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -41330,14 +41352,14 @@ function $I({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, YI()]);
+ _(n.length), r((e) => [...e, XI()]);
}, k = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, A = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(_I, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(vI, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -41346,7 +41368,7 @@ function $I({ data: e, receipt: t }) {
}
}
}, j = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(gI, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(_I, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -41355,7 +41377,7 @@ function $I({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = ZI(e);
+ let t = QI(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
@@ -41408,7 +41430,7 @@ function $I({ data: e, receipt: t }) {
hint: c[r] || void 0
}),
/* @__PURE__ */ (0, O.jsx)(BD, {
- icon: GI,
+ icon: KI,
"aria-label": "选择文件夹",
onClick: () => void A(r),
...Y(v === r)
@@ -41431,7 +41453,7 @@ function $I({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(DA, { children: "媒体库图标" }), /* @__PURE__ */ (0, O.jsx)(BI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(DA, { children: "媒体库图标" }), /* @__PURE__ */ (0, O.jsx)(VI, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -41446,10 +41468,10 @@ function $I({ data: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: KI.map(([e, t]) => /* @__PURE__ */ (0, O.jsxs)(LA, {
+ children: qI.map(([e, t]) => /* @__PURE__ */ (0, O.jsxs)(LA, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: JI(e) }), t]
+ children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: YI(e) }), t]
}, e))
})]
}),
@@ -41470,7 +41492,7 @@ function $I({ data: e, receipt: t }) {
})
]
}),
- M ? /* @__PURE__ */ (0, O.jsx)(II, {}) : null,
+ M ? /* @__PURE__ */ (0, O.jsx)(LI, {}) : null,
N.map((e) => /* @__PURE__ */ (0, O.jsxs)(TA, { children: [
"未检测到 ",
e.name,
@@ -41511,7 +41533,7 @@ function $I({ data: e, receipt: t }) {
})]
});
}
-function eL({ online: e }) {
+function tL({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -41535,21 +41557,21 @@ function eL({ online: e }) {
}), "未检测"]
});
}
-function tL({ data: e }) {
+function nL({ data: e }) {
let t = e.media_sources, n = Sw();
return t ? /* @__PURE__ */ (0, O.jsxs)(xA, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, O.jsx)(kA, { children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(AA, {
- term: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: JI(e.location) }), qI(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, O.jsx)(eL, { online: e.online })]
+ term: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(MA, { mark: YI(e.location) }), JI(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, O.jsx)(tL, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, O.jsx)(CA, {
divided: !0,
children: /* @__PURE__ */ (0, O.jsx)(EA, { children: n.error })
}) : null,
/* @__PURE__ */ (0, O.jsx)(wA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => yI(e), (e) => X.setQueryData(vI, e)),
+ onClick: () => void n.run("refresh", (e) => bI(e), (e) => X.setQueryData(yI, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -41558,12 +41580,12 @@ function tL({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var nL = {
+var rL = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function rL({ initial: e, receipt: t }) {
+function iL({ initial: e, receipt: t }) {
let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)({}), m = (0, D.useRef)(null), h = Sw(), g = (e) => {
e.preventDefault();
let f = {};
@@ -41584,7 +41606,7 @@ function rL({ initial: e, receipt: t }) {
let t = e instanceof ow ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = nL[n.mode], v = n.mode !== "locked";
+ }, _ = rL[n.mode], v = n.mode !== "locked";
return /* @__PURE__ */ (0, O.jsxs)(xA, {
title: "访问密码",
onSubmit: g,
@@ -41661,19 +41683,19 @@ function rL({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var iL = 2e3, aL = [["quick", "临时链接"], ["named", "命名隧道"]], oL = {
+var aL = 2e3, oL = [["quick", "临时链接"], ["named", "命名隧道"]], sL = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function sL({ revision: e, initial: t, receipt: n }) {
+function cL({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, D.useState)(t), [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(t.mode), [l, u] = (0, D.useState)(t.hostname), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)({}), h = Sw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, D.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- yI(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(vI, t), i(t.tunnel), o(t.revision));
+ bI(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(yI, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, iL);
+ }, aL);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -41703,14 +41725,14 @@ function sL({ revision: e, initial: t, receipt: n }) {
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: EM,
- children: aL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
+ className: DM,
+ children: oL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sD, {
value: e,
- className: DM,
+ className: OM,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, O.jsx)(TA, { children: oL[_ ? "named" : "quick"] }),
+ /* @__PURE__ */ (0, O.jsx)(TA, { children: sL[_ ? "named" : "quick"] }),
_ ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GD, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -41770,24 +41792,24 @@ function sL({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var cL = [
+var lL = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function lL({ data: e, receipt: t }) {
+function uL({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, O.jsx)(uL, {
+ e.peach_proxy ? /* @__PURE__ */ (0, O.jsx)(dL, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, O.jsx)(rL, {
+ e.access ? /* @__PURE__ */ (0, O.jsx)(iL, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, O.jsx)(sL, {
+ e.tunnel ? /* @__PURE__ */ (0, O.jsx)(cL, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -41795,7 +41817,7 @@ function lL({ data: e, receipt: t }) {
]
});
}
-function uL({ initial: e, receipt: t }) {
+function dL({ initial: e, receipt: t }) {
let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(e.mode), [o, s] = (0, D.useState)(""), c = Sw();
return /* @__PURE__ */ (0, O.jsxs)(xA, {
id: "peachProxy",
@@ -41818,7 +41840,7 @@ function uL({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: cL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: lL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: e,
children: t
}, e))
@@ -41854,10 +41876,10 @@ function uL({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function dL({ receipt: e, reopenTutorial: t }) {
+function fL({ receipt: e, reopenTutorial: t }) {
let n = ht({
- queryKey: vI,
- queryFn: ({ signal: e }) => yI(e)
+ queryKey: yI,
+ queryFn: ({ signal: e }) => bI(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, O.jsx)("div", {
className: "configpage",
@@ -41878,22 +41900,22 @@ function dL({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, O.jsx)(SI, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, O.jsx)(CI, { ...i }) : null,
/* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, O.jsx)(QI, { ...i }),
+ /* @__PURE__ */ (0, O.jsx)($I, { ...i }),
o ? /* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, O.jsx)(lL, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, O.jsx)(uL, { ...i }) : null,
/* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, O.jsx)(kI, {
+ /* @__PURE__ */ (0, O.jsx)(AI, {
...i,
reopenTutorial: t
})
@@ -41902,14 +41924,14 @@ function dL({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var fL = (e) => {
+var pL = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function pL({ openConfiguration: e }) {
+function mL({ openConfiguration: e }) {
let t = ht({
- queryKey: vI,
- queryFn: ({ signal: e }) => yI(e)
+ queryKey: yI,
+ queryFn: ({ signal: e }) => bI(e)
}), n = t.data;
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
@@ -41924,7 +41946,7 @@ function pL({ openConfiguration: e }) {
}),
/* @__PURE__ */ (0, O.jsx)(AA, {
term: "更新",
- children: fL(n)
+ children: pL(n)
})
] }) : /* @__PURE__ */ (0, O.jsx)(CA, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
@@ -41941,14 +41963,14 @@ function pL({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var mL = "/api/stats", hL = ["stats"], gL = (e) => cw(mL, e);
-async function _L(e) {
+var hL = "/api/stats", gL = ["stats"], _L = (e) => cw(hL, e);
+async function vL(e) {
await X.fetchQuery({
- queryKey: hL,
- queryFn: () => gL(e)
+ queryKey: gL,
+ queryFn: () => _L(e)
});
}
-var vL = (e, t) => t ? Math.round(e / t * 100) : 0, yL = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, bL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, xL = (e) => (e.max_reached || 0) * 100, SL = (e) => e.kind === "online" ? "在线直接观看" : bL(e) < xL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", CL = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, wL = (e) => Math.max(1, ...e) * 1.1, TL = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), EL = {
+var yL = (e, t) => t ? Math.round(e / t * 100) : 0, bL = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, xL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, SL = (e) => (e.max_reached || 0) * 100, CL = (e) => e.kind === "online" ? "在线直接观看" : xL(e) < SL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", wL = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, TL = (e) => Math.max(1, ...e) * 1.1, EL = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Nse = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -41956,10 +41978,10 @@ var vL = (e, t) => t ? Math.round(e / t * 100) : 0, yL = (e) => e >= 3600 ? `${(
audio: "音频",
account: "账号",
other: "其它文件"
-}, Nse = (e) => e.map((e) => ({
- name: EL[e.k] ?? e.k,
+}, Pse = (e) => e.map((e) => ({
+ name: Nse[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), Pse = {
+})).sort((e, t) => t.value - e.value), Fse = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
@@ -41967,7 +41989,7 @@ var vL = (e, t) => t ? Math.round(e / t * 100) : 0, yL = (e) => e >= 3600 ? `${(
}, DL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Fse = (e) => DL(e, Pse), Ise = [
+})), Ise = (e) => DL(e, Fse), Lse = [
[
1,
1,
@@ -42003,18 +42025,18 @@ var vL = (e, t) => t ? Math.round(e / t * 100) : 0, yL = (e) => e >= 3600 ? `${(
Infinity,
"≥10 次"
]
-], Lse = (e) => Ise.map(([t, n, r]) => ({
+], Rse = (e) => Lse.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), Rse = /* @__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(".");
+})), zse = /* @__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 OL(e) {
- return typeof e == "string" && Rse.includes(e);
+ return typeof e == "string" && zse.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var zse = /* @__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("."));
+var Bse = /* @__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 kL(e) {
- return typeof e == "string" && zse.has(e);
+ return typeof e == "string" && Bse.has(e);
}
function AL(e) {
return typeof e == "string" && e.startsWith("data-");
@@ -42040,12 +42062,12 @@ function NL(e) {
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (kL(n) || AL(n) || OL(n)) && (t[n] = e[n]);
return t;
}
-function Bse(e) {
+function Vse(e) {
return e == null ? null : /*#__PURE__*/ (0, D.isValidElement)(e) ? NL(e.props) : typeof e == "object" && !Array.isArray(e) ? NL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var Vse = [
+var Hse = [
"children",
"width",
"height",
@@ -42064,16 +42086,16 @@ function PL() {
return e;
}, PL.apply(null, arguments);
}
-function Hse(e, t) {
+function Use(e, t) {
if (e == null) return {};
- var n, r, i = Use(e, t);
+ var n, r, i = Wse(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 Use(e, t) {
+function Wse(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -42083,7 +42105,7 @@ function Use(e, t) {
return n;
}
var FL = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Hse(e, Vse), d = a || {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Use(e, Hse), d = a || {
width: r,
height: i,
x: 0,
@@ -42097,7 +42119,7 @@ var FL = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ D.createElement("title", null, c), /*#__PURE__*/ D.createElement("desc", null, l), n);
-}), Wse = ["children", "className"];
+}), Gse = ["children", "className"];
function IL() {
return IL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -42107,16 +42129,16 @@ function IL() {
return e;
}, IL.apply(null, arguments);
}
-function Gse(e, t) {
+function Kse(e, t) {
if (e == null) return {};
- var n, r, i = Kse(e, t);
+ var n, r, i = qse(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Kse(e, t) {
+function qse(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -42126,9 +42148,9 @@ function Kse(e, t) {
return n;
}
var LL = /*#__PURE__*/ D.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Gse(e, Wse), a = Dm("recharts-layer", r);
+ var { children: n, className: r } = e, i = Kse(e, Gse), a = Dm("recharts-layer", r);
return /*#__PURE__*/ D.createElement("g", IL({ className: a }, NL(i), { ref: t }), n);
-}), RL = /*#__PURE__*/ (0, D.createContext)(null), qse = () => (0, D.useContext)(RL);
+}), RL = /*#__PURE__*/ (0, D.createContext)(null), Jse = () => (0, D.useContext)(RL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
function zL(e) {
@@ -42140,12 +42162,12 @@ function zL(e) {
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
var BL = Math.cos, VL = Math.sin, HL = Math.sqrt, UL = Math.PI;
UL / 2;
-var WL = 2 * UL, GL = Math.PI, KL = 2 * GL, qL = 1e-6, Jse = KL - qL;
+var WL = 2 * UL, GL = Math.PI, KL = 2 * GL, qL = 1e-6, Yse = KL - qL;
function JL(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Yse(e) {
+function Xse(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
if (t > 15) return JL;
@@ -42157,7 +42179,7 @@ function Yse(e) {
}
var YL = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? JL : Yse(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? JL : Xse(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -42189,7 +42211,7 @@ var YL = class {
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) > qL || Math.abs(this._y1 - l) > qL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % KL + KL), d > Jse ? 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 > qL && this._append`A${n},${n},0,${+(d >= GL)},${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) > qL || Math.abs(this._y1 - l) > qL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % KL + KL), d > Yse ? 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 > qL && this._append`A${n},${n},0,${+(d >= GL)},${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`;
@@ -42356,10 +42378,10 @@ var iR = class {
this._x0 = e, this._y0 = t;
}
};
-function Xse(e) {
+function Zse(e) {
return new iR(e, !0);
}
-function Zse(e) {
+function Qse(e) {
return new iR(e, !1);
}
//#endregion
@@ -42367,33 +42389,33 @@ function Zse(e) {
var aR = { draw(e, t) {
let n = HL(t / UL);
e.moveTo(n, 0), e.arc(0, 0, n, 0, WL);
-} }, Qse = { draw(e, t) {
+} }, $se = { draw(e, t) {
let n = HL(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();
-} }, oR = HL(1 / 3), $se = oR * 2, ece = { draw(e, t) {
- let n = HL(t / $se), r = n * oR;
+} }, oR = HL(1 / 3), ece = oR * 2, tce = { draw(e, t) {
+ let n = HL(t / ece), r = n * oR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, tce = { draw(e, t) {
+} }, nce = { draw(e, t) {
let n = HL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, nce = .8908130915292852, sR = VL(UL / 10) / VL(7 * UL / 10), rce = VL(WL / 10) * sR, ice = -BL(WL / 10) * sR, ace = { draw(e, t) {
- let n = HL(t * nce), r = rce * n, i = ice * n;
+} }, rce = .8908130915292852, sR = VL(UL / 10) / VL(7 * UL / 10), ice = VL(WL / 10) * sR, ace = -BL(WL / 10) * sR, oce = { draw(e, t) {
+ let n = HL(t * rce), r = ice * n, i = ace * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
let a = WL * t / 5, o = BL(a), s = VL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, cR = HL(3), oce = { draw(e, t) {
+} }, cR = HL(3), sce = { draw(e, t) {
let n = -HL(t / (cR * 3));
e.moveTo(0, n * 2), e.lineTo(-cR * n, -n), e.lineTo(cR * n, -n), e.closePath();
-} }, lR = -.5, uR = HL(3) / 2, dR = 1 / HL(12), sce = (dR / 2 + 1) * 3, cce = { draw(e, t) {
- let n = HL(t / sce), r = n / 2, i = n * dR, a = r, o = n * dR + n, s = -a, c = o;
+} }, lR = -.5, uR = HL(3) / 2, dR = 1 / HL(12), cce = (dR / 2 + 1) * 3, lce = { draw(e, t) {
+ let n = HL(t / cce), r = n / 2, i = n * dR, a = r, o = n * dR + n, s = -a, c = o;
e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(lR * r - uR * i, uR * r + lR * i), e.lineTo(lR * a - uR * o, uR * a + lR * o), e.lineTo(lR * s - uR * c, uR * s + lR * c), e.lineTo(lR * r + uR * i, lR * i - uR * r), e.lineTo(lR * a + uR * o, lR * o - uR * a), e.lineTo(lR * s + uR * c, lR * c - uR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function lce(e, t) {
+function uce(e, t) {
let n = null, r = XL(i);
e = typeof e == "function" ? e : zL(e || aR), t = typeof t == "function" ? t : zL(t === void 0 ? 64 : +t);
function i() {
@@ -42450,7 +42472,7 @@ mR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function uce(e) {
+function dce(e) {
return new mR(e);
}
//#endregion
@@ -42491,7 +42513,7 @@ hR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function dce(e) {
+function fce(e) {
return new hR(e);
}
//#endregion
@@ -42531,7 +42553,7 @@ gR.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function fce(e) {
+function pce(e) {
return new gR(e);
}
//#endregion
@@ -42552,7 +42574,7 @@ _R.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function pce(e) {
+function mce(e) {
return new _R(e);
}
//#endregion
@@ -42636,10 +42658,10 @@ wR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function mce(e) {
+function hce(e) {
return new SR(e);
}
-function hce(e) {
+function gce(e) {
return new CR(e);
}
//#endregion
@@ -42677,7 +42699,7 @@ function ER(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 gce(e) {
+function _ce(e) {
return new TR(e);
}
//#endregion
@@ -42713,13 +42735,13 @@ DR.prototype = {
this._x = e, this._y = t;
}
};
-function _ce(e) {
+function vce(e) {
return new DR(e, .5);
}
-function vce(e) {
+function yce(e) {
return new DR(e, 0);
}
-function yce(e) {
+function bce(e) {
return new DR(e, 1);
}
//#endregion
@@ -42735,17 +42757,17 @@ function kR(e) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function bce(e, t) {
+function xce(e, t) {
return e[t];
}
-function xce(e) {
+function Sce(e) {
let t = [];
return t.key = e, t;
}
-function Sce() {
- var e = zL([]), t = kR, n = OR, r = bce;
+function Cce() {
+ var e = zL([]), t = kR, n = OR, r = xce;
function i(i) {
- var a = Array.from(e.apply(this, arguments), xce), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Sce), 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 = ZL(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
@@ -42762,7 +42784,7 @@ function Sce() {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Cce(e, t) {
+function wce(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;
@@ -42773,7 +42795,7 @@ function Cce(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function wce(e, t) {
+function Tce(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;
@@ -42784,7 +42806,7 @@ function wce(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function Tce(e, t) {
+function Ece(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) {
@@ -42806,12 +42828,12 @@ function AR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Ece = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+var Dce = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
function jR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Ece.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Dce.test(e);
default: return !1;
}
}
@@ -42827,7 +42849,7 @@ function NR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function Dce(e) {
+function Oce(e) {
return e == null ? "" : PR(e);
}
function PR(e) {
@@ -42842,7 +42864,7 @@ function PR(e) {
function FR(e) {
if (Array.isArray(e)) return e.map(MR);
if (typeof e == "symbol") return [e];
- e = Dce(e);
+ e = Oce(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -42885,14 +42907,14 @@ function IR(e, t, n) {
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Oce(e, t, n);
+ if (Array.isArray(t)) return kce(e, t, n);
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), AR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Oce(e, t, n) {
+function kce(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
@@ -42903,9 +42925,9 @@ function Oce(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var kce = 4;
+var Ace = 4;
function LR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kce), n = Math.round(e * t) / t;
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ace), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
function RR(e) {
@@ -42917,8 +42939,8 @@ function RR(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var zR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, BR = (e) => typeof e == "number" && e != +e, VR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !BR(e), HR = (e) => Z(e) || typeof e == "string", Ace = 0, UR = (e) => {
- var t = ++Ace;
+var zR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, BR = (e) => typeof e == "number" && e != +e, VR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !BR(e), HR = (e) => Z(e) || typeof e == "string", jce = 0, UR = (e) => {
+ var t = ++jce;
return `${e || ""}${t}`;
}, WR = 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];
@@ -42949,7 +42971,7 @@ function XR(e) {
function ZR() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var jce = [
+var Mce = [
"type",
"size",
"sizeType"
@@ -42977,26 +42999,26 @@ function ez(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $R(Object(n), !0).forEach(function(t) {
- Mce(e, t, n[t]);
+ Nce(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $R(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mce(e, t, n) {
- return (t = Nce(t)) in e ? Object.defineProperty(e, t, {
+function Nce(e, t, n) {
+ return (t = Pce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nce(e) {
- var t = Pce(e, "string");
+function Pce(e) {
+ var t = Fce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pce(e, t) {
+function Fce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43006,16 +43028,16 @@ function Pce(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fce(e, t) {
+function Ice(e, t) {
if (e == null) return {};
- var n, r, i = Ice(e, t);
+ var n, r, i = Lce(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 Ice(e, t) {
+function Lce(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43026,36 +43048,36 @@ function Ice(e, t) {
}
var tz = {
symbolCircle: aR,
- symbolCross: Qse,
- symbolDiamond: ece,
- symbolSquare: tce,
- symbolStar: ace,
- symbolTriangle: oce,
- symbolWye: cce
-}, Lce = Math.PI / 180, Rce = (e) => tz[`symbol${YR(e)}`] || aR, zce = (e, t, n) => {
+ symbolCross: $se,
+ symbolDiamond: tce,
+ symbolSquare: nce,
+ symbolStar: oce,
+ symbolTriangle: sce,
+ symbolWye: lce
+}, Rce = Math.PI / 180, zce = (e) => tz[`symbol${YR(e)}`] || aR, Bce = (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 * Lce;
+ var r = 18 * Rce;
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;
}
-}, Bce = (e, t) => {
+}, Vce = (e, t) => {
tz[`symbol${YR(e)}`] = t;
}, nz = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = ez(ez({}, Fce(e, jce)), {}, {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = ez(ez({}, Ice(e, Mce)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Rce(a), t = lce().type(e).size(zce(n, r, a))();
+ var e = zce(a), t = uce().type(e).size(Bce(n, r, a))();
if (t !== null) return t;
}, { className: s, cx: c, cy: l } = i, u = NL(i);
return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ D.createElement("path", QR({}, u, {
@@ -43064,7 +43086,7 @@ var tz = {
d: o()
})) : null;
};
-nz.registerSymbol = Bce;
+nz.registerSymbol = Vce;
//#endregion
//#region node_modules/recharts/es6/util/types.js
var rz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, iz = (e, t) => {
@@ -43075,12 +43097,12 @@ var rz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, iz = (e,
return Object.keys(n).forEach((e) => {
OL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Vce = (e, t, n) => (r) => (e(t, n, r), null), az = (e, t, n) => {
+}, Hce = (e, t, n) => (r) => (e(t, n, r), null), az = (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];
- OL(i) && typeof a == "function" && (r ||= {}, r[i] = Vce(a, t, n));
+ OL(i) && typeof a == "function" && (r ||= {}, r[i] = Hce(a, t, n));
}), r;
};
//#endregion
@@ -43095,30 +43117,30 @@ function oz(e, t) {
}
return n;
}
-function Hce(e) {
+function Uce(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? oz(Object(n), !0).forEach(function(t) {
- Uce(e, t, n[t]);
+ Wce(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uce(e, t, n) {
- return (t = Wce(t)) in e ? Object.defineProperty(e, t, {
+function Wce(e, t, n) {
+ return (t = Gce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wce(e) {
- var t = Gce(e, "string");
+function Gce(e) {
+ var t = Kce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gce(e, t) {
+function Kce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43129,7 +43151,7 @@ function Gce(e, t) {
return (t === "string" ? String : Number)(e);
}
function sz(e, t) {
- var n = Hce({}, e), r = t;
+ var n = Uce({}, 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
@@ -43157,26 +43179,26 @@ function uz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? lz(Object(n), !0).forEach(function(t) {
- Kce(e, t, n[t]);
+ qce(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kce(e, t, n) {
- return (t = qce(t)) in e ? Object.defineProperty(e, t, {
+function qce(e, t, n) {
+ return (t = Jce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qce(e) {
- var t = Jce(e, "string");
+function Jce(e) {
+ var t = Yce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jce(e, t) {
+function Yce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43186,7 +43208,7 @@ function Jce(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var dz = 32, Yce = {
+var dz = 32, Xce = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -43194,17 +43216,17 @@ var dz = 32, Yce = {
verticalAlign: "middle",
labelStyle: {}
};
-function Xce(e) {
+function Zce(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Zce(e) {
+function Qce(e) {
var { data: t, iconType: n, inactiveColor: r } = e, i = dz / 2, a = dz / 6, o = dz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ D.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Xce(t.payload),
+ strokeDasharray: Zce(t.payload),
x1: 0,
y1: i,
x2: dz,
@@ -43240,7 +43262,7 @@ function Zce(e) {
type: c
});
}
-function Qce(e) {
+function $ce(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
@@ -43274,7 +43296,7 @@ function Qce(e) {
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ D.createElement(Zce, {
+ }, /*#__PURE__*/ D.createElement(Qce, {
data: t,
iconType: o,
inactiveColor: a
@@ -43284,8 +43306,8 @@ function Qce(e) {
}, m));
});
}
-var $ce = (e) => {
- var t = sz(e, Yce), { payload: n, layout: r, align: i } = t;
+var ele = (e) => {
+ var t = sz(e, Xce), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -43295,11 +43317,11 @@ var $ce = (e) => {
return /*#__PURE__*/ D.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ D.createElement(Qce, cz({}, t, { payload: n })));
+ }, /*#__PURE__*/ D.createElement($ce, cz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function ele(e, t) {
+function tle(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -43309,7 +43331,7 @@ function ele(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function tle(e, t) {
+function nle(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
@@ -43321,17 +43343,17 @@ function fz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function nle(e) {
+function rle(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
function pz(e) {
- return e != null && typeof e != "function" && nle(e.length);
+ return e != null && typeof e != "function" && rle(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function rle(e) {
+function ile(e) {
return function(t) {
return IR(t, e);
};
@@ -43343,12 +43365,12 @@ function mz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function ile(e) {
+function ale(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function ale(e) {
+function ole(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
@@ -43358,17 +43380,17 @@ function hz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var ole = "[object RegExp]", gz = "[object String]", _z = "[object Number]", vz = "[object Boolean]", yz = "[object Arguments]", sle = "[object Symbol]", cle = "[object Date]", lle = "[object Map]", ule = "[object Set]", dle = "[object Array]", fle = "[object ArrayBuffer]", ple = "[object Object]", mle = "[object DataView]", hle = "[object Uint8Array]", gle = "[object Uint8ClampedArray]", _le = "[object Uint16Array]", vle = "[object Uint32Array]", yle = "[object Int8Array]", ble = "[object Int16Array]", xle = "[object Int32Array]", Sle = "[object Float32Array]", Cle = "[object Float64Array]", bz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var sle = "[object RegExp]", gz = "[object String]", _z = "[object Number]", vz = "[object Boolean]", yz = "[object Arguments]", cle = "[object Symbol]", lle = "[object Date]", ule = "[object Map]", dle = "[object Set]", fle = "[object Array]", ple = "[object ArrayBuffer]", mle = "[object Object]", hle = "[object DataView]", gle = "[object Uint8Array]", _le = "[object Uint8ClampedArray]", vle = "[object Uint16Array]", yle = "[object Uint32Array]", ble = "[object Int8Array]", xle = "[object Int16Array]", Sle = "[object Int32Array]", Cle = "[object Float32Array]", wle = "[object Float64Array]", bz = 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 wle(e) {
+function Tle(e) {
return bz.Buffer !== void 0 && bz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Tle(e, t) {
+function Ele(e, t) {
return xz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
function xz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
@@ -43399,8 +43421,8 @@ function xz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
for (let a of e) t.add(xz(a, void 0, n, r, i));
return t;
}
- if (wle(e)) return e.subarray();
- if (ile(e)) {
+ if (Tle(e)) return e.subarray();
+ if (ale(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
for (let a = 0; a < e.length; a++) t[a] = xz(e[a], a, n, r, i);
@@ -43435,49 +43457,49 @@ function xz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let t = new String(e.valueOf());
return r.set(e, t), Sz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Ele(e)) {
+ if (typeof e == "object" && Dle(e)) {
let t = Object.create(Object.getPrototypeOf(e));
return r.set(e, t), Sz(t, e, n, r, i), t;
}
return e;
}
function Sz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...ale(t)];
+ let a = [...Object.keys(t), ...ole(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
(c == null || c.writable) && (e[s] = xz(t[s], s, n, r, i));
}
}
-function Ele(e) {
+function Dle(e) {
switch (hz(e)) {
case yz:
- case dle:
case fle:
- case mle:
+ case ple:
+ case hle:
case vz:
- case cle:
- case Sle:
+ case lle:
case Cle:
- case yle:
+ case wle:
case ble:
case xle:
- case lle:
- case _z:
- case ple:
- case ole:
+ case Sle:
case ule:
- case gz:
+ case _z:
+ case mle:
case sle:
- case hle:
+ case dle:
+ case gz:
+ case cle:
case gle:
case _le:
- case vle: return !0;
+ case vle:
+ case yle: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Dle(e) {
+function Ole(e) {
return xz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
@@ -43501,16 +43523,16 @@ function Tz(e, t, n) {
function Ez(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Ole(e, t, n, r, i);
+ case "object": return kle(e, t, n, r, i);
case "function": return Object.keys(t).length > 0 ? Ez(e, { ...t }, n, r, i) : Cz(e, t);
default: return wz(e) && i ? typeof t != "string" || t === "" : Cz(e, t);
}
}
-function Ole(e, t, n, r, i = !1) {
+function kle(e, t, n, r, i = !1) {
if (t == null) return !0;
if (Array.isArray(t)) return Dz(e, t, n, r);
- if (t instanceof Map) return kle(e, t, n, r);
- if (t instanceof Set) return Ale(e, t, n, r);
+ if (t instanceof Map) return Ale(e, t, n, r);
+ if (t instanceof Set) return jle(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
if (i) mz(e) && (e = Object(e));
@@ -43531,7 +43553,7 @@ function Ole(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function kle(e, t, n, r) {
+function Ale(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;
@@ -43555,7 +43577,7 @@ function Dz(e, t, n, r) {
}
return !0;
}
-function Ale(e, t, n, r) {
+function jle(e, t, n, r) {
return t.size === 0 || e instanceof Set && Dz([...e], [...t], n, r);
}
//#endregion
@@ -43565,13 +43587,13 @@ function Oz(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function jle(e) {
- return e = Dle(e), (t) => Oz(t, e);
+function Mle(e) {
+ return e = Ole(e), (t) => Oz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Mle(e, t) {
- return Tle(e, (n, r, i, a) => {
+function Nle(e, t) {
+ return Ele(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
@@ -43597,49 +43619,49 @@ function Mle(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Nle(e) {
- return Mle(e);
+function Ple(e) {
+ return Nle(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Ple = /^(?:0|[1-9]\d*)$/;
+var Fle = /^(?:0|[1-9]\d*)$/;
function kz(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 Ple.test(e);
+ case "string": return Fle.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function Fle(e) {
+function Ile(e) {
return typeof e == "object" && !!e && hz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function Ile(e, t) {
+function Lle(e, t) {
let n;
if (n = Array.isArray(t) ? t : typeof t == "string" && jR(t) && !(t in Object(e)) ? FR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
let t = MR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Fle(r)) && kz(t) && Number(t) < r.length)) return !1;
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Ile(r)) && kz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Lle(e, t) {
+function Rle(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
case "number": e = MR(e);
}
- return t = Nle(t), function(n) {
+ return t = Ple(t), function(n) {
let r = IR(n, e);
- return r === void 0 ? Ile(n, e) : t === void 0 ? r === void 0 : Oz(r, t);
+ return r === void 0 ? Lle(n, e) : t === void 0 ? r === void 0 : Oz(r, t);
};
}
//#endregion
@@ -43648,19 +43670,19 @@ function Az(e) {
if (e == null) return fz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Lle(e[0], e[1]) : jle(e);
- default: return rle(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Rle(e[0], e[1]) : Mle(e);
+ default: return ile(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Rle(e) {
+function zle(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
function jz(e, t = fz) {
- return pz(e) ? ele(Array.from(e), tle(Az(t), 1)).map(Rle) : [];
+ return pz(e) ? tle(Array.from(e), nle(Az(t), 1)).map(zle) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
@@ -43669,7 +43691,7 @@ function Mz(e, t, n) {
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var zle = /* @__PURE__ */ v(((e) => {
+var Ble = /* @__PURE__ */ v(((e) => {
var t = w(), n = th();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -43714,53 +43736,53 @@ var zle = /* @__PURE__ */ v(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Ble = /* @__PURE__ */ v(((e, t) => {
- t.exports = zle();
-})), Nz = /*#__PURE__*/ (0, D.createContext)(null), Vle = Ble(), Hle = (e) => e, Pz = () => {
+})), Vle = /* @__PURE__ */ v(((e, t) => {
+ t.exports = Ble();
+})), Nz = /*#__PURE__*/ (0, D.createContext)(null), Hle = Vle(), Ule = (e) => e, Pz = () => {
var e = (0, D.useContext)(Nz);
- return e ? e.store.dispatch : Hle;
-}, Fz = () => {}, Ule = () => Fz, Wle = (e, t) => e === t;
+ return e ? e.store.dispatch : Ule;
+}, Fz = () => {}, Wle = () => Fz, Gle = (e, t) => e === t;
function Q(e) {
var t = (0, D.useContext)(Nz), n = (0, D.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
} : Fz, [t, e]);
- return (0, Vle.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Ule, t ? t.store.getState : Fz, t ? t.store.getState : Fz, n, Wle);
+ return (0, Hle.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Wle, t ? t.store.getState : Fz, t ? t.store.getState : Fz, n, Gle);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Gle(e, t = `expected a function, instead received ${typeof e}`) {
+function Kle(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Kle(e, t = `expected an object, instead received ${typeof e}`) {
+function qle(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function qle(e, t = "expected all items to be functions, instead received the following types: ") {
+function Jle(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 Iz = (e) => Array.isArray(e) ? e : [e];
-function Jle(e) {
+function Yle(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return qle(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Jle(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Yle(e, t) {
+function Xle(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Xle = class {
+var Zle = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Zle = typeof WeakRef < "u" ? WeakRef : Xle, Qle = 0, Lz = 1;
+}, Qle = typeof WeakRef < "u" ? WeakRef : Zle, $le = 0, Lz = 1;
function Rz() {
return {
- s: Qle,
+ s: $le,
v: void 0,
o: null,
p: null
@@ -43788,7 +43810,7 @@ function zz(e, t = {}) {
if (t.s === Lz) 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 Zle(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Qle(c) : c;
}
return s.s = Lz, s.v = c, c;
}
@@ -43798,21 +43820,21 @@ function zz(e, t = {}) {
a = 0;
}, o;
}
-function $le(e, ...t) {
+function eue(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()), Gle(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ typeof o == "object" && (a = o, o = e.pop()), Kle(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
let { memoize: s, memoizeOptions: c = [], argsMemoize: l = zz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Iz(c), p = Iz(u), m = Jle(e), h = s(function() {
+ }, f = Iz(c), p = Iz(u), m = Yle(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Yle(m, arguments);
+ let e = Xle(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -43834,14 +43856,14 @@ function $le(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ $le(zz), eue = Object.assign((e, t = $) => {
- Kle(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ eue(zz), tue = Object.assign((e, t = $) => {
+ qle(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: () => eue });
+}, { withTypes: () => tue });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function tue(e, t = 1) {
+function nue(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -43860,7 +43882,7 @@ function Bz(e, t, n) {
function Vz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var nue = (e, t, n) => {
+var rue = (e, t, n) => {
if (e !== t) {
let r = Vz(e), i = Vz(t);
if (r === i && r === 0) {
@@ -43870,13 +43892,13 @@ var nue = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, rue = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, iue = /^\w*$/;
-function aue(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || NR(e) ? !0 : typeof e == "string" && (iue.test(e) || !rue.test(e)) || t != null && Object.hasOwn(t, e);
+}, iue = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, aue = /^\w*$/;
+function oue(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || NR(e) ? !0 : typeof e == "string" && (aue.test(e) || !iue.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function oue(e, t, n, r) {
+function sue(e, t, n, r) {
if (e == null) return [];
n = r ? void 0 : n, Array.isArray(e) || (e = pz(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) => {
@@ -43886,7 +43908,7 @@ function oue(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) || aue(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || oue(e) ? e : {
key: e,
path: FR(e)
}));
@@ -43895,7 +43917,7 @@ function oue(e, t, n, r) {
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = nue(e.criteria[r], t.criteria[r], n[r]);
+ let i = rue(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -43905,18 +43927,18 @@ function oue(e, t, n, r) {
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
function Hz(e, ...t) {
let n = t.length;
- return n > 1 && Bz(e, t[0], t[1]) ? t = [] : n > 2 && Bz(t[0], t[1], t[2]) && (t = [t[0]]), oue(e, tue(t), ["asc"]);
+ return n > 1 && Bz(e, t[0], t[1]) ? t = [] : n > 2 && Bz(t[0], t[1], t[2]) && (t = [t[0]]), sue(e, nue(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var Uz = (e) => e.legend.settings, sue = (e) => e.legend.size, cue = $([(e) => e.legend.payload, Uz], (e, t) => {
+var Uz = (e) => e.legend.settings, cue = (e) => e.legend.size, lue = $([(e) => e.legend.payload, Uz], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
return n ? Hz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function lue() {
- return Q(cue);
+function uue() {
+ return Q(lue);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
@@ -44039,7 +44061,7 @@ function Zz(e, t, n) {
[qz]: m
};
}
-function uue(e) {
+function due(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
if (n(void 0, { type: Yz.INIT }) === void 0) throw Error(Kz(12));
@@ -44054,7 +44076,7 @@ function Qz(e) {
}
let r = Object.keys(n), i;
try {
- uue(n);
+ due(n);
} catch (e) {
i = e;
}
@@ -44072,7 +44094,7 @@ function Qz(e) {
function $z(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function due(...e) {
+function fue(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
throw Error(Kz(15));
@@ -44099,7 +44121,7 @@ var aB = Object, oB = aB.getPrototypeOf, sB = "constructor", cB = "prototype", l
function mB(e) {
return e ? gB(e) || SB(e) || !!e[nB] || !!e[sB]?.[nB] || CB(e) || wB(e) : !1;
}
-var fue = aB[cB][sB].toString(), hB = /* @__PURE__ */ new WeakMap();
+var pue = aB[cB][sB].toString(), hB = /* @__PURE__ */ new WeakMap();
function gB(e) {
if (!e || !TB(e)) return !1;
let t = oB(e);
@@ -44108,7 +44130,7 @@ function gB(e) {
if (n === Object) return !0;
if (!EB(n)) return !1;
let r = hB.get(n);
- return r === void 0 && (r = Function.toString.call(n), hB.set(n, r)), r === fue;
+ return r === void 0 && (r = Function.toString.call(n), hB.set(n, r)), r === pue;
}
function _B(e, t, n = !0) {
vB(e) === 0 ? (n ? Reflect.ownKeys(e) : aB.keys(e)).forEach((n) => {
@@ -44122,11 +44144,11 @@ function vB(e) {
var yB = (e, t, n = vB(e)) => n === 2 ? e.has(t) : aB[cB].hasOwnProperty.call(e, t), bB = (e, t, n = vB(e)) => n === 2 ? e.get(t) : e[t], xB = (e, t, n, r = vB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function pue(e, t) {
+function mue(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var SB = Array.isArray, CB = (e) => e instanceof Map, wB = (e) => e instanceof Set, TB = (e) => typeof e == "object", EB = (e) => typeof e == "function", DB = (e) => typeof e == "boolean";
-function mue(e) {
+function hue(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -44168,10 +44190,10 @@ function jB(e, t = !1) {
jB(t, !0);
}, !1), e);
}
-function hue() {
+function gue() {
iB(2);
}
-var MB = { [fB]: hue };
+var MB = { [fB]: gue };
function NB(e) {
return e === null || !TB(e) || aB.isFrozen(e);
}
@@ -44180,7 +44202,7 @@ function RB(e) {
let t = LB[e];
return t || iB(0, e), t;
}
-var zB = (e) => !!LB[e], BB, VB = () => BB, gue = (e, t) => ({
+var zB = (e) => !!LB[e], BB, VB = () => BB, _ue = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -44195,13 +44217,13 @@ function HB(e, t) {
t && (e.patchPlugin_ = RB(FB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function UB(e) {
- WB(e), e.drafts_.forEach(_ue), e.drafts_ = null;
+ WB(e), e.drafts_.forEach(vue), e.drafts_ = null;
}
function WB(e) {
e === BB && (BB = e.parent_);
}
-var GB = (e) => BB = gue(BB, e);
-function _ue(e) {
+var GB = (e) => BB = _ue(BB, e);
+function vue(e) {
let t = e[rB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -44213,7 +44235,7 @@ function KB(e, t) {
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[rB].base_, e, t);
} else e = qB(t, n);
- return vue(t, e, !0), UB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === tB ? void 0 : e;
+ return yue(t, e, !0), UB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === tB ? void 0 : e;
}
function qB(e, t) {
if (NB(t)) return t;
@@ -44228,13 +44250,13 @@ function qB(e, t) {
}
return n.copy_;
}
-function vue(e, t, n = !1) {
+function yue(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && jB(t, n);
}
function JB(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var YB = (e, t) => e.scope_ === t, yue = [];
+var YB = (e, t) => e.scope_ === t, bue = [];
function XB(e, t, n, r) {
let i = OB(e), a = e.type_;
if (r !== void 0 && bB(i, r, a) === t) {
@@ -44250,10 +44272,10 @@ function XB(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? yue;
+ let o = e.draftLocations_.get(t) ?? bue;
for (let e of o) xB(i, e, n, a);
}
-function bue(e, t, n) {
+function xue(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !YB(i, r)) return;
@@ -44272,7 +44294,7 @@ function ZB(e, t) {
JB(e);
}
}
-function xue(e, t, n) {
+function Sue(e, t, n) {
let { scope_: r } = e;
if (pB(n)) {
let i = n[rB];
@@ -44292,7 +44314,7 @@ function QB(e, t, n) {
} else mB(i) && QB(i, t, n);
}), e);
}
-function Sue(e, t) {
+function Cue(e, t) {
let n = SB(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : VB(),
@@ -44317,10 +44339,10 @@ var $B = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = OB(e);
- if (!yB(i, t, e.type_)) return wue(e, i, t);
+ if (!yB(i, t, e.type_)) return Tue(e, i, t);
let a = i[t];
- if (e.finalized_ || !mB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && mue(t)) return a;
- if (a === tV(e.base_, t) || Cue(e, t, a)) {
+ if (e.finalized_ || !mB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && hue(t)) return a;
+ if (a === tV(e.base_, t) || wue(e, t, a)) {
iV(e);
let n = e.type_ === 1 ? +t : t, r = aV(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -44339,10 +44361,10 @@ var $B = {
if (!e.modified_) {
let r = tV(OB(e), t), i = r?.[rB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (pue(n, r) && (n !== void 0 || yB(e.base_, t, e.type_))) return !0;
+ if (mue(n, r) && (n !== void 0 || yB(e.base_, t, e.type_))) return !0;
iV(e), rV(e);
}
- return e.copy_[t] === n && (n !== void 0 || yB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), xue(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || yB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Sue(e, t, n), !0);
},
deleteProperty(e, t) {
return iV(e), tV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), rV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -44382,10 +44404,10 @@ function tV(e, t) {
let n = e[rB];
return (n ? OB(n) : e)[t];
}
-function Cue(e, t, n) {
+function wue(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !mB(n) || n[rB] ? !1 : e.baseRefs_.has(n);
}
-function wue(e, t, n) {
+function Tue(e, t, n) {
let r = nV(t, n);
return r ? fB in r ? r[fB] : r.get?.call(e.draft_) : void 0;
}
@@ -44404,7 +44426,7 @@ function rV(e) {
function iV(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), AB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var Tue = class {
+var Eue = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (EB(e) && !EB(t)) {
@@ -44487,8 +44509,8 @@ var Tue = class {
}
};
function aV(e, t, n, r) {
- let [i, a] = CB(t) ? RB(PB).proxyMap_(t, n) : wB(t) ? RB(PB).proxySet_(t, n) : Sue(t, n);
- return (n?.scope_ ?? VB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? bue(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = CB(t) ? RB(PB).proxyMap_(t, n) : wB(t) ? RB(PB).proxySet_(t, n) : Cue(t, n);
+ return (n?.scope_ ?? VB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? xue(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
@@ -44509,13 +44531,13 @@ function sV(e) {
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var cV = new Tue().produce;
+var cV = new Eue().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function lV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Eue = lV(), Due = lV, Oue = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+var Due = lV(), Oue = lV, kue = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
if (arguments.length !== 0) return typeof arguments[0] == "object" ? $z : $z.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
@@ -44558,23 +44580,23 @@ function fV(e) {
function pV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function kue(e) {
+function Aue(e) {
return typeof e == "boolean";
}
-var Aue = () => function(e) {
+var jue = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new dV();
- return t && (kue(t) ? a.push(Eue) : a.push(Due(t.extraArgument))), a;
+ return t && (Aue(t) ? a.push(Due) : a.push(Oue(t.extraArgument))), a;
}, mV = "RTK_autoBatch", hV = () => (e) => ({
payload: e,
meta: { [mV]: !0 }
}), gV = (e) => (t) => {
setTimeout(t, e);
-}, jue = (e, t) => (n) => {
+}, Mue = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
}, _V = (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 ? jue(window.requestAnimationFrame, 100) : gV(10) : e.type === "callback" ? e.queueNotification : gV(e.timeout), l = () => {
+ 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 ? Mue(window.requestAnimationFrame, 100) : gV(10) : e.type === "callback" ? e.queueNotification : gV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -44592,23 +44614,23 @@ var Aue = () => function(e) {
}
}
});
-}, Mue = (e) => function(t) {
+}, Nue = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new dV(e);
return n && r.push(_V(typeof n == "object" ? n : void 0)), r;
};
-function Nue(e) {
- let t = Aue(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function Pue(e) {
+ let t = jue(), { 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 (Xz(n)) c = Qz(n);
else throw Error(GV(1));
let l;
l = typeof r == "function" ? r(t) : t();
let u = $z;
- i && (u = Oue({
+ i && (u = kue({
trace: !1,
...typeof i == "object" && i
}));
- let d = Mue(due(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ let d = Nue(fue(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
return Zz(c, o, p);
}
function vV(e) {
@@ -44641,12 +44663,12 @@ function vV(e) {
r
];
}
-function Pue(e) {
+function Fue(e) {
return typeof e == "function";
}
-function Fue(e, t) {
+function Iue(e, t) {
let [n, r, i] = vV(t), a;
- if (Pue(e)) a = () => fV(e());
+ if (Fue(e)) a = () => fV(e());
else {
let t = fV(e);
a = () => t;
@@ -44674,20 +44696,20 @@ function Fue(e, t) {
}
return o.getInitialState = a, o;
}
-var Iue = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Lue = (e = 21) => {
+var Lue = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Rue = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += Iue[Math.random() * 64 | 0];
+ for (; n--;) t += Lue[Math.random() * 64 | 0];
return t;
-}, Rue = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function zue(e, t) {
+}, zue = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function Bue(e, t) {
return `${e}/${t}`;
}
-function Bue({ creators: e } = {}) {
- let t = e?.asyncThunk?.[Rue];
+function Vue({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[zue];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(GV(11));
- let i = (typeof e.reducers == "function" ? e.reducers(Hue()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(Uue()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -44715,17 +44737,17 @@ function Bue({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: zue(n, r),
+ type: Bue(n, r),
createNotation: typeof e.reducers == "function"
};
- Wue(a) ? Kue(o, a, s, t) : Uue(o, a, s);
+ Gue(a) ? que(o, a, s, t) : Wue(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? vV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return Fue(e.initialState, (e) => {
+ return Iue(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);
@@ -44747,7 +44769,7 @@ function Bue({ creators: e } = {}) {
function i(t = l) {
return pV(pV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Vue(a, t, () => pV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Hue(a, t, () => pV(d, t, m), n);
return r;
});
}
@@ -44781,15 +44803,15 @@ function Bue({ creators: e } = {}) {
return g;
};
}
-function Vue(e, t, n, r) {
+function Hue(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 yV = /* @__PURE__ */ Bue();
-function Hue() {
+var yV = /* @__PURE__ */ Vue();
+function Uue() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -44813,21 +44835,21 @@ function Hue() {
asyncThunk: e
};
}
-function Uue({ type: e, reducerName: t, createNotation: n }, r, i) {
+function Wue({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !Gue(r)) throw Error(GV(17));
+ if (n && !Kue(r)) throw Error(GV(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? uV(e, o) : uV(e));
}
-function Wue(e) {
+function Gue(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function Gue(e) {
+function Kue(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function Kue({ type: e, reducerName: t }, n, r, i) {
+function que({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(GV(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, {
@@ -44838,9 +44860,9 @@ function Kue({ type: e, reducerName: t }, n, r, i) {
});
}
function bV() {}
-var que = "task", xV = "listener", SV = "completed", CV = "cancelled", Jue = `task-${CV}`, Yue = `task-${SV}`, wV = `${xV}-${CV}`, Xue = `${xV}-${SV}`, TV = class {
+var Jue = "task", xV = "listener", SV = "completed", CV = "cancelled", Yue = `task-${CV}`, Xue = `task-${SV}`, wV = `${xV}-${CV}`, Zue = `${xV}-${SV}`, TV = class {
constructor(e) {
- this.code = e, this.message = `${que} ${CV} (reason: ${e})`;
+ this.code = e, this.message = `${Jue} ${CV} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -44863,7 +44885,7 @@ function jV(e, t) {
n = DV;
});
}
-var Zue = async (e, t) => {
+var Que = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -44880,13 +44902,13 @@ var Zue = async (e, t) => {
}, MV = (e) => (t) => OV(jV(e, t).then((t) => (AV(e), t))), NV = (e) => {
let t = MV(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: PV } = Object, FV = {}, IV = "listenerMiddleware", Que = (e, t) => {
+}, { assign: PV } = Object, FV = {}, IV = "listenerMiddleware", $ue = (e, t) => {
let n = (t) => kV(e, () => t.abort(e.reason));
return (r, i) => {
EV(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = Zue(async () => {
+ let o = Que(async () => {
AV(e), AV(a.signal);
let t = await r({
pause: MV(a.signal),
@@ -44894,15 +44916,15 @@ var Zue = async (e, t) => {
signal: a.signal
});
return AV(a.signal), t;
- }, () => a.abort(Yue));
+ }, () => a.abort(Xue));
return i?.autoJoin && t.push(o.catch(DV)), {
result: MV(e)(o),
cancel() {
- a.abort(Jue);
+ a.abort(Yue);
}
};
};
-}, $ue = (e, t) => {
+}, ede = (e, t) => {
let n = async (n, r) => {
AV(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -44943,7 +44965,7 @@ var Zue = async (e, t) => {
}, RV = /* @__PURE__ */ PV((e) => {
let { type: t, predicate: n, effect: r } = LV(e);
return {
- id: Lue(),
+ id: Rue(),
effect: r,
type: t,
predicate: n,
@@ -44959,7 +44981,7 @@ var Zue = async (e, t) => {
e.pending.forEach((e) => {
e.abort(wV);
});
-}, ede = (e, t) => () => {
+}, tde = (e, t) => () => {
for (let e of t.keys()) BV(e);
e.clear();
}, VV = (e, t, n) => {
@@ -44970,7 +44992,7 @@ var Zue = async (e, t) => {
throw e;
}, 0);
}
-}, HV = /* @__PURE__ */ PV(/* @__PURE__ */ uV(`${IV}/add`), { withTypes: () => HV }), tde = /* @__PURE__ */ uV(`${IV}/removeAll`), UV = /* @__PURE__ */ PV(/* @__PURE__ */ uV(`${IV}/remove`), { withTypes: () => UV }), nde = (...e) => {
+}, HV = /* @__PURE__ */ PV(/* @__PURE__ */ uV(`${IV}/add`), { withTypes: () => HV }), nde = /* @__PURE__ */ uV(`${IV}/removeAll`), UV = /* @__PURE__ */ PV(/* @__PURE__ */ uV(`${IV}/remove`), { withTypes: () => UV }), rde = (...e) => {
console.error(`${IV}/error`, ...e);
}, WV = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -44979,7 +45001,7 @@ var Zue = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = nde } = e;
+ }, { extra: a, onError: o = rde } = e;
EV(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && BV(e);
@@ -44994,7 +45016,7 @@ var Zue = async (e, t) => {
};
PV(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = $ue(c, u.signal), f = [];
+ let u = new AbortController(), d = ede(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, PV({}, s, {
getOriginalState: l,
@@ -45004,7 +45026,7 @@ var Zue = async (e, t) => {
pause: MV(u.signal),
extra: a,
signal: u.signal,
- fork: Que(u.signal, f),
+ fork: $ue(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -45024,14 +45046,14 @@ var Zue = async (e, t) => {
} catch (e) {
e instanceof TV || VV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(Xue), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(Zue), i(e), e.pending.delete(u);
}
- }, d = ede(t, n);
+ }, d = tde(t, n);
return {
middleware: (e) => (n) => (r) => {
if (!eB(r)) return n(r);
if (HV.match(r)) return c(r.payload);
- if (tde.match(r)) {
+ if (nde.match(r)) {
d();
return;
}
@@ -45096,7 +45118,7 @@ var KV = yV({
e.scale = t.payload;
}
}
-}), { setMargin: rde, setLayout: ide, setChartSize: ade, setScale: ode } = KV.actions, sde = KV.reducer;
+}), { setMargin: ide, setLayout: ade, setChartSize: ode, setScale: sde } = KV.actions, cde = KV.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
function qV(e, t, n) {
@@ -45126,26 +45148,26 @@ function ZV(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? XV(Object(n), !0).forEach(function(t) {
- cde(e, t, n[t]);
+ lde(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XV(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cde(e, t, n) {
- return (t = lde(t)) in e ? Object.defineProperty(e, t, {
+function lde(e, t, n) {
+ return (t = ude(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lde(e) {
- var t = ude(e, "string");
+function ude(e) {
+ var t = dde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ude(e, t) {
+function dde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -45158,7 +45180,7 @@ function ude(e, t) {
function QV(e, t, n) {
return JR(e) || JR(t) ? n : HR(t) ? IR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var dde = (e, t, n) => {
+var fde = (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 ZV(ZV({}, e), {}, { [a]: e[a] + (r || 0) });
@@ -45211,7 +45233,7 @@ var dde = (e, t, n) => {
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;
-}, fde = {
+}, pde = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -45225,10 +45247,10 @@ var dde = (e, t, n) => {
}
}
},
- expand: Cce,
+ expand: wce,
none: OR,
- silhouette: wce,
- wiggle: Tce,
+ silhouette: Tce,
+ wiggle: Ece,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -45242,8 +45264,8 @@ var dde = (e, t, n) => {
}
}
}
-}, pde = (e, t, n) => {
- var r = fde[n] ?? OR, i = Sce().keys(t).value((e, t) => Number(QV(e, t, 0))).order(kR).offset(r)(e);
+}, mde = (e, t, n) => {
+ var r = pde[n] ?? OR, i = Cce().keys(t).value((e, t) => Number(QV(e, t, 0))).order(kR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = QV(e[i], t[r], 0);
@@ -45280,15 +45302,15 @@ var aH = (e) => {
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, mde = (e) => {
+}, hde = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, hde = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], gde = (e, t, n) => {
- if (e != null) return hde(Object.keys(e).reduce((r, i) => {
+}, gde = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], _de = (e, t, n) => {
+ if (e != null) return gde(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 = mde(qV(r, t, n));
+ var i = hde(qV(r, t, n));
return !JV(i[0]) || !JV(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])];
@@ -45320,10 +45342,10 @@ function dH(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var _de = (e, t) => {
+var vde = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, vde = (e, t) => t === "centric" ? e.angle : e.radius, fH = (e) => e.layout.width, pH = (e) => e.layout.height, yde = (e) => e.layout.scale, mH = (e) => e.layout.margin, hH = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), _H = "data-recharts-item-index";
+}, yde = (e, t) => t === "centric" ? e.angle : e.radius, fH = (e) => e.layout.width, pH = (e) => e.layout.height, bde = (e) => e.layout.scale, mH = (e) => e.layout.margin, hH = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), _H = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
function vH(e, t) {
@@ -45392,7 +45414,7 @@ var OH = $([
EH,
DH,
Uz,
- sue
+ cue
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -45401,7 +45423,7 @@ var OH = $([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = dde(d, c, l);
+ d.bottom += r, d = fde(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return yH(yH({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
@@ -45705,7 +45727,7 @@ var oU = () => {
}, gU = () => Q(hU), _U = () => pU() !== void 0, vU = (e) => {
var t = Pz(), n = MH(), { width: r, height: i } = e, a = nU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, D.useEffect)(() => {
- !n && YV(o) && YV(s) && t(ade({
+ !n && YV(o) && YV(s) && t(ode({
width: o,
height: s
}));
@@ -46352,7 +46374,7 @@ function XW(e) {
}
function ZW(e) {
var { contextPayload: t } = e, n = JW(e, VW), r = Mz(t, e.payloadUniqBy, XW), i = WW(WW({}, n), {}, { payload: r });
- return /*#__PURE__*/ D.isValidElement(e.content) ? /*#__PURE__*/ D.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ D.createElement(e.content, i) : /*#__PURE__*/ D.createElement($ce, i);
+ return /*#__PURE__*/ D.isValidElement(e.content) ? /*#__PURE__*/ D.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ D.createElement(e.content, i) : /*#__PURE__*/ D.createElement(ele, i);
}
function QW(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
@@ -46385,7 +46407,7 @@ var nG = {
verticalAlign: "bottom"
};
function rG(e) {
- var t = sz(e, nG), n = lue(), r = qse(), i = dU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Gz([n]), d = lU(), f = uU();
+ var t = sz(e, nG), n = uue(), r = Jse(), i = dU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Gz([n]), d = lU(), f = uU();
if (d == null || f == null) return null;
var p = d - (i?.left || 0) - (i?.right || 0), m = tG(t.layout, o, a, p), h = c ? s : WW(WW({
position: "absolute",
@@ -46769,19 +46791,19 @@ function LG(e, t) {
return (t === "string" ? String : Number)(e);
}
var RG = {
- curveBasisClosed: dce,
- curveBasisOpen: fce,
- curveBasis: uce,
- curveBumpX: Xse,
- curveBumpY: Zse,
- curveLinearClosed: pce,
+ curveBasisClosed: fce,
+ curveBasisOpen: pce,
+ curveBasis: dce,
+ curveBumpX: Zse,
+ curveBumpY: Qse,
+ curveLinearClosed: mce,
curveLinear: $L,
- curveMonotoneX: mce,
- curveMonotoneY: hce,
- curveNatural: gce,
- curveStep: _ce,
- curveStepAfter: yce,
- curveStepBefore: vce
+ curveMonotoneX: hce,
+ curveMonotoneY: gce,
+ curveNatural: _ce,
+ curveStep: vce,
+ curveStepAfter: bce,
+ curveStepBefore: yce
}, zG = (e) => JV(e.x) && JV(e.y), BG = (e) => e.base != null && zG(e.base) && zG(e), VG = (e) => e.x, HG = (e) => e.y, UG = (e, t) => {
if (typeof e == "function") return e;
var n = `curve${YR(e)}`;
@@ -50075,8 +50097,8 @@ function kQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / uQ);
}
-var AQ = kQ(0), jQ = kQ(1), MQ = kQ(2), NQ = kQ(3), PQ = kQ(4), bde = kQ(5), xde = kQ(6);
-AQ.range, jQ.range, MQ.range, NQ.range, PQ.range, bde.range, xde.range;
+var AQ = kQ(0), jQ = kQ(1), MQ = kQ(2), NQ = kQ(3), PQ = kQ(4), xde = kQ(5), Sde = kQ(6);
+AQ.range, jQ.range, MQ.range, NQ.range, PQ.range, xde.range, Sde.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = iQ((e) => {
@@ -50223,7 +50245,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Sde, Cde] = zQ(RQ, IQ, AQ, bQ, _Q, hQ), [wde, Tde] = zQ(LQ, FQ, SQ, vQ, gQ, mQ);
+var [Cde, wde] = zQ(RQ, IQ, AQ, bQ, _Q, hQ), [Tde, Ede] = zQ(LQ, FQ, SQ, vQ, gQ, mQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -50251,7 +50273,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function Ede(e) {
+function Dde(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: P,
@@ -50260,30 +50282,30 @@ function Ede(e) {
c: null,
d: QQ,
e: QQ,
- f: Yde,
- g: afe,
- G: sfe,
- H: Kde,
- I: qde,
- j: Jde,
+ f: Xde,
+ g: ofe,
+ G: cfe,
+ H: qde,
+ I: Jde,
+ j: Yde,
L: $Q,
- m: Xde,
- M: Zde,
+ m: Zde,
+ M: Qde,
p: ee,
q: te,
Q: a$,
s: o$,
- S: Qde,
- u: $de,
- U: efe,
- V: tfe,
- w: nfe,
- W: rfe,
+ S: $de,
+ u: efe,
+ U: tfe,
+ V: nfe,
+ w: rfe,
+ W: ife,
x: null,
X: null,
- y: ife,
- Y: ofe,
- Z: cfe,
+ y: afe,
+ Y: sfe,
+ Z: lfe,
"%": i$
}, b = {
a: ne,
@@ -50293,30 +50315,30 @@ function Ede(e) {
c: null,
d: t$,
e: t$,
- f: ffe,
- g: Sfe,
- G: wfe,
- H: lfe,
- I: ufe,
- j: dfe,
+ f: pfe,
+ g: Cfe,
+ G: Tfe,
+ H: ufe,
+ I: dfe,
+ j: ffe,
L: n$,
- m: pfe,
- M: mfe,
+ m: mfe,
+ M: hfe,
p: ae,
q: oe,
Q: a$,
s: o$,
- S: hfe,
- u: gfe,
- U: _fe,
- V: vfe,
- w: yfe,
- W: bfe,
+ S: gfe,
+ u: _fe,
+ U: vfe,
+ V: yfe,
+ w: bfe,
+ W: xfe,
x: null,
X: null,
- y: xfe,
- Y: Cfe,
- Z: Tfe,
+ y: Sfe,
+ Y: wfe,
+ Z: Efe,
"%": i$
}, x = {
a: E,
@@ -50326,31 +50348,31 @@ function Ede(e) {
c: A,
d: XQ,
e: XQ,
- f: Hde,
+ f: Ude,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: Rde,
- L: Vde,
- m: Lde,
- M: zde,
+ j: zde,
+ L: Hde,
+ m: Rde,
+ M: Bde,
p: T,
- q: Ide,
- Q: Wde,
- s: Gde,
- S: Bde,
- u: jde,
- U: Mde,
- V: Nde,
- w: Ade,
- W: Pde,
+ q: Lde,
+ Q: Gde,
+ s: Kde,
+ S: Vde,
+ u: Mde,
+ U: Nde,
+ V: Pde,
+ w: jde,
+ W: Fde,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: Fde,
- "%": Ude
+ Z: Ide,
+ "%": Wde
};
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) {
@@ -50478,37 +50500,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, Dde = /^%/, Ode = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, Ode = /^%/, kde = /[\\^$*+?|[\]().{}]/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 kde(e) {
- return e.replace(Ode, "\\$&");
+function Ade(e) {
+ return e.replace(kde, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(kde).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(Ade).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function Ade(e, t, n) {
+function jde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function jde(e, t, n) {
+function Mde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Mde(e, t, n) {
+function Nde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function Nde(e, t, n) {
+function Pde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Pde(e, t, n) {
+function Fde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -50520,15 +50542,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 Fde(e, t, n) {
+function Ide(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 Ide(e, t, n) {
+function Lde(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 Lde(e, t, n) {
+function Rde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -50536,7 +50558,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 Rde(e, t, n) {
+function zde(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;
}
@@ -50544,159 +50566,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 zde(e, t, n) {
+function Bde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function Bde(e, t, n) {
+function Vde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Vde(e, t, n) {
+function Hde(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function Hde(e, t, n) {
+function Ude(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 Ude(e, t, n) {
- var r = Dde.exec(t.slice(n, n + 1));
+function Wde(e, t, n) {
+ var r = Ode.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function Wde(e, t, n) {
+function Gde(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Gde(e, t, n) {
+function Kde(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 Kde(e, t) {
+function qde(e, t) {
return GQ(e.getHours(), t, 2);
}
-function qde(e, t) {
+function Jde(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Jde(e, t) {
+function Yde(e, t) {
return GQ(1 + vQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Yde(e, t) {
+function Xde(e, t) {
return $Q(e, t) + "000";
}
-function Xde(e, t) {
+function Zde(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Zde(e, t) {
+function Qde(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function Qde(e, t) {
+function $de(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function $de(e) {
+function efe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function efe(e, t) {
+function tfe(e, t) {
return GQ(SQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? EQ(e) : EQ.ceil(e);
}
-function tfe(e, t) {
+function nfe(e, t) {
return e = e$(e), GQ(EQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function nfe(e) {
+function rfe(e) {
return e.getDay();
}
-function rfe(e, t) {
+function ife(e, t) {
return GQ(CQ.count(LQ(e) - 1, e), t, 2);
}
-function ife(e, t) {
+function afe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function afe(e, t) {
+function ofe(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function ofe(e, t) {
+function sfe(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function sfe(e, t) {
+function cfe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? EQ(e) : EQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function cfe(e) {
+function lfe(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 lfe(e, t) {
+function ufe(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function ufe(e, t) {
+function dfe(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function dfe(e, t) {
+function ffe(e, t) {
return GQ(1 + yQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function ffe(e, t) {
+function pfe(e, t) {
return n$(e, t) + "000";
}
-function pfe(e, t) {
+function mfe(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function mfe(e, t) {
+function hfe(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function hfe(e, t) {
+function gfe(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function gfe(e) {
+function _fe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function _fe(e, t) {
+function vfe(e, t) {
return GQ(AQ.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 vfe(e, t) {
+function yfe(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function yfe(e) {
+function bfe(e) {
return e.getUTCDay();
}
-function bfe(e, t) {
+function xfe(e, t) {
return GQ(jQ.count(RQ(e) - 1, e), t, 2);
}
-function xfe(e, t) {
+function Sfe(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Sfe(e, t) {
+function Cfe(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Cfe(e, t) {
+function wfe(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function wfe(e, t) {
+function Tfe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Tfe() {
+function Efe() {
return "+0000";
}
function i$() {
@@ -50711,7 +50733,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Efe({
+Dfe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -50763,15 +50785,15 @@ Efe({
"Dec"
]
});
-function Efe(e) {
- return s$ = Ede(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Dfe(e) {
+ return s$ = Dde(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function Dfe(e) {
+function Ofe(e) {
return new Date(e);
}
-function Ofe(e) {
+function kfe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -50782,7 +50804,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, Ofe)) : f().map(Dfe);
+ return arguments.length ? f(Array.from(e, kfe)) : f().map(Ofe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -50795,13 +50817,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return QX(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function kfe() {
- return MY.apply(u$(wde, Tde, LQ, FQ, SQ, vQ, gQ, mQ, pQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Afe() {
+ return MY.apply(u$(Tde, Ede, LQ, FQ, SQ, vQ, gQ, mQ, pQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Afe() {
- return MY.apply(u$(Sde, Cde, RQ, IQ, AQ, yQ, _Q, hQ, pQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function jfe() {
+ return MY.apply(u$(Cde, wde, RQ, IQ, AQ, yQ, _Q, hQ, pQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -50856,7 +50878,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, NY.apply(e, arguments);
}
-function jfe() {
+function Mfe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -50947,7 +50969,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, NY.apply(e, arguments);
}
-function Mfe() {
+function Nfe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -50957,7 +50979,7 @@ var C$ = /* @__PURE__ */ y({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => Mfe,
+ scaleDivergingSqrt: () => Nfe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => OZ,
scaleImplicit: () => PY,
@@ -50973,18 +50995,18 @@ var C$ = /* @__PURE__ */ y({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => jfe,
+ scaleSequentialSqrt: () => Mfe,
scaleSequentialSymlog: () => h$,
scaleSqrt: () => YZ,
scaleSymlog: () => UZ,
scaleThreshold: () => tQ,
- scaleTime: () => kfe,
- scaleUtc: () => Afe,
+ scaleTime: () => Afe,
+ scaleUtc: () => jfe,
tickFormat: () => TZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Nfe(e) {
+function Pfe(e) {
if (e in C$) return C$[e]();
var t = `scale${YR(e)}`;
if (t in C$) return C$[t]();
@@ -50992,7 +51014,7 @@ function Nfe(e) {
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Nfe(e);
+ var r = Pfe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -51001,22 +51023,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Pfe(e) {
+function Ffe(e) {
return `scale${YR(e)}`;
}
-function Ffe(e) {
- return Pfe(e) in C$;
+function Ife(e) {
+ return Ffe(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 Ffe(r) ? r : "point";
+ if (typeof r == "string") return Ife(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Ife(e, t) {
+function Lfe(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;
@@ -51027,7 +51049,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 = Ife(r, e);
+ var t = Lfe(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;
@@ -51037,7 +51059,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Lfe(e) {
+function Rfe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -51056,26 +51078,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) {
- Rfe(e, t, n[t]);
+ zfe(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 Rfe(e, t, n) {
- return (t = zfe(t)) in e ? Object.defineProperty(e, t, {
+function zfe(e, t, n) {
+ return (t = Bfe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zfe(e) {
- var t = Bfe(e, "string");
+function Bfe(e) {
+ var t = Vfe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bfe(e, t) {
+function Vfe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51143,7 +51165,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$, Vfe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Hfe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -51156,7 +51178,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Vfe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Hfe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -51165,7 +51187,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return RJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Hfe = (e, t, n) => {
+}, Ufe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -51192,14 +51214,14 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Ufe = $([JJ, YJ], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, Wfe = $([JJ, YJ], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Ufe
-], U$, { memoizeOptions: { resultEqualityCheck: eY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(QJ)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Wfe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Gfe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: eY } }), J$ = (e, t) => {
+ Wfe
+], U$, { memoizeOptions: { resultEqualityCheck: eY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(QJ)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Gfe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Kfe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: eY } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Gfe, Qq], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: QV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: QV(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([Kfe, Qq], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: QV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: QV(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
@@ -51221,11 +51243,11 @@ function $$(e) {
function e1(e) {
return e.map(Q$).filter(XR);
}
-function Kfe(e, t) {
+function qfe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var qfe = $([Z$], (e) => e?.map((e) => e.value).sort(Kfe));
+var Jfe = $([Z$], (e) => e?.map((e) => e.value).sort(qfe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -51233,13 +51255,13 @@ function t1(e, t) {
default: return !1;
}
}
-function Jfe(e, t, n) {
+function Yfe(e, t, n) {
return !n || typeof t != "number" || BR(t) || !n.length ? [] : e1(n.flatMap((n) => {
var r = QV(e, n.dataKey), i, a;
if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!JV(i) || !JV(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Yfe = $([
+var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Xfe = $([
G$,
Qq,
n1
@@ -51252,22 +51274,22 @@ var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Yfe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: pde(e, o.map(XJ), n),
+ stackedData: mde(e, o.map(XJ), n),
graphicalItems: o
}];
}));
}, a1 = $([
- Yfe,
+ Xfe,
G$,
vJ,
yJ
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = gde(e, i, a);
+ var o = _de(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Xfe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Zfe = $([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) {
@@ -51278,12 +51300,12 @@ var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Yfe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Xfe], nJ), Zfe = $([
+}, c1 = $([R$], s1), l1 = $([c1, Zfe], nJ), Qfe = $([
a1,
Xq,
JJ,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: $J } }), u1 = (e) => e.errorBars, Qfe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: $J } }), u1 = (e) => e.errorBars, $fe = (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();
@@ -51293,7 +51315,7 @@ var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Yfe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = QV(e, t.dataKey ?? n.dataKey), l = Jfe(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = QV(e, t.dataKey ?? n.dataKey), l = Yfe(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);
@@ -51305,29 +51327,29 @@ var n1 = (e) => z$(e, nY(e), rY(e)), r1 = $([n1], (e) => e?.dataKey), Yfe = $([
var n = $$(QV(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]));
}), JV(a) && JV(o)) return [a, o];
-}, $fe = $([
+}, epe = $([
Y$,
R$,
- Wfe,
+ Gfe,
u1,
JJ
], f1, { memoizeOptions: { resultEqualityCheck: $J } });
-function epe(e) {
+function tpe(e) {
var { value: t } = e;
if (HR(t) || t instanceof Date) return t;
}
-var tpe = (e, t, n) => {
- var r = e.map(epe).filter((e) => e != null);
+var npe = (e, t, n) => {
+ var r = e.map(tpe).filter((e) => e != null);
return n && (t.dataKey == null || t.allowDuplicatedCategory && GR(r)) ? Yq(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), npe = $([
+}, 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), rpe = $([
p1,
JJ,
YJ
-], m1), h1 = (e) => e.referenceElements.areas, rpe = $([
+], m1), h1 = (e) => e.referenceElements.areas, ipe = $([
h1,
JJ,
YJ
-], m1), g1 = (e) => e.referenceElements.lines, ipe = $([
+], m1), g1 = (e) => e.referenceElements.lines, ape = $([
g1,
JJ,
YJ
@@ -51336,40 +51358,40 @@ var tpe = (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)];
}
-}, ape = $(npe, JJ, _1), v1 = (e, t) => {
+}, ope = $(rpe, JJ, _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)];
}
-}, ope = $([rpe, JJ], v1);
-function spe(e) {
+}, spe = $([ipe, JJ], v1);
+function cpe(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 cpe(e) {
+function lpe(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" ? spe(e) : cpe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? cpe(e) : lpe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, lpe = $(ape, $([ipe, JJ], y1), ope, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? rJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), upe = $([
+}, upe = $(ope, $([ape, JJ], y1), spe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? rJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), dpe = $([
R$,
c1,
l1,
- Zfe,
- $fe,
- lpe,
+ Qfe,
+ epe,
+ upe,
fU,
JJ
-], b1, { memoizeOptions: { resultEqualityCheck: $J } }), dpe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: $J } }), fpe = [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 = $V(t, a);
- return l && s == null ? Yq(0, n?.length ?? 0) : c === "category" ? tpe(r, e, l) : i === "expand" ? dpe : o;
+ return l && s == null ? Yq(0, n?.length ?? 0) : c === "category" ? npe(r, e, l) : i === "expand" ? fpe : o;
}
}, S1 = $([
R$,
@@ -51378,7 +51400,7 @@ var y1 = (e, t) => {
Z$,
vJ,
JJ,
- upe
+ dpe
], x1), C1 = $([
R$,
B$,
@@ -51406,7 +51428,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, fpe = $([
+}, ppe = $([
R$,
S1,
T1,
@@ -51435,13 +51457,13 @@ var y1 = (e, t) => {
return s - o - (s - o) / a * o;
}
return 0;
-}), ppe = (e, t, n) => {
+}), mpe = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, mpe = (e, t, n) => {
+}, hpe = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, hpe = $(N$, ppe, (e, t) => {
+}, gpe = $(N$, mpe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -51454,7 +51476,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), gpe = $(I$, mpe, (e, t) => {
+}), _pe = $(I$, hpe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -51467,19 +51489,19 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), _pe = $([
+}), vpe = $([
OH,
- hpe,
+ gpe,
PH,
NH,
(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];
-}), vpe = $([
+}), ype = $([
OH,
fU,
- gpe,
+ _pe,
PH,
NH,
(e, t, n) => n
@@ -51488,8 +51510,8 @@ var y1 = (e, t) => {
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return _pe(e, n, r);
- case "yAxis": return vpe(e, n, r);
+ case "xAxis": return vpe(e, n, r);
+ case "yAxis": return ype(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return UJ(e);
case "radiusAxis": return GJ(e, n);
@@ -51498,7 +51520,7 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], OJ), A1 = $([
R$,
C1,
- $([C1, fpe], aY),
+ $([C1, ppe], aY),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
@@ -51511,54 +51533,54 @@ var y1 = (e, t) => {
z$,
JJ
], j1), N1 = $([A1], iY);
-$([A1], Lfe), $([A1, qfe], D$), $([
+$([A1], Rfe), $([A1, Jfe], D$), $([
W$,
u1,
JJ
-], Qfe);
+], $fe);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, ype = $(hH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), bpe = $(gH, 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, bpe = $(hH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), xpe = $(gH, 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
-}), xpe = (e, t) => ({
+}), Spe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(OH, N$, L1), Spe = (e, t, n) => {
+}), R1 = $(OH, N$, L1), Cpe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Cpe = (e, t, n) => {
+}, wpe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, wpe = $(pH, OH, ype, F1, I1, (e, t, n, r, i) => {
+}, Tpe = $(pH, OH, bpe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Spe(t, r, e);
+ o ??= Cpe(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;
-}), Tpe = $(fH, OH, bpe, F1, I1, (e, t, n, r, i) => {
+}), Epe = $(fH, OH, xpe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = xpe(t, n);
- o ??= Cpe(t, r, e);
+ var s = Spe(t, n);
+ o ??= wpe(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;
-}), Epe = $([
+}), Dpe = $([
OH,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return wpe(e, n.orientation, n.mirror);
+ if (n != null) return Tpe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -51572,12 +51594,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ype = $(hH, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), Dpe = $([
+}), Ope = $([
OH,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return Tpe(e, n.orientation, n.mirror);
+ if (n != null) return Epe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -51612,7 +51634,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ype = $(hH, F1, I1, (e, t, n) => e.fi
JJ
], V1), U1 = $([
fU,
- Hfe,
+ Ufe,
C1,
N1,
H1,
@@ -51741,7 +51763,7 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], iY), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var Ope = $([
+var kpe = $([
fU,
hH,
gH
@@ -51775,7 +51797,7 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function kpe(e) {
+function Ape(e) {
return Q((t) => Q1(t, e));
}
//#endregion
@@ -51783,7 +51805,7 @@ function kpe(e) {
var $1 = (e, t) => {
var n, r = Number(t);
if (!(BR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Ape = (e) => e.tooltip.settings, e0 = {
+}, jpe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
@@ -51868,7 +51890,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: jpe, replaceTooltipEntrySettings: Mpe, removeTooltipEntrySettings: Npe, setTooltipSettingsState: Ppe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Fpe, mouseLeaveChart: r0, setActiveClickItemIndex: Ipe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Lpe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Rpe = t0.reducer;
+}), { addTooltipEntrySettings: Mpe, replaceTooltipEntrySettings: Npe, removeTooltipEntrySettings: Ppe, setTooltipSettingsState: Fpe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Ipe, mouseLeaveChart: r0, setActiveClickItemIndex: Lpe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Rpe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, zpe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -51885,26 +51907,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) {
- zpe(e, t, n[t]);
+ Bpe(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 zpe(e, t, n) {
- return (t = Bpe(t)) in e ? Object.defineProperty(e, t, {
+function Bpe(e, t, n) {
+ return (t = Vpe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bpe(e) {
- var t = Vpe(e, "string");
+function Vpe(e) {
+ var t = Hpe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vpe(e, t) {
+function Hpe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51914,21 +51936,21 @@ function Vpe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Hpe(e, t, n) {
+function Upe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Upe(e) {
+function Wpe(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = Hpe(e, t, n);
+ var i = Upe(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 (Upe(i)) {
+ if (Wpe(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -51941,7 +51963,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Wpe(e) {
+function Gpe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -51950,14 +51972,14 @@ function Wpe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Gpe(e, t) {
- var n = Wpe(e), r = t[0], i = t[1];
+function Kpe(e, t) {
+ var n = Gpe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function Kpe(e, t, n) {
+function qpe(e, t, n) {
if (n == null || t == null) return !0;
var r = QV(e, t);
- return r == null || !eJ(n) || Gpe(r, n);
+ return r == null || !eJ(n) || Kpe(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
@@ -51967,7 +51989,7 @@ var u0 = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || Kpe(l, n, r) ? String(c) : null;
+ return l == null || qpe(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -52011,26 +52033,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) {
- qpe(e, t, n[t]);
+ Jpe(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 qpe(e, t, n) {
- return (t = Jpe(t)) in e ? Object.defineProperty(e, t, {
+function Jpe(e, t, n) {
+ return (t = Ype(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jpe(e) {
- var t = Ype(e, "string");
+function Ype(e) {
+ var t = Xpe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ype(e, t) {
+function Xpe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52040,33 +52062,33 @@ function Ype(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Xpe(e) {
+function Zpe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Zpe(e) {
+function _0(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
function Qpe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function _0(e) {
+function v0(e) {
if (typeof e == "string") return e;
}
function $pe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Xpe(e.name) : void 0,
- unit: "unit" in e ? Zpe(e.unit) : void 0,
+ name: "name" in e ? Zpe(e.name) : void 0,
+ unit: "unit" in e ? _0(e.unit) : void 0,
dataKey: "dataKey" in e ? Qpe(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
+ color: "color" in e ? v0(e.color) : void 0,
+ fill: "fill" in e ? v0(e.fill) : void 0
};
}
function eme(e, t) {
return e ?? t;
}
-var v0 = (e, t, n, r, i, a, o) => {
+var y0 = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
@@ -52094,36 +52116,36 @@ var v0 = (e, t, n, r, i, a, o) => {
})), e;
}, []);
}
-}, y0 = $([
+}, b0 = $([
n1,
B$,
bJ
-], E$), b0 = $([
+], E$), x0 = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([nY, rY], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: eY } }), tme = $([b0], (e) => e.filter(QJ)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: eY } }), Xq], J$), nme = $([
+], U$, { memoizeOptions: { resultEqualityCheck: eY } }), tme = $([x0], (e) => e.filter(QJ)), S0 = $([$([x0], q$, { memoizeOptions: { resultEqualityCheck: eY } }), Xq], J$), nme = $([
tme,
Xq,
n1
-], ZJ), S0 = $([
- x0,
+], ZJ), C0 = $([
+ S0,
n1,
- b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], nJ), rme = $([
+ x0
+], X$), w0 = $([n1], s1), T0 = $([w0, $([n1], (e) => e.allowDataOverflow)], nJ), rme = $([
$([
nme,
- $([b0], (e) => e.filter(QJ)),
+ $([x0], (e) => e.filter(QJ)),
vJ,
yJ
], i1),
Xq,
nY,
- w0
+ T0
], o1), ime = $([
- x0,
+ S0,
n1,
- $([b0], K$),
+ $([x0], K$),
u1,
nY
], f1, { memoizeOptions: { resultEqualityCheck: $J } }), ame = $([$([
@@ -52134,17 +52156,17 @@ var v0 = (e, t, n, r, i, a, o) => {
h1,
nY,
rY
-], m1), nY], v1), T0 = $([
+], m1), nY], v1), E0 = $([
n1,
fU,
- x0,
S0,
+ C0,
vJ,
nY,
$([
n1,
- C0,
w0,
+ T0,
rme,
ime,
$([
@@ -52161,33 +52183,33 @@ var v0 = (e, t, n, r, i, a, o) => {
], b1)
], x1), sme = $([
n1,
- T0,
+ E0,
$([
- T0,
+ E0,
n1,
- y0
+ b0
], w1),
nY
-], E1), E0 = (e) => O1(e, nY(e), rY(e), !1), D0 = $([n1, E0], OJ), O0 = $([$([
+], E1), D0 = (e) => O1(e, nY(e), rY(e), !1), O0 = $([n1, D0], OJ), k0 = $([$([
n1,
- y0,
+ b0,
sme,
- D0
-], T$)], iY), k0 = $([
+ O0
+], T$)], iY), A0 = $([
fU,
n1,
- y0,
- O0,
- E0,
+ b0,
+ k0,
+ D0,
$([
fU,
- S0,
+ C0,
n1,
nY
], V1),
$([
fU,
- S0,
+ C0,
n1,
nY
], j1),
@@ -52216,46 +52238,46 @@ var v0 = (e, t, n, r, i, a, o) => {
}).filter(XR);
}
}
-}), A0 = $([
+}), j0 = $([
Y1,
X1,
- Ape
-], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
+ jpe
+], (e, t, n) => Z1(n.shared, e, t)), M0 = (e) => e.tooltip.settings.trigger, N0 = (e) => e.tooltip.settings.defaultIndex, P0 = $([
m0,
- A0,
j0,
- M0
-], l0), P0 = $([
- N0,
- x0,
+ M0,
+ N0
+], l0), F0 = $([
+ P0,
+ S0,
r1,
- T0
-], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
+ E0
+], u0), I0 = $([A0, F0], $1), L0 = $([P0], (e) => {
if (e) return e.dataKey;
-}), cme = $([N0], (e) => {
+}), cme = $([P0], (e) => {
if (e) return e.graphicalItemId;
-}), L0 = $([
+}), R0 = $([
m0,
- A0,
j0,
- M0
-], f0), lme = $([N0, $([
+ M0,
+ N0
+], f0), lme = $([P0, $([
fH,
pH,
fU,
OH,
- k0,
- M0,
- L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), ume = $([N0], (e) => e?.active ?? !1), dme = $([$([
- L0,
- P0,
+ A0,
+ N0,
+ R0
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), ume = $([P0], (e) => e?.active ?? !1), dme = $([$([
+ R0,
+ F0,
Xq,
r1,
- F0,
+ I0,
p0,
- A0
-], v0)], (e) => {
+ j0
+], y0)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -52263,7 +52285,7 @@ var v0 = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function R0(e, t) {
+function z0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52273,12 +52295,12 @@ function R0(e, t) {
}
return n;
}
-function z0(e) {
+function B0(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) {
+ t % 2 ? z0(Object(n), !0).forEach(function(t) {
fme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52307,12 +52329,12 @@ function mme(e, t) {
return (t === "string" ? String : Number)(e);
}
var hme = () => Q(n1), gme = () => {
- var e = hme(), t = Q(k0), n = Q(O0);
- return lH(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+ var e = hme(), t = Q(A0), n = Q(k0);
+ return lH(!e || !n ? void 0 : B0(B0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function B0(e, t) {
+function V0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52322,12 +52344,12 @@ function B0(e, t) {
}
return n;
}
-function V0(e) {
+function H0(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) {
+ t % 2 ? V0(Object(n), !0).forEach(function(t) {
_me(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52376,13 +52398,13 @@ var bme = (e, t, n, r) => {
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return V0(V0(V0({}, r), Cq(r.cx, r.cy, o, a)), {}, {
+ return H0(H0(H0({}, r), Cq(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return V0(V0(V0({}, r), Cq(r.cx, r.cy, s, c)), {}, {
+ return H0(H0(H0({}, r), Cq(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -52405,7 +52427,7 @@ function Sme(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;
}
-var H0 = (e, t, n, r, i) => {
+var U0 = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
@@ -52438,48 +52460,48 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(bJ), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Cme = $(k0, (e) => Hz(e, (e) => e.coordinate)), q0 = $([
+}, W0 = () => Q(bJ), G0 = (e, t) => t, K0 = (e, t, n) => n, q0 = (e, t, n, r) => r, Cme = $(A0, (e) => Hz(e, (e) => e.coordinate)), J0 = $([
m0,
- W0,
G0,
- K0
-], l0), J0 = $([
- q0,
- x0,
+ K0,
+ q0
+], l0), Y0 = $([
+ J0,
+ S0,
r1,
- T0
+ E0
], u0), wme = (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;
}
-}, Y0 = $([
+}, X0 = $([
m0,
- W0,
G0,
- K0
-], f0), X0 = $([
+ K0,
+ q0
+], f0), Z0 = $([
fH,
pH,
fU,
OH,
- k0,
- K0,
- Y0
-], d0), Tme = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Eme = $([
+ A0,
+ q0,
+ X0
+], d0), Tme = $([J0, Z0], (e, t) => e.coordinate ?? t), Q0 = $([A0, Y0], $1), Eme = $([
+ X0,
Y0,
- J0,
Xq,
r1,
- Z0,
+ Q0,
p0,
- W0
-], v0), Dme = $([q0, J0], (e, t) => ({
+ G0
+], y0), Dme = $([J0, Y0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
})), Ome = (e, t, n, r, i, a, o) => {
if (!(!e || !n || !r || !i) && Sme(e, o)) {
- var s = H0(_de(e, t), a, i, n, r), c = bme(t, i, s, e);
+ var s = U0(vde(e, t), a, i, n, r), c = bme(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
@@ -52489,7 +52511,7 @@ var H0 = (e, t, n, r, i) => {
if (!(!e || !r || !i || !a || !n)) {
var s = kq(e, n);
if (s) {
- var c = H0(vde(s, t), o, a, r, i), l = xme(t, a, c, s);
+ var c = U0(yde(s, t), o, a, r, i), l = xme(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
@@ -52509,7 +52531,7 @@ var H0 = (e, t, n, r, i) => {
}, { memoizeOptions: { resultEqualityCheck: tY } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function Q0(e, t) {
+function $0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52519,12 +52541,12 @@ function Q0(e, t) {
}
return n;
}
-function $0(e) {
+function e2(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) {
+ t % 2 ? $0(Object(n), !0).forEach(function(t) {
Nme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52552,7 +52574,7 @@ function Fme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Ime = { zIndexMap: Object.values(TJ).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var Ime = { zIndexMap: Object.values(TJ).reduce((e, t) => e2(e2({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
@@ -52560,7 +52582,7 @@ var Ime = { zIndexMap: Object.values(TJ).reduce((e, t) => $0($0({}, e), {}, { [t
function Rme(e) {
return Lme.has(e);
}
-var e2 = yV({
+var t2 = yV({
name: "zIndex",
initialState: Ime,
reducers: {
@@ -52601,10 +52623,10 @@ var e2 = yV({
prepare: hV()
}
}
-}), { registerZIndexPortal: zme, unregisterZIndexPortal: Bme, registerZIndexPortalElement: Vme, unregisterZIndexPortalElement: Hme } = e2.actions, Ume = e2.reducer;
+}), { registerZIndexPortal: zme, unregisterZIndexPortal: Bme, registerZIndexPortalElement: Vme, unregisterZIndexPortalElement: Hme } = t2.actions, Ume = t2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function t2(e) {
+function n2(e) {
var { zIndex: t, children: n } = e, r = _U() && t !== void 0 && t !== 0, i = MH(), a = Pz();
(0, D.useLayoutEffect)(() => r ? (a(zme({ zIndex: t })), () => {
a(Bme({ zIndex: t }));
@@ -52618,16 +52640,16 @@ function t2(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function n2() {
- return n2 = Object.assign ? Object.assign.bind() : function(e) {
+function r2() {
+ return r2 = 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;
- }, n2.apply(null, arguments);
+ }, r2.apply(null, arguments);
}
-function r2(e, t) {
+function i2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52637,12 +52659,12 @@ function r2(e, t) {
}
return n;
}
-function i2(e) {
+function a2(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) {
+ t % 2 ? i2(Object(n), !0).forEach(function(t) {
Wme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52691,7 +52713,7 @@ function Jme(e) {
outerRadius: v
}, m = Gq, h = TJ.cursorLine;
} else p = { points: Kq(o, u, i) }, m = KG, h = TJ.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = a2(a2(a2(a2({
stroke: "#ccc",
pointerEvents: "none"
}, i), p), ML(s)), {}, {
@@ -52699,15 +52721,15 @@ function Jme(e) {
payloadIndex: f,
className: Dm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ D.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ D.createElement(qme, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ D.createElement(qme, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
function Yme(e) {
- var t = gme(), n = cU(), r = pU(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ D.createElement(Jme, n2({}, e, {
+ var t = gme(), n = cU(), r = pU(), i = W0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ D.createElement(Jme, r2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -52716,7 +52738,7 @@ function Yme(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, D.createContext)(null), Xme = () => (0, D.useContext)(a2), Zme = (/* @__PURE__ */ x((/* @__PURE__ */ v(((e, t) => {
+var o2 = /*#__PURE__*/ (0, D.createContext)(null), Xme = () => (0, D.useContext)(o2), Zme = (/* @__PURE__ */ x((/* @__PURE__ */ v(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -52803,12 +52825,12 @@ var a2 = /*#__PURE__*/ (0, D.createContext)(null), Xme = () => (0, D.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 Zme(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, s2 = new Zme(), c2 = "recharts.syncEvent.tooltip", l2 = "recharts.syncEvent.brush", u2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
if (!BR(n)) return e[n];
}
-}, u2 = yV({
+}, d2 = yV({
name: "options",
initialState: {
chartName: "",
@@ -52819,13 +52841,13 @@ var a2 = /*#__PURE__*/ (0, D.createContext)(null), Xme = () => (0, D.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Qme = u2.reducer, { createEventEmitter: $me } = u2.actions;
+}), Qme = d2.reducer, { createEventEmitter: $me } = d2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
function ehe(e) {
return e.tooltip.syncInteraction;
}
-var d2 = yV({
+var f2 = yV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -52849,8 +52871,8 @@ var d2 = yV({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: the, setComputedData: nhe } = d2.actions, rhe = d2.reducer, ihe = ["x", "y"];
-function p2(e, t) {
+}), { setChartData: p2, setDataStartEndIndexes: the, setComputedData: nhe } = f2.actions, rhe = f2.reducer, ihe = ["x", "y"];
+function m2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52860,12 +52882,12 @@ function p2(e, t) {
}
return n;
}
-function m2(e) {
+function h2(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) {
+ t % 2 ? m2(Object(n), !0).forEach(function(t) {
ahe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52912,7 +52934,7 @@ function lhe(e, t) {
return n;
}
function uhe() {
- var e = Q(xJ), t = Q(CJ), n = Pz(), r = Q(SJ), i = Q(k0), a = pU(), o = oU(), s = Q((e) => e.rootProps.className);
+ var e = Q(xJ), t = Q(CJ), n = Pz(), r = Q(SJ), i = Q(A0), a = pU(), o = oU(), s = Q((e) => e.rootProps.className);
(0, D.useEffect)(() => {
if (e == null) return ZR;
var s = (s, c, l) => {
@@ -52920,11 +52942,11 @@ function uhe() {
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 = che(d, ihe), { 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 = che(d, ihe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = h2(h2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(m2(m2({}, c), {}, { payload: m2(m2({}, c.payload), {}, { coordinate: y }) }));
+ n(h2(h2({}, c), {}, { payload: h2(h2({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -52967,8 +52989,8 @@ function uhe() {
}
}
};
- return o2.on(s2, s), () => {
- o2.off(s2, s);
+ return s2.on(c2, s), () => {
+ s2.off(c2, s);
};
}, [
s,
@@ -52988,8 +53010,8 @@ function dhe() {
var r = (r, i, a) => {
t !== a && e === r && n(the(i));
};
- return o2.on(c2, r), () => {
- o2.off(c2, r);
+ return s2.on(l2, r), () => {
+ s2.off(l2, r);
};
}, [
n,
@@ -53016,7 +53038,7 @@ function phe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- o2.emit(s2, l, e, c);
+ s2.emit(c2, l, e, c);
}
}, [
d,
@@ -53034,7 +53056,7 @@ function phe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function h2(e, t) {
+function g2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53044,12 +53066,12 @@ function h2(e, t) {
}
return n;
}
-function g2(e) {
+function _2(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) {
+ t % 2 ? g2(Object(n), !0).forEach(function(t) {
mhe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -53083,7 +53105,7 @@ function _he(e) {
function vhe(e, t) {
return /*#__PURE__*/ D.isValidElement(e) ? /*#__PURE__*/ D.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ D.createElement(e, t) : /*#__PURE__*/ D.createElement(mG, t);
}
-var _2 = [], yhe = {
+var v2 = [], yhe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -53112,7 +53134,7 @@ var _2 = [], yhe = {
function bhe(e) {
var t = sz(e, yhe), { 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 = Pz(), S = typeof v == "number" ? String(v) : v;
(0, D.useEffect)(() => {
- x(Ppe({
+ x(Fpe({
shared: g,
trigger: _,
axisId: b,
@@ -53127,13 +53149,13 @@ function bhe(e) {
n,
S
]);
- var C = oU(), w = jG(), T = kpe(g), { activeIndex: E, isActive: O } = Q((e) => Dme(e, T, _, S)) ?? {}, k = Q((e) => Eme(e, T, _, S)), A = Q((e) => Z0(e, T, _, S)), j = Q((e) => Tme(e, T, _, S)), M = k, N = Xme(), P = n ?? O ?? !1, [F, I] = Gz([M, P]), ee = T === "axis" ? A : void 0;
+ var C = oU(), w = jG(), T = Ape(g), { activeIndex: E, isActive: O } = Q((e) => Dme(e, T, _, S)) ?? {}, k = Q((e) => Eme(e, T, _, S)), A = Q((e) => Q0(e, T, _, S)), j = Q((e) => Tme(e, T, _, S)), M = k, N = Xme(), P = n ?? O ?? !1, [F, I] = Gz([M, P]), ee = T === "axis" ? A : void 0;
phe(T, _, j, ee, E, P);
var te = y ?? N;
if (te == null || C == null || T == null) return null;
- var ne = M ?? _2;
- P || (ne = _2), s && ne.length && (ne = Mz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, _he));
- var L = ne.length > 0, re = g2(g2({}, t), {}, {
+ var ne = M ?? v2;
+ P || (ne = v2), s && ne.length && (ne = Mz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, _he));
+ var L = ne.length > 0, re = _2(_2({}, t), {}, {
payload: ne,
label: ee,
active: P,
@@ -53168,8 +53190,8 @@ function bhe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var v2 = (e) => null;
-v2.displayName = "Cell";
+var y2 = (e) => null;
+y2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
function xhe(e, t, n) {
@@ -53219,7 +53241,7 @@ var whe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function y2(e, t) {
+function b2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53232,9 +53254,9 @@ function y2(e, t) {
function The(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) {
+ t % 2 ? b2(Object(n), !0).forEach(function(t) {
Ehe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -53262,10 +53284,10 @@ function Ohe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = The({}, {
+var x2 = The({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new whe(b2.cacheSize), khe = {
+}), S2 = new whe(x2.cacheSize), khe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -53273,14 +53295,14 @@ var b2 = The({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, S2 = "recharts_measurement_span";
+}, C2 = "recharts_measurement_span";
function Ahe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var C2 = (e, t) => {
+var w2 = (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, khe, t), n.textContent = `${e}`;
+ var n = document.getElementById(C2);
+ n || (n = document.createElement("span"), n.setAttribute("id", C2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, khe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -53292,18 +53314,18 @@ var C2 = (e, t) => {
height: 0
};
}
-}, w2 = function(e) {
+}, T2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
if (e == null || xG.isSsr) return {
width: 0,
height: 0
};
- if (!b2.enableCache) return C2(e, t);
- var n = Ahe(e, t), r = x2.get(n);
+ if (!x2.enableCache) return w2(e, t);
+ var n = Ahe(e, t), r = S2.get(n);
if (r) return r;
- var i = C2(e, t);
- return x2.set(n, i), i;
-}, T2;
+ var i = w2(e, t);
+ return S2.set(n, i), i;
+}, E2;
function jhe(e, t, n) {
return (t = Mhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
@@ -53326,7 +53348,7 @@ function Nhe(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%]*)/, Phe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Fhe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Ihe = {
+var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Phe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Fhe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Ihe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -53346,11 +53368,11 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
function Rhe(e) {
return Lhe.includes(e);
}
-var O2 = "NaN";
+var k2 = "NaN";
function zhe(e, t) {
return e * Ihe[t];
}
-var k2 = class e {
+var A2 = class e {
static parse(t) {
var [, n, r] = Fhe.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
@@ -53377,43 +53399,43 @@ var k2 = class e {
return BR(this.num);
}
};
-T2 = k2, jhe(k2, "NaN", new T2(NaN, ""));
-function A2(e) {
- if (e == null || e.includes(O2)) return O2;
+E2 = A2, jhe(A2, "NaN", new E2(NaN, ""));
+function j2(e) {
+ if (e == null || e.includes(k2)) return k2;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = E2.exec(t) ?? [], a = k2.parse(n ?? ""), o = k2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return O2;
- t = t.replace(E2, s.toString());
+ var [, n, r, i] = D2.exec(t) ?? [], a = A2.parse(n ?? ""), o = A2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return k2;
+ t = t.replace(D2, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = D2.exec(t) ?? [], d = k2.parse(c ?? ""), f = k2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return O2;
- t = t.replace(D2, p.toString());
+ var [, c, l, u] = O2.exec(t) ?? [], d = A2.parse(c ?? ""), f = A2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return k2;
+ t = t.replace(O2, p.toString());
}
return t;
}
-var j2 = /\(([^()]*)\)/;
+var M2 = /\(([^()]*)\)/;
function Bhe(e) {
- for (var t = e, n; (n = j2.exec(t)) != null;) {
+ for (var t = e, n; (n = M2.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(j2, A2(r));
+ t = t.replace(M2, j2(r));
}
return t;
}
function Vhe(e) {
var t = e.replace(/\s+/g, "");
- return t = Bhe(t), t = A2(t), t;
+ return t = Bhe(t), t = j2(t), t;
}
function Hhe(e) {
try {
return Vhe(e);
} catch {
- return O2;
+ return k2;
}
}
-function M2(e) {
+function N2(e) {
var t = Hhe(e.slice(5, -1));
- return t === O2 ? "" : t;
+ return t === k2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
@@ -53433,16 +53455,16 @@ var Uhe = [
"className",
"breakAll"
];
-function N2() {
- return N2 = Object.assign ? Object.assign.bind() : function(e) {
+function P2() {
+ return P2 = 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;
- }, N2.apply(null, arguments);
+ }, P2.apply(null, arguments);
}
-function P2(e, t) {
+function F2(e, t) {
if (e == null) return {};
var n, r, i = Ghe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -53460,28 +53482,28 @@ function Ghe(e, t) {
}
return n;
}
-var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
+var I2 = /[ \f\n\r\t\v\u2028\u2029]+/, L2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return JR(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return JR(t) || (i = n ? t.toString().split("") : t.toString().split(I2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: w2(e, r).width
+ width: T2(e, r).width
})),
- spaceWidth: n ? 0 : w2("\xA0", r).width
+ spaceWidth: n ? 0 : T2("\xA0", r).width
};
} catch {
return null;
}
};
-function L2(e) {
+function R2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
function Khe(e) {
return JR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var R2 = (e, t, n, r) => e.reduce((e, i) => {
+var z2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -53492,20 +53514,20 @@ 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), qhe = "…", B2 = (e, t, n, r, i, a, o, s) => {
- var c = I2({
+}, []), B2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), qhe = "…", V2 = (e, t, n, r, i, a, o, s) => {
+ var c = L2({
breakAll: n,
style: r,
children: e.slice(0, t) + qhe
});
if (!c) return [!1, []];
- var l = R2(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || z2(l).width > Number(a), l];
+ var l = z2(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || B2(l).width > Number(a), l];
}, Jhe = (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;
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = z2(t, r, n, i);
+ if (!l || i || !(d.length > a || B2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = B2(u, g - 1, c, s, a, r, n, i), [y] = B2(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = V2(u, g - 1, c, s, a, r, n, i), [y] = V2(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -53513,13 +53535,13 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, V2 = (e) => [{
- words: JR(e) ? [] : e.toString().split(F2),
+}, H2 = (e) => [{
+ words: JR(e) ? [] : e.toString().split(I2),
width: void 0
}], Yhe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !xG.isSsr) {
- var s, c, l = I2({
+ var s, c, l = L2({
breakAll: a,
children: r,
style: i
@@ -53527,7 +53549,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return V2(r);
+ } else return H2(r);
return Jhe({
breakAll: a,
children: r,
@@ -53535,20 +53557,20 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
style: i
}, s, c, t, !!n);
}
- return V2(r);
-}, H2 = "#808080", Xhe = {
+ return H2(r);
+}, U2 = "#808080", Xhe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: H2,
+ fill: U2,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, U2 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
- var n = sz(e, Xhe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, Uhe), f = (0, D.useMemo)(() => Yhe({
+}, W2 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = sz(e, Xhe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = F2(n, Uhe), f = (0, D.useMemo)(() => Yhe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -53562,32 +53584,32 @@ 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, Whe);
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = F2(d, Whe);
if (!HR(r) || !HR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
if (!JV(y) || !JV(b)) return null;
var x;
switch (u) {
case "start":
- x = M2(`calc(${o})`);
+ x = N2(`calc(${o})`);
break;
case "middle":
- x = M2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = N2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = M2(`calc(${f.length - 1} * -${a})`);
+ default: x = N2(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
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__*/ D.createElement("text", N2({}, NL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ D.createElement("text", P2({}, NL(v), {
ref: t,
x: y,
y: b,
className: Dm("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? H2 : s
+ fill: s.includes("url") ? U2 : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ D.createElement("tspan", {
@@ -53597,10 +53619,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-U2.displayName = "Text";
+W2.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function W2(e, t) {
+function G2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53610,12 +53632,12 @@ function W2(e, t) {
}
return n;
}
-function G2(e) {
+function K2(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) {
+ t % 2 ? G2(Object(n), !0).forEach(function(t) {
Zhe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -53685,59 +53707,59 @@ var ege = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? G2({
+ return n === "insideLeft" ? K2({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? G2({
+ }, k) : n === "insideRight" ? K2({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? G2({
+ }, k) : n === "insideTop" ? K2({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? G2({
+ }, k) : n === "insideBottom" ? K2({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? G2({
+ }, k) : n === "insideTopLeft" ? K2({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? G2({
+ }, k) : n === "insideTopRight" ? K2({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? G2({
+ }, k) : n === "insideBottomLeft" ? K2({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? G2({
+ }, k) : n === "insideBottomRight" ? K2({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || VR(n.x)) && (Z(n.y) || VR(n.y)) ? G2({
+ }, k) : n && typeof n == "object" && (Z(n.x) || VR(n.x)) && (Z(n.y) || VR(n.y)) ? K2({
x: o + WR(n.x, m),
y: s + WR(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : G2({
+ }, k) : K2({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
}, tge = ["labelRef"], nge = ["content"];
-function K2(e, t) {
+function q2(e, t) {
if (e == null) return {};
var n, r, i = rge(e, t);
if (Object.getOwnPropertySymbols) {
@@ -53755,7 +53777,7 @@ function rge(e, t) {
}
return n;
}
-function q2(e, t) {
+function J2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53765,12 +53787,12 @@ function q2(e, t) {
}
return n;
}
-function J2(e) {
+function Y2(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) {
+ t % 2 ? J2(Object(n), !0).forEach(function(t) {
ige(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -53798,16 +53820,16 @@ function oge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Y2() {
- return Y2 = Object.assign ? Object.assign.bind() : function(e) {
+function X2() {
+ return X2 = 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;
- }, Y2.apply(null, arguments);
+ }, X2.apply(null, arguments);
}
-var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
+var Z2 = /*#__PURE__*/ (0, D.createContext)(null), Q2 = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, D.useMemo)(() => ({
x: t,
y: n,
@@ -53823,11 +53845,11 @@ var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
a,
o
]);
- return /*#__PURE__*/ D.createElement(X2.Provider, { value: c }, s);
-}, Q2 = () => {
- var e = (0, D.useContext)(X2), t = oU();
+ return /*#__PURE__*/ D.createElement(Z2.Provider, { value: c }, s);
+}, $2 = () => {
+ var e = (0, D.useContext)(Z2), t = oU();
return e || (t ? aU(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, D.createContext)(null), sge = (e) => {
+}, e4 = /*#__PURE__*/ (0, D.createContext)(null), sge = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, D.useMemo)(() => ({
cx: t,
cy: n,
@@ -53845,14 +53867,14 @@ var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
o,
s
]);
- return /*#__PURE__*/ D.createElement($2.Provider, { value: l }, c);
-}, e4 = () => {
- var e = (0, D.useContext)($2), t = Q(qJ);
+ return /*#__PURE__*/ D.createElement(e4.Provider, { value: l }, c);
+}, t4 = () => {
+ var e = (0, D.useContext)(e4), t = Q(qJ);
return e || t;
}, cge = (e) => {
var { value: t, formatter: n } = e, r = JR(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", lge = (e, t) => zR(t - e) * Math.min(Math.abs(t - e), 360), uge = (e, t, n, r, i) => {
+}, n4 = (e) => e != null && typeof e == "function", lge = (e, t) => zR(t - e) * Math.min(Math.abs(t - e), 360), uge = (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 = lge(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
@@ -53870,7 +53892,7 @@ var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
var y = Cq(s, c, m, _), b = Cq(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
${b.x},${b.y}`, S = JR(e.id) ? UR("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ D.createElement("text", Y2({}, r, {
+ return /*#__PURE__*/ D.createElement("text", X2({}, r, {
dominantBaseline: "central",
className: Dm("recharts-radial-bar-label", o)
}), /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("path", {
@@ -53913,7 +53935,7 @@ var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), fge = {
+}, r4 = (e) => e != null && "cx" in e && Z(e.cx), fge = {
angle: 0,
offset: 5,
zIndex: TJ.label,
@@ -53921,7 +53943,7 @@ var X2 = /*#__PURE__*/ (0, D.createContext)(null), Z2 = (e) => {
textBreakAll: !1
};
function pge(e) {
- if (!n4(e)) return e;
+ if (!r4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -53932,20 +53954,20 @@ function pge(e) {
height: i
};
}
-function r4(e) {
- var t = sz(e, fge), { 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 : aU(n), m, h, g = pge(p);
+function i4(e) {
+ var t = sz(e, fge), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = t4(), f = $2(), p = n == null ? i === "center" ? f : d ?? f : r4(n) ? n : aU(n), m, h, g = pge(p);
if (!p || JR(a) && JR(o) && !/*#__PURE__*/ (0, D.isValidElement)(s) && typeof s != "function") return null;
- var _ = J2(J2({}, t), {}, { viewBox: p });
+ var _ = Y2(Y2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, D.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, tge);
+ var { labelRef: v } = _, y = q2(_, tge);
return /*#__PURE__*/ (0, D.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, nge);
+ var { content: b } = _, x = q2(_, nge);
if (m = /*#__PURE__*/ (0, D.createElement)(s, x), /*#__PURE__*/ (0, D.isValidElement)(m)) return m;
} else m = cge(t);
var S = NL(t);
- if (n4(p)) {
+ if (r4(p)) {
if (i === "insideStart" || i === "insideEnd" || i === "end") return uge(t, i, m, S, p);
h = dge(p, t.offset, t.position);
} else {
@@ -53954,49 +53976,49 @@ function r4(e) {
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: n4(r) ? void 0 : r,
+ parentViewBox: r4(r) ? void 0 : r,
clamp: !0
});
- h = J2(J2({
+ h = Y2(Y2({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ D.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(U2, Y2({
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(W2, X2({
ref: u,
className: Dm("recharts-label", c)
}, S, h, {
- textAnchor: L2(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: R2(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-r4.displayName = "Label";
-var i4 = (e, t, n) => {
+i4.displayName = "Label";
+var a4 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ D.createElement(r4, Y2({ key: "label-implicit" }, r)) : HR(e) ? /*#__PURE__*/ D.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ D.createElement(i4, X2({ key: "label-implicit" }, r)) : HR(e) ? /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, D.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, D.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ D.createElement(r4, Y2({
+ }, r)) : /*#__PURE__*/ (0, D.isValidElement)(e) ? e.type === i4 ? /*#__PURE__*/ (0, D.cloneElement)(e, Y2({ key: "label-implicit" }, r)) : /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : t4(e) ? /*#__PURE__*/ D.createElement(r4, Y2({
+ }, r)) : n4(e) ? /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ D.createElement(r4, Y2({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ D.createElement(i4, X2({}, e, { key: "label-implicit" }, r)) : null;
};
-function a4(e) {
+function o4(e) {
var { label: t, labelRef: n } = e;
- return i4(t, Q2(), n) || null;
+ return a4(t, $2(), n) || null;
}
function mge(e) {
var { label: t } = e;
- return i4(t, e4()) || null;
+ return a4(t, t4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
@@ -54007,16 +54029,16 @@ var hge = ["valueAccessor"], gge = [
"textBreakAll",
"zIndex"
];
-function o4() {
- return o4 = Object.assign ? Object.assign.bind() : function(e) {
+function s4() {
+ return s4 = 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;
- }, o4.apply(null, arguments);
+ }, s4.apply(null, arguments);
}
-function s4(e, t) {
+function c4(e, t) {
if (e == null) return {};
var n, r, i = _ge(e, t);
if (Object.getOwnPropertySymbols) {
@@ -54037,18 +54059,18 @@ function _ge(e, t) {
var vge = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
if (Khe(t)) return t;
-}, c4 = /*#__PURE__*/ (0, D.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, D.createContext)(void 0), yge = u4.Provider;
+}, l4 = /*#__PURE__*/ (0, D.createContext)(void 0), u4 = l4.Provider, d4 = /*#__PURE__*/ (0, D.createContext)(void 0), yge = d4.Provider;
function bge() {
- return (0, D.useContext)(c4);
+ return (0, D.useContext)(l4);
}
function xge() {
- return (0, D.useContext)(u4);
+ return (0, D.useContext)(d4);
}
-function d4(e) {
- var { valueAccessor: t = vge } = e, n = s4(e, hge), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, gge), l = bge(), u = xge(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ D.createElement(t2, { zIndex: s ?? TJ.label }, /*#__PURE__*/ D.createElement(LL, { className: "recharts-label-list" }, d.map((e, i) => {
+function f4(e) {
+ var { valueAccessor: t = vge } = e, n = c4(e, hge), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = c4(n, gge), l = bge(), u = xge(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: s ?? TJ.label }, /*#__PURE__*/ D.createElement(LL, { className: "recharts-label-list" }, d.map((e, i) => {
var s = JR(r) ? t(e, i) : QV(e.payload, r), l = JR(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ D.createElement(r4, o4({ key: `label-${i}` }, NL(e), c, l, {
+ return /*#__PURE__*/ D.createElement(i4, s4({ key: `label-${i}` }, NL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -54059,13 +54081,13 @@ function d4(e) {
}));
})));
}
-d4.displayName = "LabelList";
-function f4(e) {
+f4.displayName = "LabelList";
+function p4(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ D.createElement(d4, { key: "labelList-implicit" }) : /*#__PURE__*/ D.isValidElement(t) || t4(t) ? /*#__PURE__*/ D.createElement(d4, {
+ return t ? t === !0 ? /*#__PURE__*/ D.createElement(f4, { key: "labelList-implicit" }) : /*#__PURE__*/ D.isValidElement(t) || n4(t) ? /*#__PURE__*/ D.createElement(f4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ D.createElement(d4, o4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ D.createElement(f4, s4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
@@ -54075,14 +54097,14 @@ var Sge = [
"baseLinePoints",
"connectNulls"
], Cge;
-function p4() {
- return p4 = Object.assign ? Object.assign.bind() : function(e) {
+function m4() {
+ return m4 = 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;
- }, p4.apply(null, arguments);
+ }, m4.apply(null, arguments);
}
function wge(e, t) {
if (e == null) return {};
@@ -54105,17 +54127,17 @@ function Tge(e, t) {
function Ege(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, Dge = function() {
+var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dge = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- m4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ h4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- m4(n) && r && r.push(n);
+ h4(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, h4 = (e, t) => {
+}, g4 = (e, t) => {
var n = Dge(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
var r = n.map((e) => e.reduce((e, t, n) => RR(Cge ||= Ege([
@@ -54127,28 +54149,28 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dge = function() {
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
}, Oge = (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 r = g4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${g4(Array.from(t).reverse(), n).slice(1)}`;
+}, _4 = (e) => {
var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = wge(e, Sge);
if (!t || !t.length) return null;
var o = Dm("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = Oge(t, r, i);
- return /*#__PURE__*/ D.createElement("g", { className: o }, /*#__PURE__*/ D.createElement("path", p4({}, NL(a), {
+ return /*#__PURE__*/ D.createElement("g", { className: o }, /*#__PURE__*/ D.createElement("path", m4({}, NL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ D.createElement("path", p4({}, NL(a), {
+ })), s ? /*#__PURE__*/ D.createElement("path", m4({}, NL(a), {
fill: "none",
- d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ D.createElement("path", p4({}, NL(a), {
+ d: g4(t, i)
+ })) : null, s ? /*#__PURE__*/ D.createElement("path", m4({}, NL(a), {
fill: "none",
- d: h4(r, i)
+ d: g4(r, i)
})) : null);
}
- var l = h4(t, i);
- return /*#__PURE__*/ D.createElement("path", p4({}, NL(a), {
+ var l = g4(t, i);
+ return /*#__PURE__*/ D.createElement("path", m4({}, NL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -54156,36 +54178,36 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dge = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function _4() {
- return _4 = Object.assign ? Object.assign.bind() : function(e) {
+function v4() {
+ return v4 = 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;
- }, _4.apply(null, arguments);
+ }, v4.apply(null, arguments);
}
-var v4 = (e) => {
+var y4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Dm("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ D.createElement("circle", _4({}, jL(e), iz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ D.createElement("circle", v4({}, jL(e), iz(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, y4 = (e) => e.graphicalItems.polarItems, b4 = $([
- y4,
+}, b4 = (e) => e.graphicalItems.polarItems, x4 = $([
+ b4,
R$,
$([JJ, YJ], V$)
-], U$), x4 = $([$([b4], q$), Zq], J$), S4 = $([
- x4,
+], U$), S4 = $([$([x4], q$), Zq], J$), C4 = $([
+ S4,
R$,
- b4
+ x4
], X$);
$([
- x4,
+ S4,
R$,
- b4
+ x4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
value: QV(e, t.dataKey ?? n.dataKey),
errorDomain: []
@@ -54196,71 +54218,71 @@ $([
value: QV(e, t.dataKey),
errorDomain: []
})));
-var C4 = () => void 0, w4 = $([
+var w4 = () => void 0, T4 = $([
R$,
fU,
- x4,
S4,
+ C4,
vJ,
JJ,
$([
R$,
c1,
l1,
- C4,
+ w4,
$([
- x4,
+ S4,
R$,
- b4,
+ x4,
u1,
JJ
], f1),
- C4,
+ w4,
fU,
JJ
], b1)
-], x1), T4 = $([
- w4,
+], x1), E4 = $([
+ T4,
z$,
C1
], w1), kge = $([C1, $([
R$,
- w4,
T4,
+ E4,
JJ
-], E1)], aY), E4 = (e, t, n) => {
+], E1)], aY), D4 = (e, t, n) => {
switch (t) {
case "angleAxis": return LJ(e, n);
case "radiusAxis": return RJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, D4 = (e, t, n) => {
+}, O4 = (e, t, n) => {
switch (t) {
case "angleAxis": return WJ(e, n);
case "radiusAxis": return KJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, O4 = $([$([
- E4,
+}, k4 = $([$([
+ D4,
C1,
kge,
- D4
-], T$)], iY), k4 = $([
+ O4
+], T$)], iY), A4 = $([
fU,
- S4,
+ C4,
z$,
JJ
-], j1), A4 = $([
+], j1), j4 = $([
fU,
- E4,
+ D4,
C1,
+ k4,
+ E4,
O4,
- T4,
- D4,
H1,
- k4,
+ A4,
JJ
-], W1), Age = $([A4], (e) => {
+], W1), Age = $([j4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -54270,15 +54292,15 @@ var C4 = () => void 0, w4 = $([
}
}), jge = $([
fU,
- E4,
- O4,
D4,
- H1,
k4,
+ O4,
+ H1,
+ A4,
JJ
-], K1), Mge = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+], K1), Mge = $([(e, t) => j4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Nge = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), Nge = $([(e, t) => j4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
}), Pge = [
"gridType",
@@ -54311,16 +54333,16 @@ function Ige(e, t) {
}
return n;
}
-function j4() {
- return j4 = Object.assign ? Object.assign.bind() : function(e) {
+function M4() {
+ return M4 = 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;
- }, j4.apply(null, arguments);
+ }, M4.apply(null, arguments);
}
-function M4(e, t) {
+function N4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54330,12 +54352,12 @@ function M4(e, t) {
}
return n;
}
-function N4(e) {
+function P4(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) {
+ t % 2 ? N4(Object(n), !0).forEach(function(t) {
Lge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -54372,33 +54394,33 @@ var Bge = (e, t, n, r) => {
}, Vge = (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" }, jL(e));
+ var s = P4({ stroke: "#ccc" }, jL(e));
return /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = Cq(t, n, r, e), o = Cq(t, n, i, e);
- return /*#__PURE__*/ D.createElement("line", j4({ key: `line-${e}` }, s, {
+ return /*#__PURE__*/ D.createElement("line", M4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, P4 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = N4({
+}, F4 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = P4({
stroke: "#ccc",
fill: "none"
}, jL(e));
- return /*#__PURE__*/ D.createElement("circle", j4({}, i, {
+ return /*#__PURE__*/ D.createElement("circle", M4({}, i, {
className: Dm("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, F4 = (e) => {
- var { radius: t } = e, n = N4({
+}, I4 = (e) => {
+ var { radius: t } = e, n = P4({
stroke: "#ccc",
fill: "none"
}, jL(e));
- return /*#__PURE__*/ D.createElement("path", j4({}, n, {
+ return /*#__PURE__*/ D.createElement("path", M4({}, n, {
className: Dm("recharts-polar-grid-concentric-polygon", e.className),
d: Bge(t, e.cx, e.cy, e.polarAngles)
}));
@@ -54406,12 +54428,12 @@ var Bge = (e, t, n, r) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ D.createElement(P4, j4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ D.createElement(F4, j4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ D.createElement(F4, M4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ D.createElement(I4, M4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ D.createElement(P4, j4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ D.createElement(F4, M4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ D.createElement(F4, j4({ key: i }, e, {
+ })) : /*#__PURE__*/ D.createElement(I4, M4({ key: i }, e, {
fill: "none",
radius: t
}));
@@ -54422,10 +54444,10 @@ var Bge = (e, t, n, r) => {
gridType: "polygon",
radialLines: !0,
zIndex: TJ.grid
-}, I4 = (e) => {
+}, L4 = (e) => {
var t = sz(e, Uge), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Fge(t, Pge), m = Q(qJ), h = Q((e) => Mge(e, i)), g = Q((e) => Nge(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = N4({
+ var y = P4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -54434,13 +54456,13 @@ var Bge = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ D.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ D.createElement(Hge, j4({
+ return b <= 0 ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: y.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ D.createElement(Hge, M4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ D.createElement(Vge, j4({
+ })), /*#__PURE__*/ D.createElement(Vge, M4({
gridType: n,
radialLines: r
}, y, {
@@ -54448,17 +54470,17 @@ var Bge = (e, t, n, r) => {
polarRadius: v
}))));
};
-I4.displayName = "PolarGrid";
+L4.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function L4(e) {
+function R4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
function Wge(e, t = fz) {
if (e == null) return;
- let n = L4(e);
+ let n = R4(e);
if (n.length === 0) return;
let r = Az(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -54471,7 +54493,7 @@ function Wge(e, t = fz) {
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
function Gge(e, t = fz) {
if (e == null) return;
- let n = L4(e);
+ let n = R4(e);
if (n.length === 0) return;
let r = Az(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -54482,7 +54504,7 @@ function Gge(e, t = fz) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = yV({
+var z4 = yV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -54502,10 +54524,10 @@ var R4 = yV({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: Kge, removeRadiusAxis: qge, addAngleAxis: Jge, removeAngleAxis: Yge } = R4.actions, Xge = R4.reducer;
+}), { addRadiusAxis: Kge, removeRadiusAxis: qge, addAngleAxis: Jge, removeAngleAxis: Yge } = z4.actions, Xge = z4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function z4(e) {
+function B4(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
@@ -54521,16 +54543,16 @@ var Zge = ["type"], Qge = [
"stroke",
"tick"
];
-function B4() {
- return B4 = Object.assign ? Object.assign.bind() : function(e) {
+function V4() {
+ return V4 = 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;
- }, B4.apply(null, arguments);
+ }, V4.apply(null, arguments);
}
-function V4(e, t) {
+function H4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54540,12 +54562,12 @@ function V4(e, t) {
}
return n;
}
-function H4(e) {
+function U4(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) {
+ t % 2 ? H4(Object(n), !0).forEach(function(t) {
e_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -54573,7 +54595,7 @@ function n_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U4(e, t) {
+function W4(e, t) {
if (e == null) return {};
var n, r, i = r_e(e, t);
if (Object.getOwnPropertySymbols) {
@@ -54594,8 +54616,8 @@ function r_e(e, t) {
var i_e = "radiusAxis";
function a_e(e) {
var t = Pz(), n = gU(), r = (0, D.useMemo)(() => {
- var { type: t } = e, r = U4(e, Zge), i = kJ(n, "radiusAxis", t);
- if (i != null) return H4(H4({}, r), {}, { type: i });
+ var { type: t } = e, r = W4(e, Zge), i = kJ(n, "radiusAxis", t);
+ if (i != null) return U4(U4({}, r), {}, { type: i });
}, [e, n]);
return (0, D.useEffect)(() => r == null ? ZR : (t(Kge(r)), () => {
t(qge(r));
@@ -54628,35 +54650,35 @@ var o_e = (e, t, n, r) => {
clockWise: !1
};
}, l_e = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, Qge), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Cq(n, r, s[0], i), l = Cq(n, r, s[1], i), u = H4(H4(H4({}, jL(o)), {}, { fill: "none" }, jL(a)), {}, {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, Qge), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Cq(n, r, s[0], i), l = Cq(n, r, s[1], i), u = U4(U4(U4({}, jL(o)), {}, { fill: "none" }, jL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ D.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, u_e = (e, t, n) => /*#__PURE__*/ D.isValidElement(e) ? /*#__PURE__*/ D.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ D.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), d_e = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, $ge), s = s_e(e.orientation), c = jL(o), l = ML(a), u = t.map((t, o) => {
- var u = o_e(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+ return /*#__PURE__*/ D.createElement("line", V4({ className: "recharts-polar-radius-axis-line" }, u));
+}, u_e = (e, t, n) => /*#__PURE__*/ D.isValidElement(e) ? /*#__PURE__*/ D.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ D.createElement(W2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), d_e = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, $ge), s = s_e(e.orientation), c = jL(o), l = ML(a), u = t.map((t, o) => {
+ var u = o_e(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ D.createElement(LL, B4({
- className: Dm("recharts-polar-radius-axis-tick", z4(a)),
+ return /*#__PURE__*/ D.createElement(LL, V4({
+ className: Dm("recharts-polar-radius-axis-tick", B4(a)),
key: `tick-${t.coordinate}`
}, az(e, t, o)), u_e(a, d, r ? r(t.value, o) : t.value));
});
return /*#__PURE__*/ D.createElement(LL, { className: "recharts-polar-radius-axis-ticks" }, u);
}, f_e = (e) => {
- var { radiusAxisId: t } = e, n = Q(qJ), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
+ var { radiusAxisId: t } = e, n = Q(qJ), r = Q((e) => k4(e, "radiusAxis", t)), i = Q((e) => j4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ D.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-polar-radius-axis", i_e, a.className) }, s && l_e(a, i), o && d_e(a, i), /*#__PURE__*/ D.createElement(sge, c_e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ D.createElement(mge, { label: a.label }), a.children)));
+ var a = U4(U4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: a.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-polar-radius-axis", i_e, a.className) }, s && l_e(a, i), o && d_e(a, i), /*#__PURE__*/ D.createElement(sge, c_e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ D.createElement(mge, { label: a.label }), a.children)));
};
-function W4(e) {
+function G4(e) {
var t = sz(e, DJ);
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(a_e, {
domain: t.domain,
@@ -54677,20 +54699,20 @@ function W4(e) {
tick: t.tick
}), /*#__PURE__*/ D.createElement(f_e, t));
}
-W4.displayName = "PolarRadiusAxis";
+G4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
var p_e = ["children", "type"], m_e = ["ref"];
-function G4() {
- return G4 = Object.assign ? Object.assign.bind() : function(e) {
+function K4() {
+ return K4 = 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;
- }, G4.apply(null, arguments);
+ }, K4.apply(null, arguments);
}
-function K4(e, t) {
+function q4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54700,12 +54722,12 @@ function K4(e, t) {
}
return n;
}
-function q4(e) {
+function J4(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) {
+ t % 2 ? q4(Object(n), !0).forEach(function(t) {
h_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -54733,7 +54755,7 @@ function __e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J4(e, t) {
+function Y4(e, t) {
if (e == null) return {};
var n, r, i = v_e(e, t);
if (Object.getOwnPropertySymbols) {
@@ -54751,11 +54773,11 @@ function v_e(e, t) {
}
return n;
}
-var Y4 = 1e-5, y_e = Math.cos(xq(45)), b_e = "angleAxis";
+var X4 = 1e-5, y_e = Math.cos(xq(45)), b_e = "angleAxis";
function x_e(e) {
var t = Pz(), n = gU(), r = (0, D.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, p_e), a = kJ(n, "angleAxis", r);
- if (a != null) return q4(q4({}, i), {}, { type: a });
+ var { children: t, type: r } = e, i = Y4(e, p_e), a = kJ(n, "angleAxis", r);
+ if (a != null) return J4(J4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => LJ(e, r?.id));
return (0, D.useEffect)(() => r == null ? ZR : (t(Jge(r)), () => {
t(Yge(r));
@@ -54771,27 +54793,27 @@ var S_e = (e, t) => {
};
}, C_e = (e, t) => {
var n = Math.cos(xq(-e.coordinate));
- return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
+ return n > X4 ? t === "outer" ? "start" : "end" : n < -X4 ? t === "outer" ? "end" : "start" : "middle";
}, w_e = (e) => {
var t = Math.cos(xq(-e.coordinate)), n = Math.sin(xq(-e.coordinate));
return Math.abs(t) <= y_e ? n > 0 ? "start" : "end" : "middle";
}, T_e = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = q4(q4({}, jL(e)), {}, { fill: "none" }, jL(a));
- if (i === "circle") return /*#__PURE__*/ D.createElement(v4, G4({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = J4(J4({}, jL(e)), {}, { fill: "none" }, jL(a));
+ if (i === "circle") return /*#__PURE__*/ D.createElement(y4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
var c = o.map((e) => Cq(t, n, r, e.coordinate));
- return /*#__PURE__*/ D.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+ return /*#__PURE__*/ D.createElement(_4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
}, E_e = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ D.isValidElement(t) ? /*#__PURE__*/ D.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ D.createElement(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+ return t ? /*#__PURE__*/ D.isValidElement(t) ? /*#__PURE__*/ D.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ D.createElement(W2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
}, D_e = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = jL(e), { ref: s } = o, c = J4(o, m_e), l = ML(t), u = q4(q4({}, c), {}, { fill: "none" }, jL(n)), d = a.map((a, o) => {
- var s = S_e(a, e), d = C_e(a, e.orientation), f = w_e(a), p = q4(q4(q4({}, c), {}, {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = jL(e), { ref: s } = o, c = Y4(o, m_e), l = ML(t), u = J4(J4({}, c), {}, { fill: "none" }, jL(n)), d = a.map((a, o) => {
+ var s = S_e(a, e), d = C_e(a, e.orientation), f = w_e(a), p = J4(J4(J4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -54802,10 +54824,10 @@ var S_e = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ D.createElement(LL, G4({
- className: Dm("recharts-polar-angle-axis-tick", z4(t)),
+ return /*#__PURE__*/ D.createElement(LL, K4({
+ className: Dm("recharts-polar-angle-axis-tick", B4(t)),
key: `tick-${a.coordinate}`
- }, az(e, a, o)), n && /*#__PURE__*/ D.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ D.createElement(E_e, {
+ }, az(e, a, o)), n && /*#__PURE__*/ D.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ D.createElement(E_e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
@@ -54813,15 +54835,15 @@ var S_e = (e, t) => {
});
return /*#__PURE__*/ D.createElement(LL, { className: "recharts-polar-angle-axis-ticks" }, d);
}, O_e = (e) => {
- var { angleAxisId: t } = e, n = Q(qJ), r = Q((e) => O4(e, "angleAxis", t)), i = MH(), a = Q((e) => Age(e, "angleAxis", t, i));
+ var { angleAxisId: t } = e, n = Q(qJ), r = Q((e) => k4(e, "angleAxis", t)), i = MH(), a = Q((e) => Age(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
+ var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ D.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-polar-angle-axis", b_e, o.className) }, /*#__PURE__*/ D.createElement(T_e, o), /*#__PURE__*/ D.createElement(D_e, o)));
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: o.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-polar-angle-axis", b_e, o.className) }, /*#__PURE__*/ D.createElement(T_e, o), /*#__PURE__*/ D.createElement(D_e, o)));
};
-function X4(e) {
+function Z4(e) {
var t = sz(e, EJ);
return /*#__PURE__*/ D.createElement(x_e, {
id: t.angleAxisId,
@@ -54842,7 +54864,7 @@ function X4(e) {
domain: t.domain
}, /*#__PURE__*/ D.createElement(O_e, t));
}
-X4.displayName = "PolarAngleAxis";
+Z4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
var k_e = /* @__PURE__ */ v(((e) => {
@@ -54876,21 +54898,21 @@ var k_e = /* @__PURE__ */ v(((e) => {
};
})), A_e = (/* @__PURE__ */ v(((e, t) => {
t.exports = k_e();
-})))(), 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;
+})))(), Q4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", $4 = null, e3 = null, t3 = (e) => {
+ if (e === $4 && Array.isArray(e3)) return e3;
var t = [];
return D.Children.forEach(e, (e) => {
- JR(e) || ((0, A_e.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
- }), $4 = t, Q4 = e, t;
+ JR(e) || ((0, A_e.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
+ }), e3 = t, $4 = e, t;
};
-function t3(e, t) {
+function n3(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => Z4(e)) : [Z4(t)], e3(e).forEach((e) => {
+ return r = Array.isArray(t) ? t.map((e) => Q4(e)) : [Q4(t)], t3(e).forEach((e) => {
var t = IR(e, "type.displayName") || IR(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;
+var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
function j_e(e) {
@@ -54907,7 +54929,7 @@ function j_e(e) {
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
var M_e, N_e, P_e, F_e, I_e;
-function r3(e, t) {
+function i3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54917,12 +54939,12 @@ function r3(e, t) {
}
return n;
}
-function i3(e) {
+function a3(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) {
+ t % 2 ? i3(Object(n), !0).forEach(function(t) {
L_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -54950,37 +54972,37 @@ function z_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function a3() {
- return a3 = Object.assign ? Object.assign.bind() : function(e) {
+function o3() {
+ return o3 = 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;
- }, a3.apply(null, arguments);
+ }, o3.apply(null, arguments);
}
-function o3(e, t) {
+function s3(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 = RR(M_e ||= o3([
+var c3 = (e, t, n, r, i) => {
+ var a = n - r, o = RR(M_e ||= s3([
"M ",
",",
""
]), e, t);
- return o += RR(N_e ||= o3([
+ return o += RR(N_e ||= s3([
"L ",
",",
""
- ]), e + n, t), o += RR(P_e ||= o3([
+ ]), e + n, t), o += RR(P_e ||= s3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += RR(F_e ||= o3([
+ ]), e + n - a / 2, t + i), o += RR(F_e ||= s3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += RR(I_e ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += RR(I_e ||= s3([
"L ",
",",
" Z"
@@ -55004,9 +55026,9 @@ 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 = Dm("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ D.createElement("g", null, /*#__PURE__*/ D.createElement("path", a3({}, NL(t), {
+ if (!d) return /*#__PURE__*/ D.createElement("g", null, /*#__PURE__*/ D.createElement("path", o3({}, NL(t), {
className: x,
- d: s3(n, r, i, a, o)
+ d: c3(n, r, i, a, o)
})));
var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, O = `0px ${p === -1 ? 1 : p}px`, k = `${p}px ${p}px`, A = dK(["strokeDasharray"], l, c);
return /*#__PURE__*/ D.createElement(UK, {
@@ -55024,11 +55046,11 @@ var s3 = (e, t, n, r, i) => {
transition: A,
strokeDasharray: k
} : { strokeDasharray: O };
- return /*#__PURE__*/ D.createElement("path", a3({}, NL(t), {
+ return /*#__PURE__*/ D.createElement("path", o3({}, NL(t), {
className: x,
- d: s3(u, d, s, c, l),
+ d: c3(u, d, s, c, l),
ref: f,
- style: i3(i3({}, p), t.style)
+ style: a3(a3({}, p), t.style)
}));
});
}, H_e = [
@@ -55055,7 +55077,7 @@ function W_e(e, t) {
}
return n;
}
-function c3(e, t) {
+function l3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55065,12 +55087,12 @@ function c3(e, t) {
}
return n;
}
-function l3(e) {
+function u3(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) {
+ t % 2 ? l3(Object(n), !0).forEach(function(t) {
G_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55099,12 +55121,12 @@ function q_e(e, t) {
return (t === "string" ? String : Number)(e);
}
function J_e(e, t) {
- return l3(l3({}, t), e);
+ return u3(u3({}, t), e);
}
function Y_e(e, t) {
return e === "symbols";
}
-function u3(e) {
+function d3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ D.createElement(mq, n);
@@ -55120,19 +55142,19 @@ function u3(e) {
function X_e(e) {
return /*#__PURE__*/ (0, D.isValidElement)(e) ? e.props : e;
}
-function d3(e) {
+function f3(e) {
var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = U_e(e, H_e), o;
- if (/*#__PURE__*/ (0, D.isValidElement)(t)) o = /*#__PURE__*/ (0, D.cloneElement)(t, l3(l3({}, a), X_e(t)));
+ if (/*#__PURE__*/ (0, D.isValidElement)(t)) o = /*#__PURE__*/ (0, D.cloneElement)(t, u3(u3({}, a), X_e(t)));
else if (typeof t == "function") o = t(a, a.index);
else if (j_e(t) && typeof t != "boolean") {
var s = J_e(t, a);
- o = /*#__PURE__*/ D.createElement(u3, {
+ o = /*#__PURE__*/ D.createElement(d3, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ D.createElement(u3, {
+ o = /*#__PURE__*/ D.createElement(d3, {
shapeType: n,
elementProps: c
});
@@ -55141,7 +55163,7 @@ function d3(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var f3 = (e, t, n) => {
+var p3 = (e, t, n) => {
var r = Pz();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
@@ -55151,15 +55173,15 @@ var f3 = (e, t, n) => {
activeGraphicalItemId: n
}));
};
-}, p3 = (e) => {
+}, m3 = (e) => {
var t = Pz();
return (n, r) => (i) => {
- e?.(n, r, i), t(Fpe());
+ e?.(n, r, i), t(Ipe());
};
-}, m3 = (e, t, n) => {
+}, h3 = (e, t, n) => {
var r = Pz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Ipe({
+ e?.(i, a, o), r(Lpe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -55169,10 +55191,10 @@ var f3 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function h3(e) {
+function g3(e) {
var { tooltipEntrySettings: t } = e, n = Pz(), r = MH(), i = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
- r || (i.current === null ? n(jpe(t)) : i.current !== t && n(Mpe({
+ r || (i.current === null ? n(Mpe(t)) : i.current !== t && n(Npe({
prev: i.current,
next: t
})), i.current = t);
@@ -55181,12 +55203,12 @@ function h3(e) {
n,
r
]), (0, D.useLayoutEffect)(() => () => {
- i.current &&= (n(Npe(i.current)), null);
+ i.current &&= (n(Ppe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function g3(e) {
+function _3(e) {
var { legendPayload: t } = e, n = Pz(), r = MH(), i = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
r || (i.current === null ? n(vW(t)) : i.current !== t && n(yW({
@@ -55201,7 +55223,7 @@ function g3(e) {
i.current &&= (n(bW(i.current)), null);
}, [n]), null;
}
-function _3(e) {
+function v3(e) {
var { legendPayload: t } = e, n = Pz(), r = Q(fU), i = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(vW(t)) : i.current !== t && n(yW({
@@ -55230,10 +55252,10 @@ function Q_e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var $_e = /*#__PURE__*/ (0, D.createContext)(void 0), v3 = (e) => {
+var $_e = /*#__PURE__*/ (0, D.createContext)(void 0), y3 = (e) => {
var { id: t, type: n, children: r } = e, i = Q_e(`recharts-${n}`, t);
return /*#__PURE__*/ D.createElement($_e.Provider, { value: i }, r(i));
-}, y3 = yV({
+}, b3 = yV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -55281,7 +55303,7 @@ var $_e = /*#__PURE__*/ (0, D.createContext)(void 0), v3 = (e) => {
prepare: hV()
}
}
-}), { addCartesianGraphicalItem: eve, replaceCartesianGraphicalItem: tve, removeCartesianGraphicalItem: nve, addPolarGraphicalItem: rve, removePolarGraphicalItem: ive, replacePolarGraphicalItem: ave } = y3.actions, ove = y3.reducer, b3 = /*#__PURE__*/ (0, D.memo)((e) => {
+}), { addCartesianGraphicalItem: eve, replaceCartesianGraphicalItem: tve, removeCartesianGraphicalItem: nve, addPolarGraphicalItem: rve, removePolarGraphicalItem: ive, replacePolarGraphicalItem: ave } = b3.actions, ove = b3.reducer, x3 = /*#__PURE__*/ (0, D.memo)((e) => {
var t = Pz(), n = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
n.current === null ? t(eve(e)) : n.current !== e && t(tve({
@@ -55291,7 +55313,7 @@ var $_e = /*#__PURE__*/ (0, D.createContext)(void 0), v3 = (e) => {
}, [t, e]), (0, D.useLayoutEffect)(() => () => {
n.current &&= (t(nve(n.current)), null);
}, [t]), null;
-}), x3 = /*#__PURE__*/ (0, D.memo)((e) => {
+}), S3 = /*#__PURE__*/ (0, D.memo)((e) => {
var t = Pz(), n = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
n.current === null ? t(rve(e)) : n.current !== e && t(ave({
@@ -55310,12 +55332,12 @@ function sve(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
function cve(e) {
- if (!(!pz(e) || e.length === 0)) return sve(L4(e));
+ if (!(!pz(e) || e.length === 0)) return sve(R4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
var lve = ["points"];
-function S3(e, t) {
+function C3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55325,12 +55347,12 @@ function S3(e, t) {
}
return n;
}
-function C3(e) {
+function w3(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) {
+ t % 2 ? C3(Object(n), !0).forEach(function(t) {
uve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55358,14 +55380,14 @@ function fve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function w3() {
- return w3 = Object.assign ? Object.assign.bind() : function(e) {
+function T3() {
+ return T3 = 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;
- }, w3.apply(null, arguments);
+ }, T3.apply(null, arguments);
}
function pve(e, t) {
if (e == null) return {};
@@ -55390,16 +55412,16 @@ function hve(e) {
if (/*#__PURE__*/ (0, D.isValidElement)(t)) return /*#__PURE__*/ (0, D.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Dm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = pve(a, lve);
- return /*#__PURE__*/ D.createElement(v4, w3({}, s, { className: i }));
+ return /*#__PURE__*/ D.createElement(y4, T3({}, s, { className: i }));
}
function gve(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function T3(e) {
+function E3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = TJ.scatter } = e;
if (!gve(t, n)) return null;
- var u = n3(n), d = Bse(n), f = t.map((e, r) => {
- var s = C3(C3(C3({ r: 3 }, o), d), {}, {
+ var u = r3(n), d = Vse(n), f = t.map((e, r) => {
+ var s = w3(w3(w3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -55415,11 +55437,11 @@ function T3(e) {
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ D.createElement(t2, { zIndex: l }, /*#__PURE__*/ D.createElement(LL, w3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ D.createElement(n2, { zIndex: l }, /*#__PURE__*/ D.createElement(LL, T3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function E3(e, t) {
+function D3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55429,12 +55451,12 @@ function E3(e, t) {
}
return n;
}
-function D3(e) {
+function O3(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) {
+ t % 2 ? D3(Object(n), !0).forEach(function(t) {
_ve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55462,7 +55484,7 @@ function yve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O3 = yV({
+var k3 = yV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -55533,14 +55555,14 @@ var O3 = yV({
var a = i.widthHistory || [];
if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;
var o = [...a, r].slice(-3);
- e.yAxis[n] = D3(D3({}, i), {}, {
+ e.yAxis[n] = O3(O3({}, i), {}, {
width: r,
widthHistory: o
});
}
}
}
-}), { addXAxis: bve, replaceXAxis: xve, removeXAxis: Sve, addYAxis: Cve, replaceYAxis: wve, removeYAxis: Tve, addZAxis: Eve, replaceZAxis: Dve, removeZAxis: Ove, updateYAxisWidth: kve } = O3.actions, Ave = O3.reducer, jve = $([
+}), { addXAxis: bve, replaceXAxis: xve, removeXAxis: Sve, addYAxis: Cve, replaceYAxis: wve, removeYAxis: Tve, addZAxis: Eve, replaceZAxis: Dve, removeZAxis: Ove, updateYAxisWidth: kve } = k3.actions, Ave = k3.reducer, jve = $([
$([OH], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -55556,10 +55578,10 @@ var O3 = yV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(jve), Mve = () => Q(dme);
+}), A3 = () => Q(jve), Mve = () => Q(dme);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function A3(e, t) {
+function j3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55569,12 +55591,12 @@ function A3(e, t) {
}
return n;
}
-function j3(e) {
+function M3(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) {
+ t % 2 ? j3(Object(n), !0).forEach(function(t) {
Nve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55605,7 +55627,7 @@ function Fve(e, t) {
var Ive = (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({}, {
+ var s = M3(M3(M3({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -55616,17 +55638,17 @@ var Ive = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), ML(i)), iz(i)), c = /*#__PURE__*/ (0, D.isValidElement)(i) ? /*#__PURE__*/ (0, D.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ D.createElement(v4, s);
+ }), ML(i)), iz(i)), c = /*#__PURE__*/ (0, D.isValidElement)(i) ? /*#__PURE__*/ (0, D.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ D.createElement(y4, s);
return /*#__PURE__*/ D.createElement(LL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = TJ.activeDot } = e, s = Q(P0), c = Mve();
+function N3(e) {
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = TJ.activeDot } = e, s = Q(F0), c = Mve();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return JR(l) ? null : /*#__PURE__*/ D.createElement(t2, { zIndex: o }, /*#__PURE__*/ D.createElement(Ive, {
+ return JR(l) ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: o }, /*#__PURE__*/ D.createElement(Ive, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -55637,7 +55659,7 @@ function M3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function N3(e, t) {
+function P3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55647,12 +55669,12 @@ function N3(e, t) {
}
return n;
}
-function P3(e) {
+function F3(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) {
+ t % 2 ? P3(Object(n), !0).forEach(function(t) {
Lve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55680,15 +55702,15 @@ function zve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), Bve = $([F3], (e) => {
+var I3 = (e, t) => k4(e, "radiusAxis", t), Bve = $([I3], (e) => {
if (e != null) return { scale: e };
-}), Vve = $([RJ, F3], (e, t) => {
- if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), Hve = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => LJ(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), Uve = $([I3, L3], (e, t) => {
- if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), Wve = (e, t, n, r) => A4(e, "angleAxis", n, r), Gve = $([
- I3,
+}), Vve = $([RJ, I3], (e, t) => {
+ if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
+}), Hve = (e, t, n, r) => j4(e, "radiusAxis", t, r), L3 = (e, t, n) => LJ(e, n), R3 = (e, t, n) => k4(e, "angleAxis", n), Uve = $([L3, R3], (e, t) => {
+ if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
+}), Wve = (e, t, n, r) => j4(e, "angleAxis", n, r), Gve = $([
L3,
+ R3,
qJ
], (e, t, n) => {
if (n != null && t != null) return {
@@ -55708,7 +55730,7 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), Bve = $([F3], (e) => {
Bve,
Gve,
Zq,
- $([y4, Kve], (e, t) => {
+ $([b4, Kve], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
qve
@@ -55722,16 +55744,16 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), Bve = $([F3], (e) => {
bandSize: i
});
}), Yve = ["id"];
-function R3() {
- return R3 = Object.assign ? Object.assign.bind() : function(e) {
+function z3() {
+ return z3 = 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;
- }, R3.apply(null, arguments);
+ }, z3.apply(null, arguments);
}
-function z3(e, t) {
+function B3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55741,12 +55763,12 @@ function z3(e, t) {
}
return n;
}
-function B3(e) {
+function V3(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) {
+ t % 2 ? B3(Object(n), !0).forEach(function(t) {
Xve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55792,7 +55814,7 @@ function eye(e, t) {
}
return n;
}
-function V3(e, t) {
+function H3(e, t) {
return e && e !== "none" ? e : t;
}
var tye = (e) => {
@@ -55801,7 +55823,7 @@ var tye = (e) => {
inactive: o,
dataKey: t,
type: a,
- color: V3(r, i),
+ color: H3(r, i),
value: dH(n, t),
payload: e
}];
@@ -55818,16 +55840,16 @@ var tye = (e) => {
name: dH(a, t),
hide: o,
type: s,
- color: V3(n, i),
+ color: H3(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ D.createElement(h3, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: l });
});
function rye(e) {
var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = jL($ve(n, Yve));
- return /*#__PURE__*/ D.createElement(T3, {
+ return /*#__PURE__*/ D.createElement(E3, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -55840,7 +55862,7 @@ function iye(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 = QV(e, n.dataKey, r), d = QV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? cve(d) : d, m = JR(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, Cq(o, s, m, f)), {}, {
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, Cq(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -55854,7 +55876,7 @@ function iye(e) {
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
var n = e.value[0], r = JR(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(B3(B3({}, e), {}, { radius: r }, Cq(o, s, r, e.angle)));
+ d.push(V3(V3({}, e), {}, { radius: r }, Cq(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -55872,7 +55894,7 @@ function aye(e) {
upperWidth: 0,
height: 0
};
- return B3(B3({}, t), {}, {
+ return V3(V3({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -55880,12 +55902,12 @@ function aye(e) {
fill: void 0
});
});
- return /*#__PURE__*/ D.createElement(l4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, r);
}
function oye(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ D.isValidElement(i) ? /*#__PURE__*/ D.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ D.createElement(g4, R3({}, NL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ D.isValidElement(i) ? /*#__PURE__*/ D.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ D.createElement(_4, z3({}, NL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -55903,12 +55925,12 @@ function oye(e) {
points: t
}));
}
-var H3 = (e, t, n) => (r, i) => {
+var U3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
- return a ? B3(B3({}, r), {}, {
+ return a ? V3(V3({}, r), {}, {
x: KR(a.x, r.x, n),
y: KR(a.y, r.y, n)
- }) : B3(B3({}, r), {}, {
+ }) : V3(V3({}, r), {}, {
x: KR(r.cx, r.x, n),
y: KR(r.cy, r.y, n)
});
@@ -55932,13 +55954,13 @@ function sye(e) {
onAnimationEnd: b,
onAnimationStart: x
}, (e) => {
- var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
+ var o = e === 1 ? i : i.map(U3(f, m, e)), s = e === 1 ? a : a?.map(U3(p, h, e));
return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ D.createElement(oye, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ D.createElement(f4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ D.createElement(p4, { label: t.label }), t.children);
}
function cye(e) {
var t = (0, D.useRef)(void 0), n = (0, D.useRef)(void 0);
@@ -55966,27 +55988,27 @@ function uye(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Dm("recharts-radar", n);
- return /*#__PURE__*/ D.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: i }, /*#__PURE__*/ D.createElement(cye, e)), /*#__PURE__*/ D.createElement(M3, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: i }, /*#__PURE__*/ D.createElement(cye, e)), /*#__PURE__*/ D.createElement(N3, {
points: r,
- mainColor: V3(e.stroke, e.fill),
+ mainColor: H3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
function dye(e) {
var t = MH(), n = Q((n) => Jve(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ D.createElement(uye, R3({}, e, {
+ return n?.points == null ? null : /*#__PURE__*/ D.createElement(uye, z3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function U3(e) {
+function W3(e) {
var t = sz(e, lye);
- return /*#__PURE__*/ D.createElement(v3, {
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(x3, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(S3, {
type: "radar",
id: e,
data: void 0,
@@ -55994,7 +56016,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ D.createElement(_3, { legendPayload: tye(t) }), /*#__PURE__*/ D.createElement(nye, {
+ }), /*#__PURE__*/ D.createElement(v3, { legendPayload: tye(t) }), /*#__PURE__*/ D.createElement(nye, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -56003,32 +56025,32 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ D.createElement(dye, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(dye, z3({}, t, { id: e }))));
}
-U3.displayName = "Radar";
+W3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-function W3() {
- return W3 = Object.assign ? Object.assign.bind() : function(e) {
+function G3() {
+ return G3 = 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;
- }, W3.apply(null, arguments);
+ }, G3.apply(null, arguments);
}
-function G3(e) {
+function K3(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function K3(e) {
- return /*#__PURE__*/ D.createElement(d3, W3({ shapeType: "sector" }, e));
+function q3(e) {
+ return /*#__PURE__*/ D.createElement(f3, G3({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-var q3 = (e, t, n) => {
+var J3 = (e, t, n) => {
var r = n ?? e;
if (!JR(r)) return WR(r, t, 0);
-}, J3 = (e, t, n) => {
+}, Y3 = (e, t, n) => {
var r = {}, i = e.filter(QJ), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
@@ -56037,18 +56059,18 @@ var q3 = (e, t, n) => {
return {
stackId: r,
dataKeys: i.map((e) => e.dataKey),
- barSize: q3(t, n, i[0]?.barSize)
+ barSize: J3(t, n, i[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: q3(t, n, e.barSize)
+ barSize: J3(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function Y3(e, t) {
+function X3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56058,12 +56080,12 @@ function Y3(e, t) {
}
return n;
}
-function X3(e) {
+function Z3(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) {
+ t % 2 ? X3(Object(n), !0).forEach(function(t) {
fye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56131,10 +56153,10 @@ function hye(e, t, n, r, i) {
return s;
}
}
-var Z3 = (e, t, n, r, i, a, o) => {
+var Q3 = (e, t, n, r, i, a, o) => {
var s = JR(o) ? t : o, c = hye(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) => {
+ return i !== a && c != null && (c = c.map((e) => Z3(Z3({}, e), {}, { position: Z3(Z3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, $3 = (e, t) => {
var n = XJ(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
@@ -56146,7 +56168,7 @@ var Z3 = (e, t, n, r, i, a, o) => {
}
}
}
-}, $3 = (e, t) => {
+}, e6 = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -56154,7 +56176,7 @@ var Z3 = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function e6(e, t) {
+function t6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56164,12 +56186,12 @@ function e6(e, t) {
}
return n;
}
-function t6(e) {
+function n6(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) {
+ t % 2 ? t6(Object(n), !0).forEach(function(t) {
gye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56197,76 +56219,76 @@ function vye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var n6 = $([(e, t) => RJ(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => jge(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => LJ(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) => {
+var r6 = $([(e, t) => RJ(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
+}), i6 = (e, t) => jge(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => LJ(e, n), (e, t, n) => k4(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
+}), o6 = (e, t, n) => j4(e, "angleAxis", n, !1), s6 = $([b4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), s6 = $([
+}), c6 = $([
fU,
- n6,
r6,
i6,
- a6
+ a6,
+ o6
], (e, t, n, r, i) => $V(e, "radiusAxis") ? lH(t, n, !1) : lH(r, i, !1)), yye = $([
- i6,
- n6,
+ a6,
+ r6,
fU
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return oH({ numericAxis: r });
-}), bye = (e, t, n, r, i) => i, xye = (e, t, n, r, i) => n, Sye = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", Cye = $([$([
+}), bye = (e, t, n, r, i) => i, xye = (e, t, n, r, i) => n, Sye = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", Cye = $([$([
$([
$([
fU,
- y4,
+ b4,
xye,
Sye
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(u6)),
_J,
() => void 0
- ], J3),
+ ], Y3),
mJ,
hJ,
gJ,
$([
fU,
mJ,
- i6,
a6,
- n6,
+ o6,
r6,
- c6
+ i6,
+ l6
], (e, t, n, r, i, a, o) => {
var s = JR(o) ? t : o;
return e === "centric" ? lH(n, r, !0) ?? s ?? 0 : lH(i, a, !0) ?? s ?? 0;
}),
- s6,
- c6
-], Z3), o6], $3), u6 = $([b4], (e) => e.filter(l6).filter(QJ)), d6 = $([
+ c6,
+ l6
+], Q3), s6], e6), d6 = $([x4], (e) => e.filter(u6).filter(QJ)), f6 = $([
$([
- u6,
+ d6,
Zq,
n1
], ZJ),
- u6,
+ d6,
vJ,
yJ
], i1), wye = $([
- i6,
a6,
- n6,
+ o6,
r6,
+ i6,
Xq,
- o6,
s6,
+ c6,
fU,
yye,
qJ,
bye,
Cye,
- $([(e, t, n) => fU(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
+ $([(e, t, n) => fU(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
@@ -56305,7 +56327,7 @@ var n6 = $([(e, t) => RJ(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function f6(e, t) {
+function p6(e, t) {
return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && JV(e.zIndex) ? e.zIndex : t;
}
//#endregion
@@ -56320,16 +56342,16 @@ var Eye = [
"onClick",
"onMouseLeave"
], Oye = ["value", "background"];
-function p6() {
- return p6 = Object.assign ? Object.assign.bind() : function(e) {
+function m6() {
+ return m6 = 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;
- }, p6.apply(null, arguments);
+ }, m6.apply(null, arguments);
}
-function m6(e, t) {
+function h6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56339,12 +56361,12 @@ function m6(e, t) {
}
return n;
}
-function h6(e) {
+function g6(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) {
+ t % 2 ? h6(Object(n), !0).forEach(function(t) {
kye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56372,7 +56394,7 @@ function jye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function g6(e, t) {
+function _6(e, t) {
if (e == null) return {};
var n, r, i = Mye(e, t);
if (Object.getOwnPropertySymbols) {
@@ -56390,7 +56412,7 @@ function Mye(e, t) {
}
return n;
}
-var _6 = [];
+var v6 = [];
function Nye(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
@@ -56411,12 +56433,12 @@ function Nye(e) {
return /*#__PURE__*/ D.createElement(yge, { value: t ? i : void 0 }, r);
}
function Pye(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, Eye), l = jL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, Dye), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, Eye), l = jL(c), u = Q(F0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, Dye), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
return t == null ? null : /*#__PURE__*/ D.createElement(Nye, {
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), az(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), az(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -56427,11 +56449,11 @@ function Pye(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ D.createElement(t2, {
+ return n ? /*#__PURE__*/ D.createElement(n2, {
zIndex: TJ.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ D.createElement(K3, f)) : /*#__PURE__*/ D.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ D.createElement(f4, { label: n.label }), n.children);
+ }, /*#__PURE__*/ D.createElement(q3, f)) : /*#__PURE__*/ D.createElement(q3, m6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
+ }), /*#__PURE__*/ D.createElement(p4, { label: n.label }), n.children);
}
function Fye(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = WK(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, D.useState)(!1), m = (0, D.useCallback)(() => {
@@ -56449,17 +56471,17 @@ function Fye(e) {
onAnimationEnd: m,
key: u
}, (e) => {
- var i = e === 1 ? r : (r ?? _6).map((t, n) => {
+ var i = e === 1 ? r : (r ?? v6).map((t, n) => {
var r = d && d[n];
- if (r) return h6(h6({}, t), {}, {
+ if (r) return g6(g6({}, t), {}, {
startAngle: KR(r.startAngle, t.startAngle, e),
endAngle: KR(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return h6(h6({}, t), {}, { endAngle: KR(a, i, e) });
+ return g6(g6({}, t), {}, { endAngle: KR(a, i, e) });
});
return e > 0 && (n.current = i ?? null), /*#__PURE__*/ D.createElement(Pye, {
- sectors: i ?? _6,
+ sectors: i ?? v6,
allOtherRadialBarProps: t,
showLabels: !f
});
@@ -56474,7 +56496,7 @@ function Iye(e) {
}
function Lye(e) {
var t = Q((t) => Tye(t, e.legendType));
- return /*#__PURE__*/ D.createElement(_3, { legendPayload: t ?? [] });
+ return /*#__PURE__*/ D.createElement(v3, { legendPayload: t ?? [] });
}
var Rye = /*#__PURE__*/ D.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
@@ -56494,32 +56516,32 @@ var Rye = /*#__PURE__*/ D.memo((e) => {
unit: ""
}
};
- return /*#__PURE__*/ D.createElement(h3, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: u });
}), zye = class extends D.PureComponent {
renderBackground(e) {
if (e == null) return null;
var { cornerRadius: t } = this.props, n = ML(this.props.background);
- return /*#__PURE__*/ D.createElement(t2, { zIndex: f6(this.props.background, TJ.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, Oye);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p6(this.props.background, TJ.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = _6(e, Oye);
if (!a) return null;
- var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), az(this.props, e, r)), {}, {
+ var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), az(this.props, e, r)), {}, {
index: r,
className: Dm("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
- return /*#__PURE__*/ D.createElement(K3, p6({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
+ return /*#__PURE__*/ D.createElement(q3, m6({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
}));
}
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Dm("recharts-area", n);
- return /*#__PURE__*/ D.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: i }, r && /*#__PURE__*/ D.createElement(LL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ D.createElement(LL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ D.createElement(Iye, this.props))));
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: this.props.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: i }, r && /*#__PURE__*/ D.createElement(LL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ D.createElement(LL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ D.createElement(Iye, this.props))));
}
};
function Bye(e) {
- var t = D.useMemo(() => t3(e.children, v2), [e.children]), n = D.useMemo(() => ({
+ var t = D.useMemo(() => n3(e.children, y2), [e.children]), n = D.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -56540,7 +56562,7 @@ function Bye(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => wye(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ ]), r = Q((r) => wye(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Rye, {
dataKey: e.dataKey,
sectors: r,
@@ -56551,9 +56573,9 @@ function Bye(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ D.createElement(zye, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ D.createElement(zye, m6({}, e, { sectors: r })));
}
-var v6 = {
+var y6 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
@@ -56572,7 +56594,7 @@ var v6 = {
};
function Vye(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) => {
+ return g == null || l == null ? v6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
if (n ? b = nH(n[r + t], i) : (b = QV(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 = aH({
@@ -56613,7 +56635,7 @@ function Vye(e) {
S += k;
}
}
- return h6(h6(h6({}, e), T), {}, {
+ return g6(g6(g6({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -56625,38 +56647,38 @@ function Vye(e) {
}, _ && _[t] && _[t].props);
});
}
-function y6(e) {
- var t = sz(e, v6);
- return /*#__PURE__*/ D.createElement(v3, {
+function b6(e) {
+ var t = sz(e, y6);
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(x3, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(S3, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? v6.hide,
- angleAxisId: t.angleAxisId ?? v6.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? v6.radiusAxisId,
+ hide: t.hide ?? y6.hide,
+ angleAxisId: t.angleAxisId ?? y6.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? y6.radiusAxisId,
stackId: rH(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ D.createElement(Lye, t), /*#__PURE__*/ D.createElement(Bye, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(Lye, t), /*#__PURE__*/ D.createElement(Bye, m6({}, t, { id: e }))));
}
-y6.displayName = "RadialBar";
+b6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var b6 = (e) => {
+var x6 = (e) => {
var { chartData: t } = e, n = Pz(), r = MH();
- return (0, D.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
- n(f2(void 0));
+ return (0, D.useEffect)(() => r ? () => {} : (n(p2(t)), () => {
+ n(p2(void 0));
}), [
t,
n,
r
]), null;
-}, x6 = {
+}, S6 = {
x: 0,
y: 0,
width: 0,
@@ -56667,13 +56689,13 @@ var b6 = (e) => {
bottom: 0,
left: 0
}
-}, S6 = yV({
+}, C6 = yV({
name: "brush",
- initialState: x6,
+ initialState: S6,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? x6 : t.payload;
+ return t.payload == null ? S6 : t.payload;
} }
-}), { setBrushSettings: Hye } = S6.actions, Uye = S6.reducer, Wye = (e, t) => {
+}), { setBrushSettings: Hye } = C6.actions, Uye = C6.reducer, Wye = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -56697,7 +56719,7 @@ function Kye(e) {
var qye = function(e) {
var { width: t, height: n } = e, r = Kye(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 = yV({
+}, w6 = yV({
name: "referenceElements",
initialState: {
dots: [],
@@ -56727,17 +56749,17 @@ var qye = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: Jye, removeDot: Yye, addArea: Xye, removeArea: Zye, addLine: Qye, removeLine: $ye } = C6.actions, ebe = C6.reducer, w6 = /*#__PURE__*/ (0, D.createContext)(void 0), tbe = (e) => {
- var { children: t } = e, [n] = (0, D.useState)(`${UR("recharts")}-clip`), r = k3();
+}), { addDot: Jye, removeDot: Yye, addArea: Xye, removeArea: Zye, addLine: Qye, removeLine: $ye } = w6.actions, ebe = w6.reducer, T6 = /*#__PURE__*/ (0, D.createContext)(void 0), tbe = (e) => {
+ var { children: t } = e, [n] = (0, D.useState)(`${UR("recharts")}-clip`), r = A3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
- return /*#__PURE__*/ D.createElement(w6.Provider, { value: n }, /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("clipPath", { id: n }, /*#__PURE__*/ D.createElement("rect", {
+ return /*#__PURE__*/ D.createElement(T6.Provider, { value: n }, /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("clipPath", { id: n }, /*#__PURE__*/ D.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, nbe = () => (0, D.useContext)(w6), rbe = class {
+}, nbe = () => (0, D.useContext)(T6), rbe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -56763,7 +56785,7 @@ var qye = function(e) {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function T6(e, t) {
+function E6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56773,12 +56795,12 @@ function T6(e, t) {
}
return n;
}
-function E6(e) {
+function D6(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) {
+ t % 2 ? E6(Object(n), !0).forEach(function(t) {
ibe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56806,14 +56828,14 @@ function obe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function D6() {
- return D6 = Object.assign ? Object.assign.bind() : function(e) {
+function O6() {
+ return O6 = 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;
- }, D6.apply(null, arguments);
+ }, O6.apply(null, arguments);
}
var sbe = (e, t) => {
var n;
@@ -56821,7 +56843,7 @@ var sbe = (e, t) => {
else if (typeof e == "function") n = e(t);
else {
if (!JV(t.x1) || !JV(t.y1) || !JV(t.x2) || !JV(t.y2)) return null;
- n = /*#__PURE__*/ D.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
+ n = /*#__PURE__*/ D.createElement("line", O6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
}, cbe = (e, t, n, r, i, a) => {
@@ -56875,7 +56897,7 @@ function pbe(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 }, NL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, NL(e)), {}, {
x1: g,
y1: _,
x2: v,
@@ -56886,10 +56908,10 @@ function pbe(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ D.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-reference-line", i) }, sbe(r, b), /*#__PURE__*/ D.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-reference-line", i) }, sbe(r, b), /*#__PURE__*/ D.createElement(Q2, O6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ D.createElement(a4, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ D.createElement(o4, { label: e.label }), e.children)));
}
var mbe = {
ifOverflow: "discard",
@@ -56903,7 +56925,7 @@ var mbe = {
position: "middle",
zIndex: TJ.line
};
-function O6(e) {
+function k6(e) {
var t = sz(e, mbe);
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(fbe, {
yAxisId: t.yAxisId,
@@ -56914,10 +56936,10 @@ function O6(e) {
segment: t.segment
}), /*#__PURE__*/ D.createElement(pbe, t));
}
-O6.displayName = "ReferenceLine";
+k6.displayName = "ReferenceLine";
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function k6(e, t) {
+function A6(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -56944,21 +56966,21 @@ function gbe(e, t, n) {
end: r ? i : a
};
}
-function A6(e, t, n, r, i) {
+function j6(e, t, n, r, i) {
if (e * t < e * r || e * t > e * i) return !1;
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
function _be(e, t) {
- return k6(e, t + 1);
+ return A6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
function vbe(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) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || A6(e, p, f, u, s);
+ if (t === void 0) return { v: A6(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || j6(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
@@ -56970,7 +56992,7 @@ function ybe(e, t, n, r, i) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || A6(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || j6(e, f, c, u, s);
if (!p) return d = !1, 1;
p && (u = f + e * (c() / 2 + i));
}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);
@@ -56986,7 +57008,7 @@ function ybe(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function j6(e, t) {
+function M6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56996,12 +57018,12 @@ function j6(e, t) {
}
return n;
}
-function M6(e) {
+function N6(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) {
+ t % 2 ? M6(Object(n), !0).forEach(function(t) {
bbe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57036,9 +57058,9 @@ function Cbe(e, t, n, r, i) {
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = M6(M6({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = M6(M6({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && A6(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = M6(M6({}, l), {}, { isShow: !0 }));
+ a[t] = l = N6(N6({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = N6(N6({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && j6(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = N6(N6({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
@@ -57048,7 +57070,7 @@ function wbe(e, t, n, r, i, a) {
var u = r[s - 1];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = M6(M6({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && A6(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = M6(M6({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = N6(N6({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && j6(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = N6(N6({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -57057,17 +57079,17 @@ function wbe(e, t, n, r, i, a) {
var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);
if (t === 0) {
var d = e * (a.coordinate - e * u() / 2 - c);
- o[t] = a = M6(M6({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = M6(M6({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && A6(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = M6(M6({}, a), {}, { isShow: !0 }));
+ o[t] = a = N6(N6({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = N6(N6({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && j6(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = N6(N6({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function N6(e, t, n) {
+function P6(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
if (Z(c) || xG.isSsr) return _be(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? T2(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -57075,10 +57097,10 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? hbe(w2(i, {
+ return p === "width" ? hbe(T2(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : w2(i, {
+ }), m, d) : T2(i, {
fontSize: t,
letterSpacing: n
})[p];
@@ -57100,7 +57122,7 @@ var Tbe = (e) => {
return Math.round(l);
}
return 0;
-}, P6 = yV({
+}, F6 = yV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -57116,7 +57138,7 @@ var Tbe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: Ebe, removeRenderedTicks: Dbe } = P6.actions, Obe = P6.reducer, kbe = [
+}), { setRenderedTicks: Ebe, removeRenderedTicks: Dbe } = F6.actions, Obe = F6.reducer, kbe = [
"axisLine",
"width",
"height",
@@ -57144,16 +57166,16 @@ function jbe(e, t) {
}
return n;
}
-function F6() {
- return F6 = Object.assign ? Object.assign.bind() : function(e) {
+function I6() {
+ return I6 = 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;
- }, F6.apply(null, arguments);
+ }, I6.apply(null, arguments);
}
-function I6(e, t) {
+function L6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57163,12 +57185,12 @@ function I6(e, t) {
}
return n;
}
-function L6(e) {
+function R6(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) {
+ t % 2 ? L6(Object(n), !0).forEach(function(t) {
Mbe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57196,7 +57218,7 @@ function Pbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var R6 = {
+var z6 = {
x: 0,
y: 0,
width: 0,
@@ -57223,10 +57245,10 @@ var R6 = {
function Fbe(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), jL(s)), {}, { fill: "none" });
+ var l = R6(R6(R6({}, c), jL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = L6(L6({}, l), {}, {
+ l = R6(R6({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -57234,14 +57256,14 @@ function Fbe(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = L6(L6({}, l), {}, {
+ l = R6(R6({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ D.createElement("line", F6({}, l, { className: Dm("recharts-cartesian-axis-line", IR(s, "className")) }));
+ return /*#__PURE__*/ D.createElement("line", I6({}, l, { className: Dm("recharts-cartesian-axis-line", IR(s, "className")) }));
}
function Ibe(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;
@@ -57287,11 +57309,11 @@ function Rbe(e, t) {
}
function zbe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Dm(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ D.isValidElement(t)) i = /*#__PURE__*/ D.cloneElement(t, L6(L6({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ D.isValidElement(t)) i = /*#__PURE__*/ D.cloneElement(t, R6(R6({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(R6(R6({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Dm(o, z4(t))), i = /*#__PURE__*/ D.createElement(U2, F6({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Dm(o, B4(t))), i = /*#__PURE__*/ D.createElement(W2, I6({}, n, { className: o }), r);
}
return i;
}
@@ -57319,16 +57341,16 @@ function Bbe(e) {
]), null;
}
var Vbe = /*#__PURE__*/ (0, D.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 = jL(b), E = ML(r), O = L2(T.textAnchor) ? T.textAnchor : Lbe(u, d), k = Rbe(u, d), A = {};
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = jL(b), E = ML(r), O = R2(T.textAnchor) ? T.textAnchor : Lbe(u, d), k = Rbe(u, d), A = {};
typeof i == "object" && (A = i);
- var j = L6(L6({}, T), {}, { fill: "none" }, A), M = w.map((e) => L6({ entry: e }, Ibe(e, f, p, m, h, u, g, d, _))), N = M.map((e) => {
+ var j = R6(R6({}, T), {}, { fill: "none" }, A), M = w.map((e) => R6({ entry: e }, Ibe(e, f, p, m, h, u, g, d, _))), N = M.map((e) => {
var { entry: t, line: n } = e;
return /*#__PURE__*/ D.createElement(LL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ D.createElement("line", F6({}, j, n, { className: Dm("recharts-cartesian-axis-tick-line", IR(i, "className")) })));
+ }, i && /*#__PURE__*/ D.createElement("line", I6({}, j, n, { className: Dm("recharts-cartesian-axis-tick-line", IR(i, "className")) })));
}), P = M.map((e, t) => {
- var { entry: n, tick: i } = e, u = L6(L6({}, L6(L6(L6(L6({ verticalAnchor: k }, T), {}, {
+ var { entry: n, tick: i } = e, u = R6(R6({}, R6(R6(R6(R6({ verticalAnchor: k }, T), {}, {
textAnchor: O,
stroke: "none",
fill: a
@@ -57339,7 +57361,7 @@ var Vbe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ D.createElement(LL, F6({
+ return /*#__PURE__*/ D.createElement(LL, I6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
}, az(x, n, t)), r && /*#__PURE__*/ D.createElement(zbe, {
@@ -57352,7 +57374,7 @@ var Vbe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
ticks: w,
axisId: C,
axisType: S
- }), P.length > 0 && /*#__PURE__*/ D.createElement(t2, { zIndex: TJ.label }, /*#__PURE__*/ D.createElement("g", {
+ }), P.length > 0 && /*#__PURE__*/ D.createElement(n2, { zIndex: TJ.label }, /*#__PURE__*/ D.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, P)), N.length > 0 && /*#__PURE__*/ D.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, N));
@@ -57376,7 +57398,7 @@ var Vbe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ D.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-cartesian-axis", a) }, /*#__PURE__*/ D.createElement(Fbe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(LL, { className: Dm("recharts-cartesian-axis", a) }, /*#__PURE__*/ D.createElement(Fbe, {
x: e.x,
y: e.y,
width: r,
@@ -57409,22 +57431,22 @@ var Vbe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ D.createElement(Z2, {
+ }), /*#__PURE__*/ D.createElement(Q2, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ D.createElement(a4, {
+ }, /*#__PURE__*/ D.createElement(o4, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), z6 = /*#__PURE__*/ D.forwardRef((e, t) => {
- var n = sz(e, R6);
- return /*#__PURE__*/ D.createElement(Hbe, F6({}, n, { ref: t }));
+}), B6 = /*#__PURE__*/ D.forwardRef((e, t) => {
+ var n = sz(e, z6);
+ return /*#__PURE__*/ D.createElement(Hbe, I6({}, n, { ref: t }));
});
-z6.displayName = "CartesianAxis";
+B6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
var Ube = [
@@ -57434,7 +57456,7 @@ var Ube = [
"y2",
"key"
], Wbe = ["offset"], Gbe = ["xAxisId", "yAxisId"], Kbe = ["xAxisId", "yAxisId"];
-function B6(e, t) {
+function V6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57444,12 +57466,12 @@ function B6(e, t) {
}
return n;
}
-function V6(e) {
+function H6(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) {
+ t % 2 ? V6(Object(n), !0).forEach(function(t) {
qbe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57477,16 +57499,16 @@ function Ybe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function H6() {
- return H6 = Object.assign ? Object.assign.bind() : function(e) {
+function U6() {
+ return U6 = 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;
- }, H6.apply(null, arguments);
+ }, U6.apply(null, arguments);
}
-function U6(e, t) {
+function W6(e, t) {
if (e == null) return {};
var n, r, i = Xbe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -57520,13 +57542,13 @@ var Zbe = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function W6(e) {
+function G6(e) {
var { option: t, lineItemProps: n } = e, r;
if (/*#__PURE__*/ D.isValidElement(t)) r = /*#__PURE__*/ D.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 = jL(U6(n, Ube)) ?? {}, { offset: u } = l, d = U6(l, Wbe);
- r = /*#__PURE__*/ D.createElement("line", H6({}, d, {
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = jL(W6(n, Ube)) ?? {}, { offset: u } = l, d = W6(l, Wbe);
+ r = /*#__PURE__*/ D.createElement("line", U6({}, d, {
x1: i,
y1: a,
x2: o,
@@ -57540,8 +57562,8 @@ function W6(e) {
function Qbe(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, Gbe), c = i.map((e, i) => {
- var a = V6(V6({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, Gbe), c = i.map((e, i) => {
+ var a = H6(H6({}, s), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -57549,7 +57571,7 @@ function Qbe(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ D.createElement(W6, {
+ return /*#__PURE__*/ D.createElement(G6, {
key: `line-${i}`,
option: r,
lineItemProps: a
@@ -57560,8 +57582,8 @@ function Qbe(e) {
function $be(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, Kbe), c = i.map((e, i) => {
- var a = V6(V6({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, Kbe), c = i.map((e, i) => {
+ var a = H6(H6({}, s), {}, {
x1: e,
y1: t,
x2: e,
@@ -57569,7 +57591,7 @@ function $be(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ D.createElement(W6, {
+ return /*#__PURE__*/ D.createElement(G6, {
option: r,
lineItemProps: a,
key: `line-${i}`
@@ -57625,7 +57647,7 @@ function txe(e) {
}
var nxe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return eH(N6(V6(V6(V6({}, R6), n), {}, {
+ return eH(P6(H6(H6(H6({}, z6), n), {}, {
ticks: tH(n, !0),
viewBox: {
x: 0,
@@ -57636,7 +57658,7 @@ var nxe = (e, t) => {
})), a.left, a.left + a.width, t);
}, rxe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return eH(N6(V6(V6(V6({}, R6), n), {}, {
+ return eH(P6(H6(H6(H6({}, z6), n), {}, {
ticks: tH(n, !0),
viewBox: {
x: 0,
@@ -57659,8 +57681,8 @@ var nxe = (e, t) => {
syncWithTicks: !1,
zIndex: TJ.grid
};
-function G6(e) {
- var t = lU(), n = uU(), r = cU(), i = V6(V6({}, sz(e, ixe)), {}, {
+function K6(e) {
+ var t = lU(), n = uU(), r = cU(), i = H6(H6({}, sz(e, ixe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
@@ -57670,7 +57692,7 @@ function G6(e) {
var _ = i.verticalCoordinatesGenerator || nxe, v = i.horizontalCoordinatesGenerator || rxe, { 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,
+ yAxis: g ? H6(H6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
@@ -57679,14 +57701,14 @@ function G6(e) {
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
- xAxis: h ? V6(V6({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
+ xAxis: h ? H6(H6({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, C ? !0 : d);
RH(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ D.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ D.createElement(Zbe, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: i.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ D.createElement(Zbe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -57694,22 +57716,22 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ D.createElement(exe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ D.createElement(txe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ D.createElement(Qbe, H6({}, i, {
+ }), /*#__PURE__*/ D.createElement(exe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ D.createElement(txe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ D.createElement(Qbe, U6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ D.createElement($be, H6({}, i, {
+ })), /*#__PURE__*/ D.createElement($be, U6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
yAxis: g
}))));
}
-G6.displayName = "CartesianGrid";
+K6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var K6 = yV({
+var q6 = yV({
name: "errorBars",
initialState: {},
reducers: {
@@ -57726,7 +57748,7 @@ var K6 = yV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: axe, replaceErrorBar: oxe, removeErrorBar: sxe } = K6.actions, cxe = K6.reducer, lxe = ["children"];
+}), { addErrorBar: axe, replaceErrorBar: oxe, removeErrorBar: sxe } = q6.actions, cxe = q6.reducer, lxe = ["children"];
function uxe(e, t) {
if (e == null) return {};
var n, r, i = dxe(e, t);
@@ -57756,13 +57778,13 @@ var fxe = /*#__PURE__*/ (0, D.createContext)({
}),
errorBarOffset: 0
});
-function q6(e) {
+function J6(e) {
var { children: t } = e, n = uxe(e, lxe);
return /*#__PURE__*/ D.createElement(fxe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function J6(e, t) {
+function Y6(e, t) {
var n = Q((t) => N$(t, e)), r = Q((e) => I$(e, t)), i = n?.allowDataOverflow ?? j$.allowDataOverflow, a = r?.allowDataOverflow ?? P$.allowDataOverflow;
return {
needClip: i || a,
@@ -57770,8 +57792,8 @@ function J6(e, t) {
needClipY: a
};
}
-function Y6(e) {
- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = k3(), { needClipX: a, needClipY: o, needClip: s } = J6(t, n);
+function X6(e) {
+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = A3(), { needClipX: a, needClipY: o, needClip: s } = Y6(t, n);
if (!s || !i) return null;
var { x: c, y: l, width: u, height: d } = i;
return /*#__PURE__*/ D.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ D.createElement("rect", {
@@ -57783,22 +57805,22 @@ 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), pxe = $([
+var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), pxe = $([
fU,
- X6,
- Q6,
Z6,
- $6
+ $6,
+ Q6,
+ e8
], (e, t, n, r, i) => $V(e, "xAxis") ? lH(t, r, !1) : lH(n, i, !1)), mxe = (e, t, n, r, i) => i;
function hxe(e) {
return e.type === "line";
}
var gxe = $([
fU,
- X6,
- Q6,
Z6,
$6,
+ Q6,
+ e8,
$([H$, mxe], (e, t) => e.filter(hxe).find((e) => e.id === t)),
pxe,
Qq
@@ -57820,7 +57842,7 @@ var gxe = $([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function e8(e) {
+function t8(e) {
var t = ML(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
@@ -57858,16 +57880,16 @@ var _xe = ["id"], vxe = [
"yAxisId",
"id"
];
-function t8() {
- return t8 = Object.assign ? Object.assign.bind() : function(e) {
+function n8() {
+ return n8 = 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;
- }, t8.apply(null, arguments);
+ }, n8.apply(null, arguments);
}
-function n8(e, t) {
+function r8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57877,12 +57899,12 @@ function n8(e, t) {
}
return n;
}
-function r8(e) {
+function i8(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) {
+ t % 2 ? r8(Object(n), !0).forEach(function(t) {
bxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n8(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57910,7 +57932,7 @@ function Sxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function i8(e, t) {
+function a8(e, t) {
if (e == null) return {};
var n, r, i = Cxe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -57956,15 +57978,15 @@ var wxe = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ D.createElement(h3, { tooltipEntrySettings: d });
-}), a8 = (e, t) => `${t}px ${e}px`;
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: d });
+}), o8 = (e, t) => `${t}px ${e}px`;
function Exe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
var Dxe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
- if (!r) return a8(t, e);
+ if (!r) return o8(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
var l, u = n[s];
if (u != null && c + u > a) {
@@ -57980,8 +58002,8 @@ var Dxe = (e, t, n) => {
].map((e) => `${e}px`).join(", ");
};
function Oxe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = jL(i8(r, _xe));
- return /*#__PURE__*/ D.createElement(T3, {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = jL(a8(r, _xe));
+ return /*#__PURE__*/ D.createElement(E3, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -58002,7 +58024,7 @@ function kxe(e) {
upperWidth: 0,
height: 0
};
- return r8(r8({}, t), {}, {
+ return i8(i8({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -58010,10 +58032,10 @@ function kxe(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ D.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { 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({}, NL(i8(a, vxe))), {}, {
+function s8(e) {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, NL(a8(a, vxe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -58023,7 +58045,7 @@ function o8(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ D.createElement(D.Fragment, null, r?.length > 1 && /*#__PURE__*/ D.createElement(d3, t8({
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, r?.length > 1 && /*#__PURE__*/ D.createElement(f3, n8({
shapeType: "curve",
option: u
}, d, { pathRef: n })), /*#__PURE__*/ D.createElement(Oxe, {
@@ -58060,26 +58082,26 @@ function jxe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = KR(O, T + O, e), u = Math.min(l, T), d = c ? s ? Dxe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = KR(O, T + O, e), u = Math.min(l, T), d = c ? s ? Dxe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
- return r8(r8({}, t), {}, {
+ return i8(i8({}, t), {}, {
x: KR(i.x, t.x, e),
y: KR(i.y, t.y, e)
});
}
- return f ? r8(r8({}, t), {}, {
+ return f ? i8(i8({}, t), {}, {
x: KR(p * 2, t.x, e),
y: KR(m / 2, t.y, e)
- }) : r8(r8({}, t), {}, {
+ }) : i8(i8({}, t), {}, {
x: t.x,
y: t.y
});
});
- return i.current = g, /*#__PURE__*/ D.createElement(o8, {
+ return i.current = g, /*#__PURE__*/ D.createElement(s8, {
props: n,
points: g,
clipPathId: t,
@@ -58087,14 +58109,14 @@ function jxe(e) {
strokeDasharray: d
});
}
- return /*#__PURE__*/ D.createElement(o8, {
+ return /*#__PURE__*/ D.createElement(s8, {
props: n,
points: o,
clipPathId: t,
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ D.createElement(f4, { label: n.label }));
+ }), /*#__PURE__*/ D.createElement(p4, { label: n.label }));
}
function Mxe(e) {
var { clipPathId: t, props: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(0), a = (0, D.useRef)(null);
@@ -58115,8 +58137,8 @@ var Nxe = (e, t) => ({
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 = Dm("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__*/ D.createElement(t2, { zIndex: f }, /*#__PURE__*/ D.createElement(LL, { className: p }, d && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(Y6, {
+ var p = Dm("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: f }, /*#__PURE__*/ D.createElement(LL, { className: p }, d && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -58125,7 +58147,7 @@ var Nxe = (e, t) => ({
y: o - v / 2,
width: c + v,
height: l + v
- }))), /*#__PURE__*/ D.createElement(q6, {
+ }))), /*#__PURE__*/ D.createElement(J6, {
xAxisId: i,
yAxisId: a,
data: n,
@@ -58134,7 +58156,7 @@ var Nxe = (e, t) => ({
}, /*#__PURE__*/ D.createElement(Mxe, {
props: this.props,
clipPathId: m
- }))), /*#__PURE__*/ D.createElement(M3, {
+ }))), /*#__PURE__*/ D.createElement(N3, {
activeDot: this.props.activeDot,
points: n,
mainColor: this.props.stroke,
@@ -58142,7 +58164,7 @@ var Nxe = (e, t) => ({
clipPath: y
}));
}
-}, s8 = {
+}, c8 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -58163,10 +58185,10 @@ var Nxe = (e, t) => ({
type: "linear"
};
function Fxe(e) {
- var t = sz(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, yxe), { needClip: _ } = J6(p, m), v = k3(), y = pU(), b = MH(), x = Q((e) => gxe(e, p, m, b, h));
+ var t = sz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, yxe), { needClip: _ } = Y6(p, m), v = A3(), y = pU(), b = MH(), x = Q((e) => gxe(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__*/ D.createElement(Pxe, t8({}, g, {
+ return /*#__PURE__*/ D.createElement(Pxe, n8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -58222,11 +58244,11 @@ function Ixe(e) {
}).filter(Boolean);
}
function Lxe(e) {
- var t = sz(e, s8), n = MH();
- return /*#__PURE__*/ D.createElement(v3, {
+ var t = sz(e, c8), n = MH();
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(g3, { legendPayload: wxe(t) }), /*#__PURE__*/ D.createElement(Txe, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: wxe(t) }), /*#__PURE__*/ D.createElement(Txe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -58237,7 +58259,7 @@ function Lxe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ D.createElement(b3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "line",
id: e,
data: t.data,
@@ -58247,33 +58269,33 @@ function Lxe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ D.createElement(Fxe, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(Fxe, n8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ D.memo(Lxe, BW);
-c8.displayName = "Line";
+var l8 = /*#__PURE__*/ D.memo(Lxe, BW);
+l8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function l8(e, t) {
+function u8(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function u8(e, t) {
+function d8(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#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), Rxe = $([
+var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Rxe = $([
fU,
- d8,
- p8,
f8,
- m8
-], (e, t, n, r, i) => $V(e, "xAxis") ? lH(t, r, !1) : lH(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => $V(fU(e), "xAxis") ? "yAxis" : "xAxis", zxe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), Bxe = $([
- fU,
- d8,
+ m8,
p8,
+ h8
+], (e, t, n, r, i) => $V(e, "xAxis") ? lH(t, r, !1) : lH(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => $V(fU(e), "xAxis") ? "yAxis" : "xAxis", zxe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), Bxe = $([
+ fU,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), zxe(e, t), n)], (e, t) => {
+ p8,
+ h8,
+ $([g8, (e, t, n) => a1(e, _8(e), zxe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = XJ(e);
if (n != null && r != null) {
@@ -58284,7 +58306,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
}),
$q,
Rxe,
- h8,
+ g8,
wJ
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
@@ -58320,16 +58342,16 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
"xAxisId",
"yAxisId"
];
-function _8() {
- return _8 = Object.assign ? Object.assign.bind() : function(e) {
+function v8() {
+ return v8 = 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;
- }, _8.apply(null, arguments);
+ }, v8.apply(null, arguments);
}
-function v8(e, t) {
+function y8(e, t) {
if (e == null) return {};
var n, r, i = Uxe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -58347,7 +58369,7 @@ function Uxe(e, t) {
}
return n;
}
-function y8(e, t) {
+function b8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -58357,12 +58379,12 @@ function y8(e, t) {
}
return n;
}
-function b8(e) {
+function x8(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) {
+ t % 2 ? b8(Object(n), !0).forEach(function(t) {
Wxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -58390,7 +58412,7 @@ function Kxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function x8(e, t) {
+function S8(e, t) {
return e && e !== "none" ? e : t;
}
var qxe = (e) => {
@@ -58399,7 +58421,7 @@ var qxe = (e) => {
inactive: o,
dataKey: t,
type: a,
- color: x8(r, i),
+ color: S8(r, i),
value: dH(n, t),
payload: e
}];
@@ -58416,16 +58438,16 @@ var qxe = (e) => {
name: dH(o, t),
hide: s,
type: l,
- color: x8(r, a),
+ color: S8(r, a),
unit: c,
graphicalItemId: u
}
};
- return /*#__PURE__*/ D.createElement(h3, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: d });
});
function Yxe(e) {
var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = jL(r);
- return /*#__PURE__*/ D.createElement(T3, {
+ return /*#__PURE__*/ D.createElement(E3, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -58446,7 +58468,7 @@ function Xxe(e) {
upperWidth: 0,
height: 0
};
- return b8(b8({}, t), {}, {
+ return x8(x8({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -58454,11 +58476,11 @@ function Xxe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ D.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { 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, Vxe), p = jL(f), m = NL(f);
- return /*#__PURE__*/ D.createElement(D.Fragment, null, t?.length > 1 && /*#__PURE__*/ D.createElement(LL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ D.createElement(KG, _8({}, m, {
+function C8(e) {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, Vxe), p = jL(f), m = NL(f);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, t?.length > 1 && /*#__PURE__*/ D.createElement(LL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ D.createElement(KG, v8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -58467,14 +58489,14 @@ function S8(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ D.createElement(KG, _8({}, p, {
+ })), c !== "none" && /*#__PURE__*/ D.createElement(KG, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ D.createElement(KG, _8({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ D.createElement(KG, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
@@ -58552,7 +58574,7 @@ function eSe(e) {
var r = Math.floor(n * l);
if (x[r]) {
var i = x[r];
- return b8(b8({}, t), {}, {
+ return x8(x8({}, t), {}, {
x: KR(i.x, t.x, e),
y: KR(i.y, t.y, e)
});
@@ -58562,14 +58584,14 @@ function eSe(e) {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
- return b8(b8({}, t), {}, {
+ return x8(x8({}, t), {}, {
x: KR(i.x, t.x, e),
y: KR(i.y, t.y, e)
});
}
return t;
});
- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ D.createElement(S8, {
+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ D.createElement(C8, {
points: u,
baseLine: d,
needClip: t,
@@ -58583,14 +58605,14 @@ function eSe(e) {
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ D.createElement(LL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ D.createElement(S8, {
+ }))), /*#__PURE__*/ D.createElement(LL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ D.createElement(C8, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ D.createElement(f4, { label: r.label }));
+ }), /*#__PURE__*/ D.createElement(p4, { label: r.label }));
}
function tSe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, D.useRef)(null), a = (0, D.useRef)();
@@ -58606,8 +58628,8 @@ var nSe = class extends D.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 = Dm("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__*/ D.createElement(t2, { zIndex: p }, /*#__PURE__*/ D.createElement(LL, { className: m }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(Y6, {
+ var m = Dm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p }, /*#__PURE__*/ D.createElement(LL, { className: m }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -58620,15 +58642,15 @@ var nSe = class extends D.PureComponent {
needClip: o,
clipPathId: h,
props: this.props
- })), /*#__PURE__*/ D.createElement(M3, {
+ })), /*#__PURE__*/ D.createElement(N3, {
points: n,
- mainColor: x8(this.props.stroke, this.props.fill),
+ mainColor: S8(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ D.createElement(M3, {
+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ D.createElement(N3, {
points: f,
- mainColor: x8(this.props.stroke, this.props.fill),
+ mainColor: S8(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
@@ -58655,10 +58677,10 @@ var nSe = class extends D.PureComponent {
zIndex: TJ.area
};
function iSe(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, Hxe), g = pU(), _ = U0(), { needClip: v } = J6(p, m), y = MH(), { points: b, isRange: x, baseLine: S } = Q((t) => Bxe(t, e.id, y)) ?? {}, C = k3();
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, Hxe), g = pU(), _ = W0(), { needClip: v } = Y6(p, m), y = MH(), { points: b, isRange: x, baseLine: S } = Q((t) => Bxe(t, e.id, y)) ?? {}, C = A3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: O } = C;
- return !b || !b.length ? null : /*#__PURE__*/ D.createElement(nSe, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ D.createElement(nSe, v8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -58746,10 +58768,10 @@ function oSe(e) {
}
function sSe(e) {
var t = sz(e, rSe), n = MH();
- return /*#__PURE__*/ D.createElement(v3, {
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(g3, { legendPayload: qxe(t) }), /*#__PURE__*/ D.createElement(Jxe, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: qxe(t) }), /*#__PURE__*/ D.createElement(Jxe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -58760,7 +58782,7 @@ function sSe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ D.createElement(b3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "area",
id: e,
data: t.data,
@@ -58774,10 +58796,10 @@ function sSe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ D.createElement(iSe, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(iSe, v8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ D.memo(sSe, BW);
-C8.displayName = "Area";
+var w8 = /*#__PURE__*/ D.memo(sSe, BW);
+w8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
var cSe = "Invariant failed";
@@ -58786,17 +58808,17 @@ function lSe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-function w8() {
- return w8 = Object.assign ? Object.assign.bind() : function(e) {
+function T8() {
+ return T8 = 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;
- }, w8.apply(null, arguments);
+ }, T8.apply(null, arguments);
}
-function T8(e) {
- return /*#__PURE__*/ D.createElement(d3, w8({
+function E8(e) {
+ return /*#__PURE__*/ D.createElement(f3, T8({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
@@ -58809,31 +58831,31 @@ var uSe = function(e) {
var i = Z(n) || JR(n);
return i ? e(n, r) : (!i && lSe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, dSe = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), fSe = $([E8], (e) => e?.maxBarSize), pSe = (e, t, n, r) => r, mSe = $([
+}, dSe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), fSe = $([D8], (e) => e?.maxBarSize), pSe = (e, t, n, r) => r, mSe = $([
fU,
H$,
- l8,
u8,
+ d8,
dSe
], (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")), hSe = (e, t, n) => {
- var r = fU(e), i = l8(e, t), a = u8(e, t);
+ var r = fU(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
}, gSe = $([
mSe,
_J,
(e, t) => {
- var n = fU(e), r = l8(e, t), i = u8(e, t);
+ var n = fU(e), r = u8(e, t), i = d8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), _Se = (e, t, n) => {
- var r = E8(e, t);
+], Y3), _Se = (e, t, n) => {
+ var r = D8(e, t);
if (r == null) return 0;
- var i = l8(e, t), a = u8(e, t);
+ var i = u8(e, t), a = d8(e, t);
if (i == null || a == null) return 0;
var o = fU(e), s = mJ(e), { maxBarSize: c } = r, l = JR(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)), lH(u, d, !0) ?? l ?? 0;
-}, D8 = (e, t, n) => {
- var r = fU(e), i = l8(e, t), a = u8(e, t);
+}, O8 = (e, t, n) => {
+ var r = fU(e), i = u8(e, t), a = d8(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)), lH(o, s);
@@ -58842,19 +58864,19 @@ var uSe = function(e) {
OH,
AH,
(e, t, n) => {
- var r = l8(e, t);
+ var r = u8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u8(e, t);
+ var r = d8(e, t);
if (r != null) return J1(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = l8(e, t);
+ var r = u8(e, t);
if (r != null) return q1(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u8(e, t);
+ var r = d8(e, t);
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
@@ -58863,14 +58885,14 @@ var uSe = function(e) {
hJ,
gJ,
_Se,
- D8,
+ O8,
fSe
- ], Z3), E8], $3),
+ ], Q3), D8], e6),
fU,
$q,
+ O8,
+ $([hSe, D8], $3),
D8,
- $([hSe, E8], Q3),
- E8,
pSe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
@@ -58894,14 +58916,14 @@ var uSe = function(e) {
});
}
}), ySe = ["index"];
-function O8() {
- return O8 = Object.assign ? Object.assign.bind() : function(e) {
+function k8() {
+ return k8 = 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;
- }, O8.apply(null, arguments);
+ }, k8.apply(null, arguments);
}
function bSe(e, t) {
if (e == null) return {};
@@ -58921,19 +58943,19 @@ function xSe(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, D.createContext)(void 0), SSe = (e) => {
- var t = (0, D.useContext)(k8);
+var A8 = /*#__PURE__*/ (0, D.createContext)(void 0), SSe = (e) => {
+ var t = (0, D.useContext)(A8);
if (t != null) return t.stackId;
if (e != null) return rH(e);
}, CSe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, wSe = (e) => {
- var t = (0, D.useContext)(k8);
+ var t = (0, D.useContext)(A8);
if (t != null) {
var { stackId: n } = t;
return `url(#${CSe(n, e)})`;
}
-}, A8 = (e) => {
+}, j8 = (e) => {
var { index: t } = e, n = bSe(e, ySe), r = wSe(t);
- return /*#__PURE__*/ D.createElement(LL, O8({
+ return /*#__PURE__*/ D.createElement(LL, k8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
@@ -58950,16 +58972,16 @@ var k8 = /*#__PURE__*/ (0, D.createContext)(void 0), SSe = (e) => {
"onClick",
"onMouseLeave"
];
-function j8() {
- return j8 = Object.assign ? Object.assign.bind() : function(e) {
+function M8() {
+ return M8 = 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;
- }, j8.apply(null, arguments);
+ }, M8.apply(null, arguments);
}
-function M8(e, t) {
+function N8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -58969,12 +58991,12 @@ function M8(e, t) {
}
return n;
}
-function N8(e) {
+function P8(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) {
+ t % 2 ? N8(Object(n), !0).forEach(function(t) {
kSe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -59002,7 +59024,7 @@ function jSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function P8(e, t) {
+function F8(e, t) {
if (e == null) return {};
var n, r, i = MSe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -59048,16 +59070,16 @@ var NSe = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ D.createElement(h3, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: u });
});
function FSe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, TSe), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+ var t = Q(F0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, TSe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
if (!i || n == null) return null;
var p = ML(i);
- return /*#__PURE__*/ D.createElement(t2, { zIndex: f6(i, TJ.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, ESe);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p6(i, TJ.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, ESe);
if (!o) return null;
- var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = P8(P8(P8(P8(P8({
option: i,
isActive: String(n) === t
}, c), {}, { fill: "#eee" }, o), p), az(l, e, n)), {}, {
@@ -59068,7 +59090,7 @@ function FSe(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ D.createElement(T8, j8({ key: `background-bar-${n}` }, _));
+ return /*#__PURE__*/ D.createElement(E8, M8({ key: `background-bar-${n}` }, _));
}));
}
function ISe(e) {
@@ -59081,7 +59103,7 @@ function ISe(e) {
upperWidth: e.width,
height: e.height
};
- return N8(N8({}, t), {}, {
+ return P8(P8({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -59089,10 +59111,10 @@ function ISe(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ D.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, n);
}
function LSe(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, D.useState)(!1), [f, p] = (0, D.useState)(!1);
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(F0), c = Q(L0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1);
(0, D.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
@@ -59103,18 +59125,18 @@ function LSe(e) {
}, [l]);
var m = (0, D.useCallback)(() => {
l || d(!1);
- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ D.createElement(T8, j8({}, r, { name: String(r.name) }, i, {
+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ D.createElement(E8, M8({}, r, { name: String(r.name) }, i, {
isActive: h,
option: _,
index: a,
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ D.createElement(t2, { zIndex: TJ.activeBar }, /*#__PURE__*/ D.createElement(A8, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ D.createElement(n2, { zIndex: TJ.activeBar }, /*#__PURE__*/ D.createElement(j8, { index: i.originalDataIndex }, v)) : v;
}
function RSe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
- return /*#__PURE__*/ D.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ D.createElement(E8, M8({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
@@ -59122,8 +59144,8 @@ function RSe(e) {
}));
}
function zSe(e) {
- var { data: t, props: n } = e, r = jL(n) ?? {}, { id: i } = r, a = P8(r, DSe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, OSe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
- return t ? /*#__PURE__*/ D.createElement(D.Fragment, null, t.map((e, t) => /*#__PURE__*/ D.createElement(A8, j8({
+ var { data: t, props: n } = e, r = jL(n) ?? {}, { id: i } = r, a = F8(r, DSe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, OSe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
+ return t ? /*#__PURE__*/ D.createElement(D.Fragment, null, t.map((e, t) => /*#__PURE__*/ D.createElement(j8, M8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
@@ -59167,7 +59189,7 @@ function BSe(e) {
}, (e) => {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
- if (r) return N8(N8({}, t), {}, {
+ if (r) return P8(P8({}, t), {}, {
x: KR(r.x, t.x, e),
y: KR(r.y, t.y, e),
width: KR(r.width, t.width, e),
@@ -59175,13 +59197,13 @@ function BSe(e) {
});
if (i === "horizontal") {
var a = KR(0, t.height, e), o = KR(t.stackedBarStart, t.y, e);
- return N8(N8({}, t), {}, {
+ return P8(P8({}, t), {}, {
y: o,
height: a
});
}
var s = KR(0, t.width, e), c = KR(t.stackedBarStart, t.x, e);
- return N8(N8({}, t), {}, {
+ return P8(P8({}, t), {}, {
width: s,
x: c
});
@@ -59190,7 +59212,7 @@ function BSe(e) {
props: t,
data: a
}));
- }), /*#__PURE__*/ D.createElement(f4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ D.createElement(p4, { label: t.label }), t.children);
}
function VSe(e) {
var t = (0, D.useRef)(null);
@@ -59199,7 +59221,7 @@ function VSe(e) {
props: e
});
}
-var F8 = 0, HSe = (e, t) => {
+var I8 = 0, HSe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -59215,7 +59237,7 @@ var F8 = 0, HSe = (e, t) => {
return /*#__PURE__*/ D.createElement(LL, {
className: l,
id: c
- }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(Y6, {
+ }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
@@ -59239,22 +59261,22 @@ var F8 = 0, HSe = (e, t) => {
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: F8,
+ minPointSize: I8,
xAxisId: 0,
yAxisId: 0,
zIndex: TJ.bar
};
function GSe(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 = pU(), p = MH(), m = t3(e.children, v2), h = Q((t) => vSe(t, e.id, p, m));
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = pU(), p = MH(), m = n3(e.children, y2), h = Q((t) => vSe(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__*/ D.createElement(q6, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ D.createElement(J6, {
xAxisId: t,
yAxisId: n,
data: h,
dataPointFormatter: HSe,
errorBarOffset: g
- }, /*#__PURE__*/ D.createElement(USe, j8({}, e, {
+ }, /*#__PURE__*/ D.createElement(USe, M8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -59279,7 +59301,7 @@ function KSe(e) {
if (E == null) return null;
_ = nH(E, v);
} else _ = QV(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = uSe(r, F8)(_[1], f);
+ var D = uSe(r, I8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -59321,7 +59343,7 @@ function KSe(e) {
C += P;
}
}
- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : N8(N8({}, e), {}, {
+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : P8(P8({}, e), {}, {
stackedBarStart: b,
x,
y: S,
@@ -59341,10 +59363,10 @@ function KSe(e) {
}
function qSe(e) {
var t = sz(e, WSe), n = SSe(t.stackId), r = MH();
- return /*#__PURE__*/ D.createElement(v3, {
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(g3, { legendPayload: NSe(t) }), /*#__PURE__*/ D.createElement(PSe, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: NSe(t) }), /*#__PURE__*/ D.createElement(PSe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -59354,7 +59376,7 @@ function qSe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ D.createElement(b3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "bar",
id: e,
data: void 0,
@@ -59369,14 +59391,14 @@ function qSe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ D.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(GSe, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ D.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(GSe, M8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ D.memo(qSe, BW);
-I8.displayName = "Bar";
+var L8 = /*#__PURE__*/ D.memo(qSe, BW);
+L8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
var JSe = ["domain", "range"], YSe = ["domain", "range"];
-function L8(e, t) {
+function R8(e, t) {
if (e == null) return {};
var n, r, i = XSe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -59394,13 +59416,13 @@ function XSe(e, t) {
}
return n;
}
-function R8(e, t) {
+function z8(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function z8(e, t) {
+function B8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, JSe), { domain: a, range: o } = t, s = L8(t, YSe);
- return !R8(n, a) || !R8(r, o) ? !1 : BW(i, s);
+ var { domain: n, range: r } = e, i = R8(e, JSe), { domain: a, range: o } = t, s = R8(t, YSe);
+ return !z8(n, a) || !z8(r, o) ? !1 : BW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
@@ -59409,16 +59431,16 @@ var ZSe = ["type"], QSe = [
"ticks",
"scale"
], $Se = ["id", "scale"];
-function B8() {
- return B8 = Object.assign ? Object.assign.bind() : function(e) {
+function V8() {
+ return V8 = 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;
- }, B8.apply(null, arguments);
+ }, V8.apply(null, arguments);
}
-function V8(e, t) {
+function H8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -59428,12 +59450,12 @@ function V8(e, t) {
}
return n;
}
-function H8(e) {
+function U8(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) {
+ t % 2 ? H8(Object(n), !0).forEach(function(t) {
eCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -59461,7 +59483,7 @@ function nCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U8(e, t) {
+function W8(e, t) {
if (e == null) return {};
var n, r, i = rCe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -59480,8 +59502,8 @@ function rCe(e, t) {
return n;
}
function iCe(e) {
- var t = Pz(), n = (0, D.useRef)(null), r = mU(), { type: i } = e, a = U8(e, ZSe), o = kJ(r, "xAxis", i), s = (0, D.useMemo)(() => {
- if (o != null) return H8(H8({}, a), {}, { type: o });
+ var t = Pz(), n = (0, D.useRef)(null), r = mU(), { type: i } = e, a = W8(e, ZSe), o = kJ(r, "xAxis", i), s = (0, D.useMemo)(() => {
+ if (o != null) return U8(U8({}, a), {}, { type: o });
}, [a, o]);
return (0, D.useLayoutEffect)(() => {
s != null && (n.current === null ? t(bve(s)) : n.current !== s && t(xve({
@@ -59493,10 +59515,10 @@ function iCe(e) {
}, [t]), null;
}
var aCe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(AH), i = MH(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Epe(e, t)), l = Q((e) => M$(e, t));
+ var { xAxisId: t, className: n } = e, r = Q(AH), i = MH(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Dpe(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, QSe), { id: m, scale: h } = l, g = U8(l, $Se);
- return /*#__PURE__*/ D.createElement(z6, B8({}, p, g, {
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, QSe), { id: m, scale: h } = l, g = W8(l, $Se);
+ return /*#__PURE__*/ D.createElement(B6, V8({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
@@ -59512,7 +59534,7 @@ var aCe = (e) => {
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
angle: j$.angle,
- axisLine: R6.axisLine,
+ axisLine: z6.axisLine,
height: j$.height,
hide: !1,
includeHidden: j$.includeHidden,
@@ -59526,12 +59548,12 @@ var aCe = (e) => {
scale: j$.scale,
tick: j$.tick,
tickCount: j$.tickCount,
- tickLine: R6.tickLine,
- tickSize: R6.tickSize,
+ tickLine: z6.tickLine,
+ tickSize: z6.tickSize,
type: j$.type,
niceTicks: j$.niceTicks,
xAxisId: 0
-}, W8 = /*#__PURE__*/ D.memo((e) => {
+}, G8 = /*#__PURE__*/ D.memo((e) => {
var t = sz(e, oCe);
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iCe, {
allowDataOverflow: t.allowDataOverflow,
@@ -59560,8 +59582,8 @@ var aCe = (e) => {
unit: t.unit,
niceTicks: t.niceTicks
}), /*#__PURE__*/ D.createElement(aCe, t));
-}, z8);
-W8.displayName = "XAxis";
+}, B8);
+G8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
var sCe = ["type"], cCe = [
@@ -59569,16 +59591,16 @@ var sCe = ["type"], cCe = [
"ticks",
"scale"
], lCe = ["id", "scale"];
-function G8() {
- return G8 = Object.assign ? Object.assign.bind() : function(e) {
+function K8() {
+ return K8 = 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;
- }, G8.apply(null, arguments);
+ }, K8.apply(null, arguments);
}
-function K8(e, t) {
+function q8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -59588,12 +59610,12 @@ function K8(e, t) {
}
return n;
}
-function q8(e) {
+function J8(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) {
+ t % 2 ? q8(Object(n), !0).forEach(function(t) {
uCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -59621,7 +59643,7 @@ function fCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J8(e, t) {
+function Y8(e, t) {
if (e == null) return {};
var n, r, i = pCe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -59640,8 +59662,8 @@ function pCe(e, t) {
return n;
}
function mCe(e) {
- var t = Pz(), n = (0, D.useRef)(null), r = mU(), { type: i } = e, a = J8(e, sCe), o = kJ(r, "yAxis", i), s = (0, D.useMemo)(() => {
- if (o != null) return q8(q8({}, a), {}, { type: o });
+ var t = Pz(), n = (0, D.useRef)(null), r = mU(), { type: i } = e, a = Y8(e, sCe), o = kJ(r, "yAxis", i), s = (0, D.useMemo)(() => {
+ if (o != null) return J8(J8({}, a), {}, { type: o });
}, [o, a]);
return (0, D.useLayoutEffect)(() => {
s != null && (n.current === null ? t(Cve(s)) : n.current !== s && t(wve({
@@ -59653,9 +59675,9 @@ function mCe(e) {
}, [t]), null;
}
function hCe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = Q(AH), c = MH(), l = Pz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Dpe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = Q(AH), c = MH(), l = Pz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Ope(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, D.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, D.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || n4(i) || /*#__PURE__*/ (0, D.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
@@ -59674,8 +59696,8 @@ function hCe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, cCe), { id: y, scale: b } = m, x = J8(m, lCe);
- return /*#__PURE__*/ D.createElement(z6, G8({}, v, x, {
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, cCe), { id: y, scale: b } = m, x = Y8(m, lCe);
+ return /*#__PURE__*/ D.createElement(B6, K8({}, v, x, {
ref: a,
labelRef: o,
x: f.x,
@@ -59695,7 +59717,7 @@ var gCe = {
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
angle: P$.angle,
- axisLine: R6.axisLine,
+ axisLine: z6.axisLine,
hide: !1,
includeHidden: P$.includeHidden,
interval: P$.interval,
@@ -59708,13 +59730,13 @@ var gCe = {
scale: P$.scale,
tick: P$.tick,
tickCount: P$.tickCount,
- tickLine: R6.tickLine,
- tickSize: R6.tickSize,
+ tickLine: z6.tickLine,
+ tickSize: z6.tickSize,
type: P$.type,
niceTicks: P$.niceTicks,
width: P$.width,
yAxisId: 0
-}, Y8 = /*#__PURE__*/ D.memo((e) => {
+}, X8 = /*#__PURE__*/ D.memo((e) => {
var t = sz(e, gCe);
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(mCe, {
interval: t.interval,
@@ -59743,15 +59765,15 @@ var gCe = {
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
}), /*#__PURE__*/ D.createElement(hCe, t));
-}, z8);
-Y8.displayName = "YAxis";
-var X8 = $([
+}, B8);
+X8.displayName = "YAxis";
+var Z8 = $([
(e, t) => t,
fU,
qJ,
nY,
- D0,
- k0,
+ O0,
+ A0,
Cme,
OH
], Ame);
@@ -59760,7 +59782,7 @@ var X8 = $([
function _Ce(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function Z8(e) {
+function Q8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
if (_Ce(e)) {
var i = e.currentTarget.getBBox();
@@ -59777,45 +59799,45 @@ function Z8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Q8 = uV("mouseClick"), $8 = WV();
-$8.startListening({
- actionCreator: Q8,
+var $8 = uV("mouseClick"), e5 = WV();
+e5.startListening({
+ actionCreator: $8,
effect: (e, t) => {
- var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(Lpe({
+ var n = e.payload, r = Z8(t.getState(), Q8(n));
+ r?.activeIndex != null && t.dispatch(Rpe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var e5 = uV("mouseMove"), t5 = WV(), n5 = null, r5 = null, i5 = null;
-t5.startListening({
- actionCreator: e5,
+var t5 = uV("mouseMove"), n5 = WV(), r5 = null, i5 = null, a5 = null;
+n5.startListening({
+ actionCreator: t5,
effect: (e, t) => {
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
- n5 !== null && (cancelAnimationFrame(n5), n5 = null), r5 !== null && (typeof r != "number" || !a) && (clearTimeout(r5), r5 = null), i5 = Z8(n);
+ r5 !== null && (cancelAnimationFrame(r5), r5 = null), i5 !== null && (typeof r != "number" || !a) && (clearTimeout(i5), i5 = null), a5 = Q8(n);
var o = () => {
var e = t.getState(), n = Q1(e, e.tooltip.settings.shared);
- if (!i5) {
- n5 = null, r5 = null;
+ if (!a5) {
+ r5 = null, i5 = null;
return;
}
if (n === "axis") {
- var r = X8(e, i5);
+ var r = Z8(e, a5);
r?.activeIndex == null ? t.dispatch(r0()) : t.dispatch(i0({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- n5 = null, r5 = null;
+ r5 = null, i5 = null;
};
if (!a) {
o();
return;
}
- r === "raf" ? n5 = requestAnimationFrame(o) : typeof r == "number" && r5 === null && (r5 = setTimeout(o, r));
+ r === "raf" ? r5 = requestAnimationFrame(o) : typeof r == "number" && i5 === null && (i5 = setTimeout(o, r));
}
});
//#endregion
@@ -59825,7 +59847,7 @@ function vCe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var a5 = {
+var o5 = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -59837,34 +59859,34 @@ var a5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, o5 = yV({
+}, s5 = yV({
name: "rootProps",
- initialState: a5,
+ initialState: o5,
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;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? o5.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), yCe = o5.reducer, { updateOptions: bCe } = o5.actions, s5 = yV({
+}), yCe = s5.reducer, { updateOptions: bCe } = s5.actions, c5 = yV({
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: xCe } = s5.actions, SCe = s5.reducer, c5 = uV("keyDown"), l5 = uV("focus"), u5 = uV("blur"), d5 = WV(), f5 = null, p5 = null, m5 = null;
-d5.startListening({
- actionCreator: c5,
+}), { updatePolarOptions: xCe } = c5.actions, SCe = c5.reducer, l5 = uV("keyDown"), u5 = uV("focus"), d5 = uV("blur"), f5 = WV(), p5 = null, m5 = null, h5 = null;
+f5.startListening({
+ actionCreator: l5,
effect: (e, t) => {
- m5 = e.payload, f5 !== null && (cancelAnimationFrame(f5), f5 = null);
+ h5 = e.payload, p5 !== null && (cancelAnimationFrame(p5), p5 = null);
var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");
- p5 !== null && (typeof n != "number" || !i) && (clearTimeout(p5), p5 = null);
+ m5 !== null && (typeof n != "number" || !i) && (clearTimeout(m5), m5 = null);
var a = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var { keyboardInteraction: n } = e.tooltip, r = m5;
+ var { keyboardInteraction: n } = e.tooltip, r = h5;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = u0(n, x0(e), r1(e), T0(e)), a = i == null ? -1 : Number(i);
+ var i = u0(n, S0(e), r1(e), E0(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = k0(e);
+ var o = A0(e);
if (r === "Enter") {
- var s = X0(e, "axis", "hover", String(n.index));
+ var s = Z0(e, "axis", "hover", String(n.index));
t.dispatch(o0({
active: !n.active,
activeIndex: n.index,
@@ -59872,34 +59894,34 @@ d5.startListening({
}));
return;
}
- var c = Ope(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = kpe(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));
+ var u = Z0(e, "axis", "hover", String(l));
t.dispatch(o0({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
}));
} finally {
- f5 = null, p5 = null;
+ p5 = null, m5 = null;
}
};
if (!i) {
a();
return;
}
- n === "raf" ? f5 = requestAnimationFrame(a) : typeof n == "number" && p5 === null && (a(), m5 = null, p5 = setTimeout(() => {
- m5 ? a() : (p5 = null, f5 = null);
+ n === "raf" ? p5 = requestAnimationFrame(a) : typeof n == "number" && m5 === null && (a(), h5 = null, m5 = setTimeout(() => {
+ h5 ? a() : (m5 = null, p5 = null);
}, n));
}
-}), d5.startListening({
- actionCreator: l5,
+}), f5.startListening({
+ actionCreator: u5,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = X0(n, "axis", "hover", String(i));
+ var i = "0", a = Z0(n, "axis", "hover", String(i));
t.dispatch(o0({
active: !0,
activeIndex: i,
@@ -59908,8 +59930,8 @@ d5.startListening({
}
}
}
-}), d5.startListening({
- actionCreator: u5,
+}), f5.startListening({
+ actionCreator: d5,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -59924,7 +59946,7 @@ d5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function h5(e) {
+function g5(e) {
e.persist();
var { currentTarget: t } = e;
return new Proxy(e, { get: (e, n) => {
@@ -59935,36 +59957,36 @@ function h5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var g5 = uV("externalEvent"), _5 = WV(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
-_5.startListening({
- actionCreator: g5,
+var _5 = uV("externalEvent"), v5 = WV(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
+v5.startListening({
+ actionCreator: _5,
effect: (e, t) => {
var { handler: n, reactEvent: r } = e.payload;
if (n != null) {
- var i = r.type, a = h5(r);
- b5.set(i, {
+ var i = r.type, a = g5(r);
+ x5.set(i, {
handler: n,
reactEvent: a
});
- var o = v5.get(i);
- o !== void 0 && (cancelAnimationFrame(o), v5.delete(i));
- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = y5.get(i);
- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), y5.delete(i));
+ var o = y5.get(i);
+ o !== void 0 && (cancelAnimationFrame(o), y5.delete(i));
+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = b5.get(i);
+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), b5.delete(i));
var f = () => {
- var e = b5.get(i);
+ var e = x5.get(i);
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
activeCoordinate: lme(a),
- activeDataKey: I0(a),
- activeIndex: P0(a),
- activeLabel: F0(a),
- activeTooltipIndex: P0(a),
+ activeDataKey: L0(a),
+ activeIndex: F0(a),
+ activeLabel: I0(a),
+ activeTooltipIndex: F0(a),
isTooltipActive: ume(a)
};
n && n(o, r);
} finally {
- v5.delete(i), y5.delete(i), b5.delete(i);
+ y5.delete(i), b5.delete(i), x5.delete(i);
}
};
if (!u) {
@@ -59973,12 +59995,12 @@ _5.startListening({
}
if (s === "raf") {
var p = requestAnimationFrame(f);
- v5.set(i, p);
+ y5.set(i, p);
} else if (typeof s == "number") {
- if (!y5.has(i)) {
+ if (!b5.has(i)) {
f();
var m = setTimeout(f, s);
- y5.set(i, m);
+ b5.set(i, m);
}
} else f();
}
@@ -59996,40 +60018,40 @@ var CCe = $([
if (i != null) return i(t);
}
}
-}), x5 = uV("touchMove"), S5 = WV(), C5 = null, w5 = null, T5 = null, E5 = null;
-S5.startListening({
- actionCreator: x5,
+}), S5 = uV("touchMove"), C5 = WV(), w5 = null, T5 = null, E5 = null, D5 = null;
+C5.startListening({
+ actionCreator: S5,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- E5 = h5(n);
+ D5 = g5(n);
var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");
- C5 !== null && (cancelAnimationFrame(C5), C5 = null), w5 !== null && (typeof r != "number" || !a) && (clearTimeout(w5), w5 = null), T5 = Array.from(n.touches).map((e) => Z8({
+ w5 !== null && (cancelAnimationFrame(w5), w5 = null), T5 !== null && (typeof r != "number" || !a) && (clearTimeout(T5), T5 = null), E5 = Array.from(n.touches).map((e) => Q8({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var o = () => {
- if (E5 != null) {
+ if (D5 != null) {
var e = t.getState(), n = Q1(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = T5?.[0];
+ var r = E5?.[0];
if (r == null) {
- C5 = null, w5 = null;
+ w5 = null, T5 = null;
return;
}
- var i = X8(e, r);
+ var i = Z8(e, r);
i?.activeIndex != null && t.dispatch(i0({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = E5.touches[0];
+ var a = D5.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(_H), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(_H), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = x0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
var { dataKey: u } = l, d = CCe(e, s, c);
t.dispatch(n0({
@@ -60039,22 +60061,22 @@ S5.startListening({
activeGraphicalItemId: c
}));
}
- C5 = null, w5 = null;
+ w5 = null, T5 = null;
}
};
if (!a) {
o();
return;
}
- r === "raf" ? C5 = requestAnimationFrame(o) : typeof r == "number" && w5 === null && (o(), E5 = null, w5 = setTimeout(() => {
- E5 ? o() : (w5 = null, C5 = null);
+ r === "raf" ? w5 = requestAnimationFrame(o) : typeof r == "number" && T5 === null && (o(), D5 = null, T5 = setTimeout(() => {
+ D5 ? o() : (T5 = null, w5 = null);
}, r));
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var D5 = {
+var O5 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -60063,20 +60085,20 @@ var D5 = {
"scroll",
"wheel"
]
-}, O5 = yV({
+}, k5 = yV({
name: "eventSettings",
- initialState: D5,
+ initialState: O5,
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = mW(t.payload.throttledEvents));
} }
-}), { setEventSettings: wCe } = O5.actions, TCe = O5.reducer, ECe = Qz({
+}), { setEventSettings: wCe } = k5.actions, TCe = k5.reducer, ECe = Qz({
brush: Uye,
cartesianAxis: Ave,
chartData: rhe,
errorBars: cxe,
eventSettings: TCe,
graphicalItems: ove,
- layout: sde,
+ layout: cde,
legend: xW,
options: Qme,
polarAxis: Xge,
@@ -60084,11 +60106,11 @@ var D5 = {
referenceElements: ebe,
renderedTicks: Obe,
rootProps: yCe,
- tooltip: Rpe,
+ tooltip: zpe,
zIndex: Ume
}), DCe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return Nue({
+ return Pue({
reducer: ECe,
preloadedState: e,
middleware: (e) => e({
@@ -60099,11 +60121,11 @@ var D5 = {
"production"
].includes("es6")
}).concat([
- $8.middleware,
- t5.middleware,
- d5.middleware,
- _5.middleware,
- S5.middleware
+ e5.middleware,
+ n5.middleware,
+ f5.middleware,
+ v5.middleware,
+ C5.middleware
]),
enhancers: (e) => {
var t = e;
@@ -60117,7 +60139,7 @@ var D5 = {
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function k5(e) {
+function A5(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = MH(), a = (0, D.useRef)(null);
if (i) return n;
a.current ??= DCe(t, r);
@@ -60132,7 +60154,7 @@ function k5(e) {
function OCe(e) {
var { layout: t, margin: n } = e, r = Pz(), i = MH();
return (0, D.useEffect)(() => {
- i || (r(ide(t)), r(rde(n)));
+ i || (r(ade(t)), r(ide(n)));
}, [
r,
i,
@@ -60140,16 +60162,16 @@ function OCe(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, D.memo)(OCe, BW);
+var j5 = /*#__PURE__*/ (0, D.memo)(OCe, BW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function j5(e) {
+function M5(e) {
var t = Pz();
return (0, D.useEffect)(() => {
t(bCe(e));
}, [t, e]), null;
}
-var M5 = /*#__PURE__*/ (0, D.memo)((e) => {
+var N5 = /*#__PURE__*/ (0, D.memo)((e) => {
var t = Pz();
return (0, D.useEffect)(() => {
t(wCe(e));
@@ -60157,7 +60179,7 @@ var M5 = /*#__PURE__*/ (0, D.memo)((e) => {
}, BW);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function N5(e) {
+function P5(e) {
var { zIndex: t, isPanorama: n } = e, r = (0, D.useRef)(null), i = Pz();
return (0, D.useLayoutEffect)(() => (r.current && i(Vme({
zIndex: t,
@@ -60178,15 +60200,15 @@ function N5(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function P5(e) {
+function F5(e) {
var { children: t, isPanorama: n } = e, r = Q(Mme);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ D.createElement(D.Fragment, null, i.map((e) => /*#__PURE__*/ D.createElement(N5, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, i.map((e) => /*#__PURE__*/ D.createElement(P5, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ D.createElement(N5, {
+ })), t, a.map((e) => /*#__PURE__*/ D.createElement(P5, {
key: e,
zIndex: e,
isPanorama: n
@@ -60213,14 +60235,14 @@ function jCe(e, t) {
}
return n;
}
-function F5() {
- return F5 = Object.assign ? Object.assign.bind() : function(e) {
+function I5() {
+ return I5 = 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;
- }, F5.apply(null, arguments);
+ }, I5.apply(null, arguments);
}
var MCe = {
width: "100%",
@@ -60230,7 +60252,7 @@ var MCe = {
var n = lU(), r = uU(), i = jG();
if (!YV(n) || !YV(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__*/ D.createElement(FL, 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__*/ D.createElement(FL, I5({}, o, {
title: s,
desc: c,
role: u,
@@ -60250,18 +60272,18 @@ var MCe = {
x: o,
y: a
}, t);
-}, I5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+}, L5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { children: n } = e, r = ACe(e, kCe);
- return MH() ? /*#__PURE__*/ D.createElement(PCe, null, /*#__PURE__*/ D.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ D.createElement(NCe, F5({ ref: t }, r), /*#__PURE__*/ D.createElement(P5, { isPanorama: !1 }, n));
+ return MH() ? /*#__PURE__*/ D.createElement(PCe, null, /*#__PURE__*/ D.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ D.createElement(NCe, I5({ ref: t }, r), /*#__PURE__*/ D.createElement(F5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
function FCe() {
- var e = Pz(), [t, n] = (0, D.useState)(null), r = Q(yde);
+ var e = Pz(), [t, n] = (0, D.useState)(null), r = Q(bde);
return (0, D.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- JV(n) && n !== r && e(ode(n));
+ JV(n) && n !== r && e(sde(n));
}
}, [
t,
@@ -60271,7 +60293,7 @@ function FCe() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function L5(e, t) {
+function R5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60284,9 +60306,9 @@ function L5(e, t) {
function ICe(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) {
+ t % 2 ? R5(Object(n), !0).forEach(function(t) {
LCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60314,17 +60336,17 @@ function zCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function R5() {
- return R5 = Object.assign ? Object.assign.bind() : function(e) {
+function z5() {
+ return z5 = 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;
- }, R5.apply(null, arguments);
+ }, z5.apply(null, arguments);
}
var BCe = () => (fhe(), null);
-function z5(e) {
+function B5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -60334,8 +60356,8 @@ function z5(e) {
}
var VCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var n = (0, D.useRef)(null), [r, i] = (0, D.useState)({
- containerWidth: z5(e.style?.width),
- containerHeight: z5(e.style?.height)
+ containerWidth: B5(e.style?.width),
+ containerHeight: B5(e.style?.height)
}), a = (0, D.useCallback)((e, t) => {
i((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -60363,11 +60385,11 @@ var VCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
}, [a]), /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vU, {
width: r.containerWidth,
height: r.containerHeight
- }), /*#__PURE__*/ D.createElement("div", R5({ ref: o }, e)));
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: o }, e)));
}), HCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, D.useState)({
- containerWidth: z5(n),
- containerHeight: z5(r)
+ containerWidth: B5(n),
+ containerHeight: B5(r)
}), o = (0, D.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -60385,23 +60407,23 @@ var VCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vU, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ D.createElement("div", R5({ ref: s }, e)));
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: s }, e)));
}), UCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vU, {
width: n,
height: r
- }), /*#__PURE__*/ D.createElement("div", R5({ ref: t }, e)));
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: t }, e)));
}), WCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ D.createElement(HCe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ D.createElement(UCe, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ D.createElement(HCe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ D.createElement(UCe, z5({}, e, {
width: n,
height: r,
ref: t
})) : /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vU, {
width: n,
height: r
- }), /*#__PURE__*/ D.createElement("div", R5({ ref: t }, e)));
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: t }, e)));
});
function GCe(e) {
return e ? VCe : WCe;
@@ -60415,58 +60437,58 @@ var KCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
C,
T
]), M = (0, D.useCallback)((e) => {
- x(Q8(e)), x(g5({
+ x($8(e)), x(_5({
handler: a,
reactEvent: e
}));
}, [x, a]), N = (0, D.useCallback)((e) => {
- x(e5(e)), x(g5({
+ x(t5(e)), x(_5({
handler: l,
reactEvent: e
}));
}, [x, l]), P = (0, D.useCallback)((e) => {
- x(r0()), x(g5({
+ x(r0()), x(_5({
handler: u,
reactEvent: e
}));
}, [x, u]), F = (0, D.useCallback)((e) => {
- x(e5(e)), x(g5({
+ x(t5(e)), x(_5({
handler: d,
reactEvent: e
}));
}, [x, d]), I = (0, D.useCallback)(() => {
- x(l5());
- }, [x]), ee = (0, D.useCallback)(() => {
x(u5());
+ }, [x]), ee = (0, D.useCallback)(() => {
+ x(d5());
}, [x]), te = (0, D.useCallback)((e) => {
- x(c5(e.key));
+ x(l5(e.key));
}, [x]), ne = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: o,
reactEvent: e
}));
}, [x, o]), L = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: s,
reactEvent: e
}));
}, [x, s]), re = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: c,
reactEvent: e
}));
}, [x, c]), ie = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: f,
reactEvent: e
}));
}, [x, f]), ae = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: h,
reactEvent: e
}));
}, [x, h]), oe = (0, D.useCallback)((e) => {
- y && x(x5(e)), x(g5({
+ y && x(S5(e)), x(_5({
handler: m,
reactEvent: e
}));
@@ -60475,12 +60497,12 @@ var KCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
y,
m
]), se = (0, D.useCallback)((e) => {
- x(g5({
+ x(_5({
handler: p,
reactEvent: e
}));
}, [x, p]), ce = GCe(v);
- return /*#__PURE__*/ D.createElement(a2.Provider, { value: S }, /*#__PURE__*/ D.createElement(RL.Provider, { value: w }, /*#__PURE__*/ D.createElement(ce, {
+ return /*#__PURE__*/ D.createElement(o2.Provider, { value: S }, /*#__PURE__*/ D.createElement(RL.Provider, { value: w }, /*#__PURE__*/ D.createElement(ce, {
width: k ?? g?.width,
height: A ?? g?.height,
className: Dm("recharts-wrapper", r),
@@ -60535,12 +60557,12 @@ function YCe(e, t) {
}
return n;
}
-var B5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+var V5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = jL(JCe(e, qCe));
return c ? /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vU, {
width: n,
height: r
- }), /*#__PURE__*/ D.createElement(I5, {
+ }), /*#__PURE__*/ D.createElement(L5, {
otherAttributes: d,
title: l,
desc: u
@@ -60561,7 +60583,7 @@ var B5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ D.createElement(I5, {
+ }, /*#__PURE__*/ D.createElement(L5, {
otherAttributes: d,
title: l,
desc: u,
@@ -60570,16 +60592,16 @@ var B5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function V5() {
- return V5 = Object.assign ? Object.assign.bind() : function(e) {
+function H5() {
+ return H5 = 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;
- }, V5.apply(null, arguments);
+ }, H5.apply(null, arguments);
}
-function H5(e, t) {
+function U5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60592,9 +60614,9 @@ function H5(e, t) {
function XCe(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) {
+ t % 2 ? U5(Object(n), !0).forEach(function(t) {
ZCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60637,7 +60659,7 @@ var ewe = XCe({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, D5), U5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+}, O5), W5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
var n = sz(e.categoricalChartProps, ewe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
@@ -60645,16 +60667,16 @@ var ewe = XCe({
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ D.createElement(k5, {
+ return /*#__PURE__*/ D.createElement(A5, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ D.createElement(b6, { chartData: s.data }), /*#__PURE__*/ D.createElement(A5, {
+ }, /*#__PURE__*/ D.createElement(x6, { chartData: s.data }), /*#__PURE__*/ D.createElement(j5, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ D.createElement(M5, {
+ }), /*#__PURE__*/ D.createElement(N5, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ D.createElement(j5, {
+ }), /*#__PURE__*/ D.createElement(M5, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -60666,19 +60688,19 @@ var ewe = XCe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ D.createElement(B5, V5({}, n, { ref: t })));
-}), twe = ["axis"], nwe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(U5, {
+ }), /*#__PURE__*/ D.createElement(V5, H5({}, n, { ref: t })));
+}), twe = ["axis"], nwe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: twe,
- tooltipPayloadSearcher: l2,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
-})), rwe = ["axis", "item"], W5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(U5, {
+})), rwe = ["axis", "item"], G5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: rwe,
- tooltipPayloadSearcher: l2,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
@@ -60693,14 +60715,14 @@ function iwe(e) {
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
var awe = ["layout"];
-function G5() {
- return G5 = Object.assign ? Object.assign.bind() : function(e) {
+function K5() {
+ return K5 = 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;
- }, G5.apply(null, arguments);
+ }, K5.apply(null, arguments);
}
function owe(e, t) {
if (e == null) return {};
@@ -60720,7 +60742,7 @@ function swe(e, t) {
}
return n;
}
-function K5(e, t) {
+function q5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60733,9 +60755,9 @@ function K5(e, t) {
function cwe(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) {
+ t % 2 ? q5(Object(n), !0).forEach(function(t) {
lwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60763,7 +60785,7 @@ function dwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = cwe({
+var J5 = cwe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -60782,24 +60804,24 @@ var q5 = cwe({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, D5), J5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- var n = sz(e.categoricalChartProps, q5), { layout: r } = n, i = owe(n, awe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+}, O5), Y5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ var n = sz(e.categoricalChartProps, J5), { layout: r } = n, i = owe(n, awe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
tooltipPayloadSearcher: c,
eventEmitter: void 0
};
- return /*#__PURE__*/ D.createElement(k5, {
+ return /*#__PURE__*/ D.createElement(A5, {
preloadedState: { options: l },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ D.createElement(b6, { chartData: n.data }), /*#__PURE__*/ D.createElement(A5, {
+ }, /*#__PURE__*/ D.createElement(x6, { chartData: n.data }), /*#__PURE__*/ D.createElement(j5, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ D.createElement(M5, {
+ }), /*#__PURE__*/ D.createElement(N5, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ D.createElement(j5, {
+ }), /*#__PURE__*/ D.createElement(M5, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -60818,11 +60840,11 @@ var q5 = cwe({
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ D.createElement(B5, G5({}, i, { ref: t })));
+ }), /*#__PURE__*/ D.createElement(V5, K5({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function Y5(e, t) {
+function X5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60832,12 +60854,12 @@ function Y5(e, t) {
}
return n;
}
-function X5(e) {
+function Z5(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) {
+ t % 2 ? X5(Object(n), !0).forEach(function(t) {
fwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60865,31 +60887,31 @@ function mwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var hwe = ["axis"], gwe = X5(X5({}, q5), {}, {
+var hwe = ["axis"], gwe = Z5(Z5({}, J5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
}), _we = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var n = sz(e, gwe);
- return /*#__PURE__*/ D.createElement(J5, {
+ return /*#__PURE__*/ D.createElement(Y5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: hwe,
- tooltipPayloadSearcher: l2,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
-}), vwe = ["axis"], ywe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(U5, {
+}), vwe = ["axis"], ywe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: vwe,
- tooltipPayloadSearcher: l2,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function Z5(e, t) {
+function Q5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60899,12 +60921,12 @@ function Z5(e, t) {
}
return n;
}
-function Q5(e) {
+function $5(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) {
+ t % 2 ? Q5(Object(n), !0).forEach(function(t) {
bwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60932,55 +60954,55 @@ function Swe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Cwe = ["axis", "item"], wwe = Q5(Q5({}, q5), {}, {
+var Cwe = ["axis", "item"], wwe = $5($5({}, J5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
}), Twe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var n = sz(e, wwe);
- return /*#__PURE__*/ D.createElement(J5, {
+ return /*#__PURE__*/ D.createElement(Y5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: Cwe,
- tooltipPayloadSearcher: l2,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function $5(...e) {
+function e7(...e) {
return ew(Dm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var e7 = {
+var t7 = {
light: "",
dark: ".dark"
-}, t7 = Object.keys(e7);
+}, n7 = Object.keys(t7);
function Ewe(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !t7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t7.join(", ")}). Received empty object or invalid keys.`);
+ 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 n7 = D.createContext(null);
-function r7() {
- let e = D.useContext(n7);
+var r7 = D.createContext(null);
+function i7() {
+ let e = D.useContext(r7);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function i7({ id: e, config: t, initialDimension: n = {
+function a7({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = D.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return Ewe(t), /* @__PURE__ */ (0, O.jsx)(n7.Provider, {
+ return Ewe(t), /* @__PURE__ */ (0, O.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: $5("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: e7("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, O.jsx)(o7, {
+ /* @__PURE__ */ (0, O.jsx)(s7, {
id: c,
config: t
}),
@@ -60994,7 +61016,7 @@ function i7({ id: e, config: t, initialDimension: n = {
})
});
}
-function a7({ isLoading: e }) {
+function o7({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -61013,23 +61035,23 @@ function Dwe(e, t) {
}
return r;
}
-var o7 = ({ id: e, config: t }) => {
+var s7 = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : Dwe(r, c7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(e7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Dwe(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, O.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function s7(e, t, n) {
+function c7(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function c7(e) {
+function l7(e) {
if (!e.colors) return 1;
- let t = t7.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
var Owe = (e = 10, t = 0, n = 70) => {
@@ -61044,15 +61066,15 @@ var Owe = (e = 10, t = 0, n = 70) => {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
- let { config: h } = r7(), g = D.useMemo(() => {
+function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+ let { config: h } = i7(), g = D.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = s7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = c7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("font-medium", c),
+ className: e7("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("font-medium", c),
+ className: e7("font-medium", c),
children: a
}) : null;
}, [
@@ -61067,15 +61089,15 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, O.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, O.jsxs)("div", {
- className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", kwe[p], Awe[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", kwe[p], Awe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, O.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = s7(h, e, n), o = i ? c7(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = c7(h, e, n), o = i ? l7(i) : 1;
return /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: e7("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, O.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("shrink-0 rounded-[2px]", {
+ className: e7("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
@@ -61083,7 +61105,7 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
}),
style: jwe(n, o)
}), /* @__PURE__ */ (0, O.jsxs)("div", {
- className: $5("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, O.jsx)("span", {
@@ -61103,20 +61125,20 @@ function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
function jwe(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 u7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, O.jsx)(bhe, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, O.jsx)(bhe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function d7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
- let { config: u } = r7();
+function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+ let { config: u } = i7();
return r?.length ? /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+ className: e7("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = s7(u, e, r), a = o === null || o === r, d = i ? c7(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = c7(u, e, r), a = o === null || o === r, d = i ? l7(i) : 1;
return /* @__PURE__ */ (0, O.jsxs)("div", {
- className: $5("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: e7("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
@@ -61180,7 +61202,7 @@ function Pwe(e, t) {
...n
};
}
-var f7 = iG, p7 = () => null, m7 = {
+var p7 = iG, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
@@ -61292,7 +61314,7 @@ function Iwe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let F = C > 1 ? P.startIndex / (C - 1) * 100 : 0, I = C > 1 ? P.endIndex / (C - 1) * 100 : 100, ee = af(F), te = af(I);
ee.get() !== F && ee.set(F), te.get() !== I && te.set(I);
- let ne = ff(ee, m7), L = ff(te, m7), re = cf(ne, (e) => `${e}%`), ie = cf(L, (e) => `${e}%`), ae = cf(ne, (e) => `${e}%`), oe = cf(L, (e) => `${Math.max(0, 100 - e)}%`), se = af(`${Math.max(0, I - F)}%`), ce = (0, D.useCallback)(() => {
+ let ne = ff(ee, h7), L = ff(te, h7), re = cf(ne, (e) => `${e}%`), ie = cf(L, (e) => `${e}%`), ae = cf(ne, (e) => `${e}%`), oe = cf(L, (e) => `${Math.max(0, 100 - e)}%`), se = af(`${Math.max(0, I - F)}%`), ce = (0, D.useCallback)(() => {
se.set(`${Math.max(0, L.get() - ne.get())}%`);
}, [
ne,
@@ -61312,10 +61334,10 @@ function Iwe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return C === 0 ? null : /* @__PURE__ */ (0, O.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: $5("group relative select-none", o),
+ className: e7("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, O.jsx)(o7, {
+ !b && /* @__PURE__ */ (0, O.jsx)(s7, {
id: w,
config: t
}),
@@ -61350,13 +61372,13 @@ function Iwe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, O.jsx)(h7, {
+ /* @__PURE__ */ (0, O.jsx)(g7, {
side: "left",
position: re,
label: y ? le(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, O.jsx)(h7, {
+ /* @__PURE__ */ (0, O.jsx)(g7, {
side: "right",
position: ie,
label: y ? le(P.endIndex) : void 0,
@@ -61365,16 +61387,16 @@ function Iwe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function h7({ side: e, position: t, label: n, bind: r }) {
+function g7({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, O.jsxs)(mf.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: e7("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
children: /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: e7("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -61385,7 +61407,7 @@ function h7({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, O.jsx)("div", {
- className: $5("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: e7("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
@@ -61393,7 +61415,7 @@ function h7({ side: e, position: t, label: n, bind: r }) {
function Lwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = D.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: c7(t)
+ colorsCount: l7(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -61458,7 +61480,7 @@ function Lwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(c8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(l8, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -61477,7 +61499,7 @@ function Lwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, O.jsx)(iU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, O.jsxs)(W5, {
+ children: /* @__PURE__ */ (0, O.jsxs)(G5, {
data: e,
margin: {
top: 2,
@@ -61487,7 +61509,7 @@ function Lwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(I8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(L8, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -61514,7 +61536,7 @@ function Lwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(C8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(w8, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -61728,9 +61750,9 @@ var zwe = {
})
})
};
-function g7({ variant: e }) {
+function _7({ variant: e }) {
let t = (0, D.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = zwe[e];
- return /* @__PURE__ */ (0, O.jsxs)(t2, {
+ return /* @__PURE__ */ (0, O.jsxs)(n2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, O.jsxs)("defs", { children: [
/* @__PURE__ */ (0, O.jsx)(a, { id: n }),
@@ -61760,20 +61782,20 @@ function g7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var _7 = 2, Bwe = "loading", Vwe = 2e3, Hwe = "evil-stacked", Uwe = .5, Wwe = .05, Gwe = [
+var v7 = 2, Bwe = "loading", Vwe = 2e3, Hwe = "evil-stacked", Uwe = .5, Wwe = .05, Gwe = [
0,
.7,
.5,
1
-], v7 = (0, D.createContext)(null);
-function y7() {
- let e = (0, D.use)(v7);
+], y7 = (0, D.createContext)(null);
+function b7() {
+ let e = (0, D.use)(y7);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function b7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = _7, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+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, D.useId)().replace(/:/g, ""), [v] = (0, D.useState)(() => Date.now()), [y, b] = (0, D.useState)(f), [x, S] = (0, D.useState)(!1), { loadingData: C, onShimmerExit: w } = uTe(m, h), { visibleData: T, brushProps: E } = Rwe({ data: t }), k = (0, D.useMemo)(() => {
- let e = D.Children.toArray(n), t = e.find((e) => (0, D.isValidElement)(e) && e.type === p7), r = (0, D.isValidElement)(t) ? t.props : {};
+ let e = D.Children.toArray(n), t = e.find((e) => (0, D.isValidElement)(e) && e.type === m7), r = (0, D.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, D.isValidElement)(t),
@@ -61781,7 +61803,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, D.isValidElement)(e) && e.type === p7))
+ chartChildren: e.filter((e) => !((0, D.isValidElement)(e) && e.type === m7))
};
}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? T : t, P = (0, D.useCallback)((e) => {
b(e), p?.(e);
@@ -61810,9 +61832,9 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
x
]);
- return /* @__PURE__ */ (0, O.jsx)(v7, {
+ return /* @__PURE__ */ (0, O.jsx)(y7, {
value: F,
- children: /* @__PURE__ */ (0, O.jsxs)(i7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: r,
config: e,
footer: A && !m && /* @__PURE__ */ (0, O.jsx)(Iwe, {
@@ -61831,7 +61853,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
E.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, O.jsx)(a7, { isLoading: m }), /* @__PURE__ */ (0, O.jsxs)(W5, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: m }), /* @__PURE__ */ (0, O.jsxs)(G5, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -61843,8 +61865,8 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, O.jsx)(g7, { variant: d }),
- /* @__PURE__ */ (0, O.jsx)(O6, { color: "white" }),
+ d && /* @__PURE__ */ (0, O.jsx)(_7, { variant: d }),
+ /* @__PURE__ */ (0, O.jsx)(k6, { color: "white" }),
k.chartChildren,
m && /* @__PURE__ */ (0, O.jsx)(dTe, {
chartId: _,
@@ -61856,7 +61878,7 @@ function b7({ config: e, data: t, children: n, className: r, chartProps: i, stac
});
}
function Kwe({ 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 } = y7(), b = (0, D.useId)().replace(/:/g, ""), x = pf();
+ 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, D.useId)().replace(/:/g, ""), x = pf();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -61876,19 +61898,19 @@ function Kwe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(C ? null : e);
}
};
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(I8, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L8, {
dataKey: e,
stackId: u ? Hwe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, O.jsx)(x7, {
+ shape: (e) => /* @__PURE__ */ (0, O.jsx)(S7, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, O.jsx)(x7, {
+ activeBar: (e) => /* @__PURE__ */ (0, O.jsx)(S7, {
...e,
...T,
animationType: "none"
@@ -61933,8 +61955,8 @@ function Kwe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
] })] });
}
function qwe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = y7();
- return o ? null : /* @__PURE__ */ (0, O.jsx)(W8, {
+ let { isLoading: o, isHorizontal: s } = b7();
+ return o ? null : /* @__PURE__ */ (0, O.jsx)(G8, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -61944,8 +61966,8 @@ function qwe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
});
}
function Jwe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = y7();
- return s ? null : /* @__PURE__ */ (0, O.jsx)(Y8, {
+ let { isLoading: s, isHorizontal: c } = b7();
+ return s ? null : /* @__PURE__ */ (0, O.jsx)(X8, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -61956,8 +61978,8 @@ function Jwe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
});
}
function Ywe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = y7();
- return /* @__PURE__ */ (0, O.jsx)(G6, {
+ let { isHorizontal: i } = b7();
+ return /* @__PURE__ */ (0, O.jsx)(K6, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
@@ -61965,11 +61987,11 @@ function Ywe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
});
}
function Xwe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = y7();
- return r ? null : /* @__PURE__ */ (0, O.jsx)(u7, {
+ let { isLoading: r, selectedDataKey: i } = b7();
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, O.jsx)(l7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
selected: i,
roundness: t,
variant: e
@@ -61977,11 +61999,11 @@ function Xwe({ variant: e, roundness: t, defaultIndex: n }) {
});
}
function Zwe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = y7();
- return /* @__PURE__ */ (0, O.jsx)(f7, {
+ let { selectedDataKey: i, selectDataKey: a } = b7();
+ return /* @__PURE__ */ (0, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, O.jsx)(d7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -61989,7 +62011,7 @@ function Zwe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var x7 = (e) => {
+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 = Qwe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : $we(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = eTe({
isClickable: d,
selectedDataKey: _,
@@ -62081,7 +62103,7 @@ var x7 = (e) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
}, tTe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {});
+ let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -62185,7 +62207,7 @@ var x7 = (e) => {
})
})
] }), iTe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {});
+ let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -62253,7 +62275,7 @@ var x7 = (e) => {
})
] });
}, aTe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {});
+ let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -62430,11 +62452,11 @@ function uTe(e, t = 12) {
onShimmerExit: i
};
}
-var dTe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(I8, {
+var dTe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L8, {
dataKey: Bwe,
fill: "currentColor",
fillOpacity: .15,
- radius: _7,
+ radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
@@ -62495,11 +62517,11 @@ var dTe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fr
})
] });
};
-b7.Bar = Kwe, b7.XAxis = qwe, b7.YAxis = Jwe, b7.Grid = Ywe, b7.Tooltip = Xwe, b7.Legend = Zwe, b7.Brush = p7;
+x7.Bar = Kwe, x7.XAxis = qwe, x7.YAxis = Jwe, x7.Grid = Ywe, x7.Tooltip = Xwe, x7.Legend = Zwe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var S7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function C7({ title: e, figure: t, note: n }) {
+var C7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function w7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, O.jsxs)("span", {
@@ -62517,24 +62539,24 @@ function C7({ title: e, figure: t, note: n }) {
})]
});
}
-var w7 = [
+var T7 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], T7 = (e) => ({ light: [e] }), E7 = (e) => `s${e}`;
+], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
function pTe(e) {
- return Object.fromEntries(e.map((e, t) => [E7(t), {
+ return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
- colors: T7(w7[t % w7.length])
+ colors: E7(T7[t % T7.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var D7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function O7({ swatch: e, name: t, value: n }) {
+var O7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function k7({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -62549,31 +62571,31 @@ function O7({ swatch: e, name: t, value: n }) {
})]
});
}
-var k7 = "size-2.5 shrink-0 rounded-xs";
+var A7 = "size-2.5 shrink-0 rounded-xs";
function mTe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = r7(), s = (t ?? []).filter((e) => e.type !== "none");
+ let { config: o } = i7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, O.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, O.jsxs)("div", {
- className: D7,
+ className: O7,
children: [c ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = s7(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, O.jsx)(O7, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = c7(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, O.jsx)(k7, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, O.jsx)("i", {
- className: k7,
+ className: A7,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function A7({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, O.jsx)(u7, {
+function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, O.jsx)(d7, {
cursor: !1,
content: /* @__PURE__ */ (0, O.jsx)(mTe, {
nameKey: e,
@@ -62584,12 +62606,12 @@ function A7({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var j7 = [0, (e) => e * 1.2], M7 = (e) => ({
+var M7 = [0, (e) => e * 1.2], N7 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function N7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function P7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
@@ -62597,53 +62619,53 @@ function N7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vert
if (!s) return null;
let c = a === "horizontal";
return /* @__PURE__ */ (0, O.jsxs)("section", {
- className: S7,
+ className: C7,
"aria-label": e,
- children: [/* @__PURE__ */ (0, O.jsx)(C7, {
+ children: [/* @__PURE__ */ (0, O.jsx)(w7, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, O.jsxs)(b7, {
+ }), /* @__PURE__ */ (0, O.jsxs)(x7, {
data: o,
config: { value: {
label: n,
- colors: T7(i)
+ colors: E7(i)
} },
layout: a,
barRadius: 4,
className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, O.jsx)(b7.Grid, {}),
- c ? /* @__PURE__ */ (0, O.jsx)(b7.YAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Grid, {}),
+ c ? /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, O.jsx)(b7.XAxis, {
+ }) : /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, O.jsx)(b7.XAxis, {
+ c ? /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
hide: !0,
- domain: j7
- }) : /* @__PURE__ */ (0, O.jsx)(b7.YAxis, {
+ domain: M7
+ }) : /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
hide: !0,
- domain: j7
+ domain: M7
}),
- /* @__PURE__ */ (0, O.jsx)(b7.Bar, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: M7(c ? "right" : "top")
+ label: N7(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, O.jsx)(A7, {})
+ /* @__PURE__ */ (0, O.jsx)(j7, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var P7 = [
+var F7 = [
"周一",
"周二",
"周三",
@@ -62651,7 +62673,7 @@ var P7 = [
"周五",
"周六",
"周日"
-], F7 = (e, t) => e ? Math.max(.12, e / t) : 0;
+], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
function hTe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
@@ -62662,9 +62684,9 @@ function hTe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${P7[t]} ${n}:00`,
+ label: `${F7[t]} ${n}:00`,
count: e,
- share: F7(e, r)
+ share: I7(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
@@ -62687,7 +62709,7 @@ function gTe(e) {
key: r,
label: r,
count: s,
- share: F7(s, o)
+ share: I7(s, o)
};
});
return {
@@ -62699,7 +62721,7 @@ function gTe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var I7 = 14, L7 = 17, R7 = {
+var L7 = 14, R7 = 17, z7 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -62720,30 +62742,30 @@ function vTe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${D7} ${_Te[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${_Te[a]}`,
children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, O.jsx)(O7, {
+ }), /* @__PURE__ */ (0, O.jsx)(k7, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, O.jsx)("i", { className: `${k7} ${R7[n].dot}` })
+ swatch: /* @__PURE__ */ (0, O.jsx)("i", { className: `${A7} ${z7[n].dot}` })
})]
});
}
-function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, D.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * L7, m = f + a * L7, h = (e) => ({
- x: d + e % i * L7,
- y: f + Math.floor(e / i) * L7
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + I7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, D.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * R7, m = f + a * R7, h = (e) => ({
+ x: d + e % i * R7,
+ y: f + Math.floor(e / i) * R7
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + L7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + I7 / 2,
- end: _.x + I7
+ center: _.x + L7 / 2,
+ end: _.x + L7
}[y] : 0;
return /* @__PURE__ */ (0, O.jsxs)("section", {
- className: S7,
+ className: C7,
children: [
- /* @__PURE__ */ (0, O.jsx)(C7, {
+ /* @__PURE__ */ (0, O.jsx)(w7, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -62766,12 +62788,12 @@ function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: I7,
- height: I7,
+ width: L7,
+ height: L7,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${R7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${z7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
@@ -62794,24 +62816,24 @@ function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var yTe = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [P7.map((e, t) => /* @__PURE__ */ (0, O.jsx)("text", {
+var yTe = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, O.jsx)("text", {
x: 0,
- y: 18 + t * L7 + 7,
+ y: 18 + t * R7 + 7,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: e
}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, O.jsx)("text", {
- x: 30 + t * L7,
+ x: 30 + t * R7,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
let o = hTe(e), s = gTe(e);
return s.cells.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, O.jsx)(z7, {
+ children: [/* @__PURE__ */ (0, O.jsx)(B7, {
title: t,
words: r,
tone: i,
@@ -62821,7 +62843,7 @@ function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
rows: 7,
axis: yTe,
footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, O.jsx)(z7, {
+ }), /* @__PURE__ */ (0, O.jsx)(B7, {
title: n,
words: r,
tone: i,
@@ -62832,7 +62854,7 @@ function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, O.jsx)("span", { children: s.end })] })
})]
}) : a ? /* @__PURE__ */ (0, O.jsxs)("section", {
- className: S7,
+ className: C7,
children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
@@ -62844,7 +62866,7 @@ function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function V7({ children: e, className: t = "", previewCount: n = 10 }) {
+function H7({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, D.useId)(), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(!1), l = D.Children.toArray(e), u = l.length > n;
(0, D.useLayoutEffect)(() => {
let e = i.current;
@@ -62891,13 +62913,13 @@ function V7({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var bTe = "30%", xTe = "100%", H7 = 5, U7 = 14, STe = 5, W7 = 1500, G7 = (0, D.createContext)(null);
-function K7() {
- let e = (0, D.use)(G7);
+var bTe = "30%", xTe = "100%", U7 = 5, W7 = 14, STe = 5, G7 = 1500, K7 = (0, D.createContext)(null);
+function q7() {
+ let e = (0, D.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = bTe, outerRadius: l = xTe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = bTe, outerRadius: l = xTe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
let m = (0, D.useId)().replace(/:/g, ""), [h, g] = (0, D.useState)(u), _ = kTe(f), v = ETe(o), y = (0, D.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
@@ -62925,12 +62947,12 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, O.jsx)(G7, {
+ return /* @__PURE__ */ (0, O.jsx)(K7, {
value: x,
- children: /* @__PURE__ */ (0, O.jsxs)(i7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, O.jsx)(a7, { isLoading: f }), /* @__PURE__ */ (0, O.jsxs)(Twe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, O.jsxs)(Twe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -62941,13 +62963,13 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, O.jsx)(X4, {
+ s != null && s > 0 && /* @__PURE__ */ (0, O.jsx)(Z4, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, O.jsx)(g7, { variant: p }),
+ p && /* @__PURE__ */ (0, O.jsx)(_7, { variant: p }),
r,
f && /* @__PURE__ */ (0, O.jsx)(ATe, {}),
/* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)(DTe, {
@@ -62959,9 +62981,9 @@ function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function CTe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = K7();
- return s ? null : /* @__PURE__ */ (0, O.jsx)(y6, {
+function CTe({ 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, O.jsx)(b6, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -62985,11 +63007,11 @@ function CTe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground
});
}
function wTe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = K7();
- return i ? null : /* @__PURE__ */ (0, O.jsx)(u7, {
+ let { nameKey: r, isLoading: i } = q7();
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, O.jsx)(l7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -62998,11 +63020,11 @@ function wTe({ variant: e, roundness: t, defaultIndex: n }) {
});
}
function TTe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = K7();
- return a ? null : /* @__PURE__ */ (0, O.jsx)(f7, {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
+ return a ? null : /* @__PURE__ */ (0, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, O.jsx)(d7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -63028,7 +63050,7 @@ function ETe(e) {
}
}
var DTe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = c7(n);
+ let r = l7(n);
return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -63062,17 +63084,17 @@ function kTe(e) {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, W7);
+ }, G7);
return () => clearInterval(t);
}, [e]), (0, D.useMemo)(() => OTe(), [t]);
}
-var ATe = () => /* @__PURE__ */ (0, O.jsx)(y6, {
+var ATe = () => /* @__PURE__ */ (0, O.jsx)(b6, {
dataKey: "value",
- cornerRadius: H7,
- barSize: U7,
+ cornerRadius: U7,
+ barSize: W7,
background: !0,
isAnimationActive: !0,
- animationDuration: W7,
+ animationDuration: G7,
animationEasing: "ease-in-out",
shape: (e) => /* @__PURE__ */ (0, O.jsx)(Gq, {
...e,
@@ -63080,7 +63102,7 @@ var ATe = () => /* @__PURE__ */ (0, O.jsx)(y6, {
fillOpacity: .25
})
});
-q7.RadialBar = CTe, q7.Tooltip = wTe, q7.Legend = TTe;
+J7.RadialBar = CTe, J7.Tooltip = wTe, J7.Legend = TTe;
//#endregion
//#region src/react/stats/radial-card.tsx
var jTe = [
@@ -63090,7 +63112,7 @@ var jTe = [
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], J7 = [
+], MTe = [
"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",
@@ -63102,11 +63124,11 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
let [r, i] = (0, D.useState)(-1), [a, o] = (0, D.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (!s.length) return null;
let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({
- slice: E7(t),
+ slice: D7(t),
value: e.value
}));
return /* @__PURE__ */ (0, O.jsxs)("section", {
- className: S7,
+ className: C7,
children: [
/* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -63128,16 +63150,16 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, O.jsxs)(q7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(J7, {
data: f,
nameKey: "slice",
config: pTe(s.map((e) => e.name)),
- max: wL(s.map((e) => e.value)),
+ max: TL(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, O.jsx)(q7.RadialBar, {
+ children: [/* @__PURE__ */ (0, O.jsx)(J7.RadialBar, {
dataKey: "value",
- barSize: TL(s.length),
+ barSize: EL(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, O.jsx)(Gq, {
...e,
@@ -63147,7 +63169,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, O.jsx)(A7, {
+ }), /* @__PURE__ */ (0, O.jsx)(j7, {
nameKey: "slice",
hideLabel: !0
})]
@@ -63163,7 +63185,7 @@ 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 ${J7[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 ${MTe[t % 6]}`,
children: [
/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
@@ -63188,7 +63210,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var MTe = 10, X7 = w7[5], NTe = w7[4], PTe = `${gw()} flex flex-col gap-4`, FTe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", ITe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", LTe = "开始播放后,这里会显示最近的真实观看证据。", RTe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", zTe = "添加媒体文件夹后,这里会显示存储空间。";
+var NTe = 10, X7 = T7[5], PTe = T7[4], FTe = `${gw()} flex flex-col gap-4`, ITe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", LTe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", RTe = "开始播放后,这里会显示最近的真实观看证据。", zTe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", BTe = "添加媒体文件夹后,这里会显示存储空间。";
function Z7({ term: e, value: t }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -63210,7 +63232,7 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, O.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [vL(t, n), "%"]
+ children: [yL(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, O.jsx)(xw, {
@@ -63241,14 +63263,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
- className: `${PTe} md:flex-row md:gap-6`,
+ className: `${FTe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function BTe({ data: t, configurable: r, openMediaSettings: i }) {
+function VTe({ data: t, configurable: r, openMediaSettings: i }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -63271,27 +63293,27 @@ function BTe({ data: t, configurable: r, openMediaSettings: i }) {
}), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, O.jsx)(N7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "时长",
unit: "个视频",
series: "视频",
color: X7,
- rows: Fse(t.by_length)
+ rows: Ise(t.by_length)
}),
- /* @__PURE__ */ (0, O.jsx)(N7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
rows: DL(t.by_quality)
}),
- /* @__PURE__ */ (0, O.jsx)(N7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "文件类型",
unit: "个条目",
series: "条目",
color: X7,
layout: "horizontal",
- rows: Nse(t.by_medium)
+ rows: Pse(t.by_medium)
})
]
})]
@@ -63308,11 +63330,11 @@ function BTe({ data: t, configurable: r, openMediaSettings: i }) {
size: "small",
children: "添加关注"
})] }),
- children: FTe
+ children: ITe
});
}
-function VTe({ data: e }) {
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(B7, {
+function HTe({ data: e }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -63322,15 +63344,15 @@ function VTe({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, O.jsx)(N7, {
+ }), /* @__PURE__ */ (0, O.jsx)(P7, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: NTe,
- rows: Lse(e.replays)
+ color: PTe,
+ rows: Rse(e.replays)
})] });
}
-function HTe({ attribution: e }) {
+function UTe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
@@ -63363,7 +63385,7 @@ function HTe({ attribution: e }) {
]
});
}
-function UTe({ volume: e }) {
+function WTe({ volume: e }) {
let t = e.total, r = e.used ?? 0;
return /* @__PURE__ */ (0, O.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5",
@@ -63375,7 +63397,7 @@ function UTe({ volume: e }) {
children: e.label
}), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-2-medium whitespace-nowrap text-text-primary",
- children: t == null ? e.online ? "容量未取得" : "离线" : `${vL(r, t)}%`
+ children: t == null ? e.online ? "容量未取得" : "离线" : `${yL(r, t)}%`
})]
}),
/* @__PURE__ */ (0, O.jsx)("small", {
@@ -63399,10 +63421,10 @@ function UTe({ volume: e }) {
]
});
}
-function WTe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function GTe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-5",
- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(UTe, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(WTe, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, O.jsx)(vw, {
shell: "plain",
icon: fS,
@@ -63412,12 +63434,12 @@ function WTe({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: zTe
+ children: BTe
});
}
-function GTe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, O.jsx)(V7, {
- previewCount: MTe,
+function KTe({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)(H7, {
+ previewCount: NTe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)("li", {
className: "min-w-0",
@@ -63450,14 +63472,14 @@ function GTe({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: ITe
+ children: LTe
});
}
-function KTe({ rows: e }) {
+function qTe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = bL(e);
+ let t = xL(e);
return /* @__PURE__ */ (0, O.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -63465,14 +63487,14 @@ function KTe({ rows: e }) {
children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, O.jsx)("a", {
- href: CL(e),
+ href: wL(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: SL(e) })]
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: CL(e) })]
})]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -63481,7 +63503,7 @@ function KTe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, O.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${xL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${SL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -63495,10 +63517,10 @@ function KTe({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: LTe
+ children: RTe
});
}
-function qTe({ sources: e, videos: t }) {
+function JTe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("article", {
@@ -63537,7 +63559,7 @@ function qTe({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: RTe
+ children: zTe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
@@ -63556,17 +63578,17 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function JTe(e) {
+function YTe(e) {
let t = ht({
- queryKey: hL,
- queryFn: ({ signal: e }) => gL(e)
+ queryKey: gL,
+ queryFn: ({ signal: e }) => _L(e)
}), r = t.data;
if (!r) return /* @__PURE__ */ (0, O.jsx)(bw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取统计失败"
}) });
- let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = vL(r.tag_cov, r.attribution.videos);
+ let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = yL(r.tag_cov, r.attribution.videos);
return /* @__PURE__ */ (0, O.jsxs)(bw, { children: [
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -63593,7 +63615,7 @@ function JTe(e) {
icon: dS,
accent: 1,
figure: i.played.toLocaleString(),
- detail: yL(i.play_seconds)
+ detail: bL(i.play_seconds)
}),
/* @__PURE__ */ (0, O.jsx)(t9, {
id: "coverage",
@@ -63615,7 +63637,7 @@ function JTe(e) {
}),
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "inventory",
- children: /* @__PURE__ */ (0, O.jsx)(BTe, {
+ children: /* @__PURE__ */ (0, O.jsx)(VTe, {
data: r,
...e
})
@@ -63666,7 +63688,7 @@ function JTe(e) {
})
]
})
- }), /* @__PURE__ */ (0, O.jsx)(VTe, { data: r })]
+ }), /* @__PURE__ */ (0, O.jsx)(HTe, { data: r })]
}),
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "coverage",
@@ -63676,7 +63698,7 @@ function JTe(e) {
figure: `${c}%`,
unit: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, O.jsx)(HTe, { attribution: r.attribution })
+ children: /* @__PURE__ */ (0, O.jsx)(UTe, { attribution: r.attribution })
})
}),
/* @__PURE__ */ (0, O.jsx)(RD, {
@@ -63687,7 +63709,7 @@ function JTe(e) {
figure: String(a.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, O.jsx)(WTe, {
+ children: /* @__PURE__ */ (0, O.jsx)(GTe, {
volumes: r.storage_volumes,
...e
})
@@ -63702,21 +63724,21 @@ function JTe(e) {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, O.jsxs)(ID, {
"aria-label": "统计维度",
- className: EM,
+ className: DM,
children: [
/* @__PURE__ */ (0, O.jsx)(LD, {
id: "tags",
- className: DM,
+ className: OM,
children: "内容标签"
}),
/* @__PURE__ */ (0, O.jsx)(LD, {
id: "recent",
- className: DM,
+ className: OM,
children: "最近看过"
}),
/* @__PURE__ */ (0, O.jsx)(LD, {
id: "sources",
- className: DM,
+ className: OM,
children: "标签来源"
})
]
@@ -63725,7 +63747,7 @@ function JTe(e) {
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, O.jsx)(GTe, {
+ children: /* @__PURE__ */ (0, O.jsx)(KTe, {
tags: r.top_tags,
...e
})
@@ -63733,12 +63755,12 @@ function JTe(e) {
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, O.jsx)(KTe, { rows: r.recent })
+ children: /* @__PURE__ */ (0, O.jsx)(qTe, { rows: r.recent })
}),
/* @__PURE__ */ (0, O.jsx)(RD, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, O.jsx)(qTe, {
+ children: /* @__PURE__ */ (0, O.jsx)(JTe, {
sources: r.tag_source,
videos: r.attribution.videos
})
@@ -63749,7 +63771,7 @@ function JTe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function YTe(e, t) {
+function XTe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -63773,13 +63795,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function XTe(e) {
+function ZTe(e) {
return e.index;
}
-function ZTe(e) {
+function QTe(e) {
return e.nodes;
}
-function QTe(e) {
+function $Te(e) {
return e.links;
}
function s9(e, t) {
@@ -63794,8 +63816,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function $Te() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XTe, c = YTe, l, u, d = ZTe, f = QTe, p = 6;
+function eEe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ZTe, c = XTe, l, u, d = QTe, f = $Te, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -63981,7 +64003,7 @@ function $Te() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, eEe = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, tEe = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -64022,7 +64044,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 > eEe ? 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 > tEe ? 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";
@@ -64040,27 +64062,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function tEe(e) {
+function nEe(e) {
return e[0];
}
-function nEe(e) {
+function rEe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var rEe = Array.prototype.slice;
+var iEe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function iEe(e) {
+function aEe(e) {
return e.source;
}
-function aEe(e) {
+function oEe(e) {
return e.target;
}
-function oEe(e) {
- var t = iEe, n = aEe, r = tEe, i = nEe, a = null;
+function sEe(e) {
+ var t = aEe, n = oEe, r = nEe, i = rEe, a = null;
function o() {
- var o, s = rEe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = iEe.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) {
@@ -64075,48 +64097,48 @@ function oEe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function sEe(e, t, n, r, i) {
+function cEe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function cEe() {
- return oEe(sEe);
+function lEe() {
+ return sEe(cEe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function lEe(e) {
+function uEe(e) {
return [e.source.x1, e.y0];
}
-function uEe(e) {
+function dEe(e) {
return [e.target.x0, e.y1];
}
-function dEe() {
- return cEe().source(lEe).target(uEe);
+function fEe() {
+ return lEe().source(uEe).target(dEe);
}
//#endregion
//#region src/react/taste/taste.ts
-var fEe = "/api/taste", h9 = "/api/taste/refresh", pEe = "/api/taste/import", mEe = "/api/taste/source", g9 = (e) => ["taste", e], hEe = ["taste", "refresh"], gEe = [
+var pEe = "/api/taste", h9 = "/api/taste/refresh", mEe = "/api/taste/import", hEe = "/api/taste/source", g9 = (e) => ["taste", e], gEe = ["taste", "refresh"], _Ee = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => cw(`${fEe}?window=${e}`, t), _Ee = (e) => cw(h9, e);
-async function vEe(e, t) {
+], _9 = (e, t) => cw(`${pEe}?window=${e}`, t), vEe = (e) => cw(h9, e);
+async function yEe(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var yEe = (e) => q(h9, {
+var bEe = (e) => q(h9, {
window: e,
background: !0
-}), bEe = (e, t) => q(mEe, {
+}), xEe = (e, t) => q(hEe, {
operation: "remove",
source_key: e,
window: t
});
-async function xEe(e) {
- let t = await fetch(pEe, {
+async function SEe(e) {
+ let t = await fetch(mEe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -64134,21 +64156,21 @@ async function xEe(e) {
}
return n;
}
-var SEe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", CEe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, wEe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function TEe(e) {
+var CEe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", wEe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, TEe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function EEe(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 EEe(e) {
- let t = e.map(wEe), n = Math.max(1, ...t);
+function DEe(e) {
+ let t = e.map(TEe), 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 DEe(e) {
+function OEe(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -64159,10 +64181,10 @@ var b9 = {
source: 145,
target: 545
};
-function OEe(e = []) {
+function kEe(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 = $Te().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 = eEe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -64177,7 +64199,7 @@ function OEe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = dEe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = fEe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -64207,7 +64229,7 @@ function OEe(e = []) {
total: a
};
}
-var kEe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = D.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var AEe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = D.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = D.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -64261,7 +64283,7 @@ var kEe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = D.memo(functio
}));
C9.displayName = "DefaultDot";
var w9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, O.jsxs)("g", {
- className: $5(a, "text-background"),
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
@@ -64299,7 +64321,7 @@ var w9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}));
w9.displayName = "PrimaryBorderDot";
var T9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, O.jsxs)("g", {
- className: $5(a, "text-background"),
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
@@ -64330,14 +64352,14 @@ var T9 = D.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 AEe = 1, jEe = .3, MEe = 6, E9 = 1500, D9 = "value", O9 = (0, D.createContext)(null);
+var jEe = 1, MEe = .3, NEe = 6, E9 = 1500, D9 = "value", O9 = (0, D.createContext)(null);
function k9() {
let e = (0, D.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, D.useId)().replace(/:/g, ""), [d, f] = (0, D.useState)(o), p = GEe(c, l), m = (0, D.useCallback)((e) => {
+ let u = (0, D.useId)().replace(/:/g, ""), [d, f] = (0, D.useState)(o), p = KEe(c, l), m = (0, D.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, D.useMemo)(() => ({
config: e,
@@ -64352,35 +64374,35 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
]);
return /* @__PURE__ */ (0, O.jsx)(O9, {
value: h,
- children: /* @__PURE__ */ (0, O.jsxs)(i7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, O.jsx)(a7, { isLoading: c }), /* @__PURE__ */ (0, O.jsxs)(_we, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, O.jsxs)(_we, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, O.jsx)(g7, { variant: a }),
+ a && /* @__PURE__ */ (0, O.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, O.jsx)(KEe, {})
+ c && /* @__PURE__ */ (0, O.jsx)(qEe, {})
]
})]
})
});
}
-function NEe({ dataKey: e, variant: t = "filled", fillOpacity: n = jEe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function PEe({ dataKey: e, variant: t = "filled", fillOpacity: n = MEe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, D.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 } = zEe(a, d, e, p.dot);
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(U3, {
+ }, m = t === "filled", { dot: h, activeDot: g } = BEe(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(W3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: AEe,
+ strokeWidth: jEe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -64393,30 +64415,30 @@ function NEe({ dataKey: e, variant: t = "filled", fillOpacity: n = jEe, isGlowin
},
...o
}), /* @__PURE__ */ (0, O.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, O.jsx)(BEe, {
+ /* @__PURE__ */ (0, O.jsx)(VEe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, O.jsx)(VEe, {
+ /* @__PURE__ */ (0, O.jsx)(HEe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, O.jsx)(HEe, {
+ m && /* @__PURE__ */ (0, O.jsx)(UEe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, O.jsx)(UEe, {
+ r && /* @__PURE__ */ (0, O.jsx)(WEe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function PEe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, O.jsx)(I4, {
+function FEe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, O.jsx)(L4, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -64424,47 +64446,47 @@ function PEe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function FEe({ tick: e = {
+function IEe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
let { isLoading: r } = k9();
- return r ? null : /* @__PURE__ */ (0, O.jsx)(X4, {
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(Z4, {
tick: e,
tickLine: t,
...n
});
}
-function IEe({ tick: e = {
+function LEe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
let { isLoading: i } = k9();
- return i ? null : /* @__PURE__ */ (0, O.jsx)(W4, {
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(G4, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function LEe({ variant: e, roundness: t, defaultIndex: n }) {
+function REe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
- return r ? null : /* @__PURE__ */ (0, O.jsx)(u7, {
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, O.jsx)(l7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
selected: i,
roundness: t,
variant: e
})
});
}
-function REe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function zEe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
- return i ? null : /* @__PURE__ */ (0, O.jsx)(f7, {
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, O.jsx)(d7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -64472,7 +64494,7 @@ function REe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var zEe = (e, t, n, r) => {
+var BEe = (e, t, n, r) => {
let i = !1, a = !1;
return D.Children.forEach(e, (e) => {
if ((0, D.isValidElement)(e)) {
@@ -64514,8 +64536,8 @@ var zEe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), BEe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {});
+}) }), VEe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -64527,8 +64549,8 @@ var zEe = (e, t, n, r) => {
colorsCount: r
})
});
-}, VEe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {});
+}, HEe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
@@ -64540,8 +64562,8 @@ var zEe = (e, t, n, r) => {
colorsCount: r
})
});
-}, HEe = ({ id: e, dataKey: t, config: n }) => {
- let r = c7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, UEe = ({ 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, O.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
@@ -64553,7 +64575,7 @@ var zEe = (e, t, n, r) => {
opacities: i
})
});
-}, UEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)("filter", {
+}, WEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -64573,7 +64595,7 @@ var zEe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, O.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), WEe = (e) => [
+}), GEe = (e) => [
"A",
"B",
"C",
@@ -64584,7 +64606,7 @@ var zEe = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function GEe(e, t = MEe) {
+function KEe(e, t = NEe) {
let [n, r] = (0, D.useState)(0);
return (0, D.useEffect)(() => {
if (!e) return;
@@ -64592,9 +64614,9 @@ function GEe(e, t = MEe) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, D.useMemo)(() => WEe(t), [t, n]);
+ }, [e]), (0, D.useMemo)(() => GEe(t), [t, n]);
}
-var KEe = () => /* @__PURE__ */ (0, O.jsx)(U3, {
+var qEe = () => /* @__PURE__ */ (0, O.jsx)(W3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -64606,17 +64628,17 @@ var KEe = () => /* @__PURE__ */ (0, O.jsx)(U3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = NEe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = PEe, A9.PolarAngleAxis = FEe, A9.PolarRadiusAxis = IEe, A9.Tooltip = LEe, A9.Legend = REe;
+A9.Radar = PEe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = FEe, A9.PolarAngleAxis = IEe, A9.PolarRadiusAxis = LEe, A9.Tooltip = REe, A9.Legend = zEe;
//#endregion
//#region src/react/taste/charts.tsx
-var qEe = [
+var JEe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], JEe = [
+], YEe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -64625,31 +64647,31 @@ var qEe = [
"fill-chart-6"
], P9 = { value: {
label: "标签命中",
- colors: T7(w7[3])
-} }, YEe = [
- "h-24",
- "h-24",
- "h-24",
- "h-32",
- "h-40",
- "h-48",
- "h-52",
- "h-60",
- "h-64"
-], XEe = { radius: P9.value }, ZEe = (e, t) => Math.sqrt(e / t);
-function QEe({ rows: e, label: t }) {
- let n = DEe(e);
+ colors: E7(T7[3])
+} }, XEe = [
+ "min-h-24",
+ "min-h-24",
+ "min-h-24",
+ "min-h-32",
+ "min-h-40",
+ "min-h-48",
+ "min-h-52",
+ "min-h-60",
+ "min-h-64"
+], ZEe = 26, QEe = { radius: P9.value }, $Ee = (e, t) => Math.sqrt(e / t);
+function eDe({ rows: e, label: t }) {
+ let n = OEe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: ZEe(e.value, r)
+ radius: $Ee(e.value, r)
}));
return /* @__PURE__ */ (0, O.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, O.jsxs)(A9, {
data: i,
- config: XEe,
+ config: QEe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -64661,51 +64683,53 @@ function QEe({ rows: e, label: t }) {
tick: !1
}),
/* @__PURE__ */ (0, O.jsx)(A9.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, O.jsx)(A7, { valueKey: "value" })
+ /* @__PURE__ */ (0, O.jsx)(j7, { valueKey: "value" })
]
})
});
}
-function $Ee({ rows: e, label: t }) {
+function tDe({ rows: e, label: t }) {
let n = y9(e, 8);
return n.length ? /* @__PURE__ */ (0, O.jsx)("section", {
"aria-label": t,
- children: /* @__PURE__ */ (0, O.jsxs)(b7, {
+ className: `flex grow flex-col ${XEe[n.length]}`,
+ children: /* @__PURE__ */ (0, O.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- className: `aspect-auto text-text-secondary ${YEe[n.length]}`,
+ chartProps: { maxBarSize: ZEe },
+ className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, O.jsx)(b7.YAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, O.jsx)(b7.XAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
hide: !0,
- domain: j7
+ domain: M7
}),
- /* @__PURE__ */ (0, O.jsx)(b7.Bar, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: M7("right")
+ label: N7("right")
}
}),
- /* @__PURE__ */ (0, O.jsx)(A7, {})
+ /* @__PURE__ */ (0, O.jsx)(j7, {})
]
})
}) : null;
}
-function eDe({ flows: e }) {
- let [t, n] = (0, D.useState)(null), r = OEe(e);
+function nDe({ flows: e }) {
+ let [t, n] = (0, D.useState)(null), r = kEe(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, O.jsxs)("section", {
- className: S7,
+ className: C7,
children: [
- /* @__PURE__ */ (0, O.jsx)(C7, {
+ /* @__PURE__ */ (0, O.jsx)(w7, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -64727,7 +64751,7 @@ function eDe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${qEe[e.color]}`,
+ className: `outline-none transition-opacity ${JEe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -64761,14 +64785,14 @@ function eDe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? JEe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? YEe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, O.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: [kEe(e.name), /* @__PURE__ */ (0, O.jsx)("tspan", {
+ children: [AEe(e.name), /* @__PURE__ */ (0, O.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -64786,7 +64810,7 @@ function eDe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var tDe = 10, F9 = ew(uA, dA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", nDe = "读取运行 Peach 的这台电脑上的浏览记录", rDe = "导入或读取浏览记录后,这里会列出已采集设备。", iDe = "馆藏里暂时没有对得上浏览信号的标签。", aDe = "采集浏览记录后,这里会显示聚合后的口味证据。", oDe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", sDe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", cDe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", lDe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", uDe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var rDe = 10, F9 = ew(uA, dA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", iDe = "读取运行 Peach 的这台电脑上的浏览记录", aDe = "导入或读取浏览记录后,这里会列出已采集设备。", oDe = "馆藏里暂时没有对得上浏览信号的标签。", sDe = "采集浏览记录后,这里会显示聚合后的口味证据。", cDe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", lDe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", uDe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", dDe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", fDe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
className: nA(),
@@ -64813,22 +64837,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function dDe({ html: e }) {
+function pDe({ html: e }) {
return /* @__PURE__ */ (0, O.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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",
dangerouslySetInnerHTML: { __html: e }
});
}
-function fDe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+function mDe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
if (!e.length) return /* @__PURE__ */ (0, O.jsx)(vw, {
shell: "plain",
icon: _S,
title: "暂无足够证据",
children: r
});
- let o = EEe(e);
- return /* @__PURE__ */ (0, O.jsx)(V7, {
- previewCount: tDe,
+ let o = DEe(e);
+ return /* @__PURE__ */ (0, O.jsx)(H7, {
+ previewCount: rDe,
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, O.jsxs)(O.Fragment, { children: [
@@ -64855,7 +64879,7 @@ function fDe({ 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, O.jsx)(dDe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, O.jsx)(pDe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -64867,7 +64891,7 @@ function fDe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: TEe(e)
+ children: EEe(e)
})]
}),
s ? /* @__PURE__ */ (0, O.jsx)(rS, {
@@ -64897,17 +64921,17 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, O.jsx)(ID, {
"aria-label": e,
- className: EM,
+ className: DM,
children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(LD, {
id: e.id,
- className: DM,
+ className: OM,
children: e.name
}, e.id))
})
}), t.map((e) => /* @__PURE__ */ (0, O.jsx)(RD, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, O.jsx)(fDe, {
+ children: /* @__PURE__ */ (0, O.jsx)(mDe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -64915,7 +64939,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function pDe({ data: e, onSignal: t, navigate: n }) {
+function hDe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -64990,12 +65014,12 @@ function pDe({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: _S,
title: "还没有可探索的入口",
- children: iDe
+ children: oDe
})
]
});
}
-function mDe({ onboarding: e, done: t }) {
+function gDe({ onboarding: e, done: t }) {
let [n, r] = (0, D.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -65014,11 +65038,11 @@ function mDe({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: sDe
+ children: lDe
}),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: cDe
+ children: uDe
}),
/* @__PURE__ */ (0, O.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -65048,7 +65072,7 @@ function mDe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: lDe
+ children: dDe
}),
/* @__PURE__ */ (0, O.jsx)("span", {
className: "self-start",
@@ -65068,7 +65092,7 @@ function mDe({ onboarding: e, done: t }) {
})
});
}
-function hDe({ busy: e, onRefresh: t, onImport: n }) {
+function _De({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -65078,7 +65102,7 @@ function hDe({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, O.jsx)(G, {
leadingIcon: sS,
- title: nDe,
+ title: iDe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
@@ -65121,9 +65145,9 @@ function hDe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function gDe({ sources: e, window: t, toast: n }) {
+function vDe({ sources: e, window: t, toast: n }) {
let r = gt({
- mutationFn: (e) => bEe(e, t),
+ mutationFn: (e) => xEe(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -65175,7 +65199,7 @@ function gDe({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || c({
title: "移除口味数据源",
- body: uDe,
+ body: fDe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -65187,26 +65211,26 @@ function gDe({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: cS,
title: "还没有数据源",
- children: rDe
+ children: aDe
})
]
});
}
-function _De(e) {
+function yDe(e) {
let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, D.useState)("all"), [l, u] = (0, D.useState)("browser"), d = (0, D.useRef)(null), f = ht({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: me
}), { job: p, running: m, outcome: h, start: g } = zA({
- queryKey: hEe,
- queryFn: ({ signal: e }) => _Ee(e),
- start: () => yEe(s),
- idlePollMs: SEe,
+ queryKey: gEe,
+ queryFn: ({ signal: e }) => vEe(e),
+ start: () => bEe(s),
+ idlePollMs: CEe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));
}
}), _ = gt({
- mutationFn: (e) => xEe(e),
+ mutationFn: (e) => SEe(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), i("已导入口味数据");
}
@@ -65232,14 +65256,14 @@ function _De(e) {
className: "flex flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, O.jsxs)(ID, {
"aria-label": "口味证据来源",
- className: EM,
+ className: DM,
children: [/* @__PURE__ */ (0, O.jsx)(LD, {
id: "browser",
- className: DM,
+ className: OM,
children: "浏览器记录"
}), /* @__PURE__ */ (0, O.jsx)(LD, {
id: "peach",
- className: DM,
+ className: OM,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -65251,12 +65275,12 @@ function _De(e) {
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: gEe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
+ children: _Ee.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(LA, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, O.jsx)(hDe, {
+ /* @__PURE__ */ (0, O.jsx)(_De, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -65272,7 +65296,7 @@ function _De(e) {
]
})]
}),
- /* @__PURE__ */ (0, O.jsx)(mDe, {
+ /* @__PURE__ */ (0, O.jsx)(gDe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -65344,7 +65368,7 @@ function _De(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, O.jsx)(QEe, {
+ /* @__PURE__ */ (0, O.jsx)(eDe, {
rows: T,
label: "主要口味维度"
}),
@@ -65354,19 +65378,19 @@ function _De(e) {
})
]
}), /* @__PURE__ */ (0, O.jsx)("div", {
- className: "min-w-0 grow",
- children: T.length ? /* @__PURE__ */ (0, O.jsx)($Ee, {
+ className: "flex min-w-0 grow flex-col",
+ children: T.length ? /* @__PURE__ */ (0, O.jsx)(tDe, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, O.jsx)(vw, {
shell: "plain",
icon: _S,
title: "暂无口味维度",
- children: aDe
+ children: sDe
})
})]
}),
- /* @__PURE__ */ (0, O.jsx)(B7, {
+ /* @__PURE__ */ (0, O.jsx)(V7, {
activity: b.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -65378,7 +65402,7 @@ function _De(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, O.jsx)(eDe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, O.jsx)(nDe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, O.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -65421,7 +65445,7 @@ function _De(e) {
rows: E,
kind: "",
visual: "none",
- empty: oDe
+ empty: cDe
}
}
]
@@ -65440,7 +65464,7 @@ function _De(e) {
icon: dS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: CEe(x.peach_seconds || 0)
+ detail: wEe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, O.jsx)(z9, {
accent: 1,
@@ -65535,12 +65559,12 @@ function _De(e) {
})
]
}),
- /* @__PURE__ */ (0, O.jsx)(pDe, {
+ /* @__PURE__ */ (0, O.jsx)(hDe, {
data: b,
onSignal: t,
navigate: r
}),
- /* @__PURE__ */ (0, O.jsx)(gDe, {
+ /* @__PURE__ */ (0, O.jsx)(vDe, {
sources: b.sources || [],
window: s,
toast: i
@@ -65569,26 +65593,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function vDe(e) {
+function bDe(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 yDe = (e) => {
+var xDe = (e) => {
switch (e) {
- case "success": return SDe;
- case "info": return wDe;
- case "warning": return CDe;
- case "error": return TDe;
+ case "success": return wDe;
+ case "info": return EDe;
+ case "warning": return TDe;
+ case "error": return DDe;
default: return null;
}
-}, bDe = Array(12).fill(0), xDe = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {
+}, SDe = Array(12).fill(0), CDe = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, bDe.map((e, t) => /*#__PURE__*/ D.createElement("div", {
+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, SDe.map((e, t) => /*#__PURE__*/ D.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), SDe = /*#__PURE__*/ D.createElement("svg", {
+})))), wDe = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -65599,7 +65623,7 @@ var yDe = (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"
-})), CDe = /*#__PURE__*/ D.createElement("svg", {
+})), TDe = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -65610,7 +65634,7 @@ var yDe = (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"
-})), wDe = /*#__PURE__*/ D.createElement("svg", {
+})), EDe = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -65621,7 +65645,7 @@ var yDe = (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"
-})), TDe = /*#__PURE__*/ D.createElement("svg", {
+})), DDe = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -65632,7 +65656,7 @@ var yDe = (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"
-})), EDe = /*#__PURE__*/ D.createElement("svg", {
+})), ODe = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -65653,7 +65677,7 @@ var yDe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), DDe = () => {
+})), kDe = () => {
let [e, t] = D.useState(document.hidden);
return D.useEffect(() => {
let e = () => {
@@ -65661,7 +65685,7 @@ var yDe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, ODe = 1, kDe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : ODe++, W9 = new class {
+}, ADe = 1, jDe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : ADe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -65671,7 +65695,7 @@ var yDe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - kDe;
+ let e = this.toasts.length - jDe;
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);
@@ -65749,7 +65773,7 @@ var yDe = (e) => {
type: "default",
message: e
});
- else if (jDe(e) && !e.ok) {
+ else if (NDe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };
this.create({
@@ -65802,7 +65826,7 @@ var yDe = (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();
}
-}(), ADe = (e, t) => W9.message(e, t), jDe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(ADe, {
+}(), MDe = (e, t) => W9.message(e, t), NDe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(MDe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -65816,20 +65840,20 @@ var yDe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-vDe("[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%)}");
+bDe("[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 MDe = 3, NDe = "24px", PDe = "16px", q9 = 4e3, FDe = 356, IDe = 14, LDe = 45, RDe = 200;
+var PDe = 3, FDe = "24px", IDe = "16px", q9 = 4e3, LDe = 356, RDe = 14, zDe = 45, BDe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function zDe(e) {
+function VDe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var BDe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [F, I] = D.useState(!1), [ee, te] = D.useState(!1), [ne, L] = D.useState(!1), [re, ie] = D.useState(0), [ae, oe] = D.useState(0), se = D.useRef(n.duration || y || q9), ce = D.useRef(null), le = D.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = D.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = D.useRef(0), ye = D.useRef(0), be = D.useRef(0), xe = D.useRef(null), [Se, Ce] = b.split("-"), we = D.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = DDe(), Ee = D.useMemo(() => e.swipeDirections ?? zDe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var HDe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [F, I] = D.useState(!1), [ee, te] = D.useState(!1), [ne, L] = D.useState(!1), [re, ie] = D.useState(0), [ae, oe] = D.useState(0), se = D.useRef(n.duration || y || q9), ce = D.useRef(null), le = D.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = D.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = D.useRef(0), ye = D.useRef(0), be = D.useRef(0), xe = D.useRef(null), [Se, Ce] = b.split("-"), we = D.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = kDe(), Ee = D.useMemo(() => e.swipeDirections ?? VDe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = D.useMemo(() => he * x + we, [he, we]), D.useEffect(() => {
se.current = _e;
}, [_e]), D.useEffect(() => {
@@ -65870,7 +65894,7 @@ var BDe = (e) => {
let ke = D.useCallback(() => {
P(!0), ie(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, RDe);
+ }, BDe);
}, [
n,
d,
@@ -65903,12 +65927,12 @@ var BDe = (e) => {
return w?.loading ? /*#__PURE__*/ D.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ D.createElement(xDe, {
+ }, w.loading) : /*#__PURE__*/ D.createElement(CDe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || yDe(z);
+ let je = n.icon || w?.[z] || xDe(z);
return /*#__PURE__*/ D.createElement("li", {
tabIndex: 0,
ref: le,
@@ -65955,7 +65979,7 @@ var BDe = (e) => {
if (ee || !fe) return;
xe.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= LDe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= zDe || a > .11)) {
ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
return;
}
@@ -65996,7 +66020,7 @@ var BDe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? EDe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {
+ }, w?.close ?? ODe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ D.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__*/ D.createElement("div", {
@@ -66031,10 +66055,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function VDe(e, t) {
+function UDe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? PDe : NDe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? IDe : FDe;
function o(e) {
[
"top",
@@ -66055,8 +66079,8 @@ function VDe(e, t) {
}) : o(a);
}), n;
}
-var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = MDe, toastOptions: g, dir: _ = Y9(), gap: v = IDe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = D.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = D.useRef(null), te = D.useRef(!1), ne = D.useCallback((e) => {
+var WDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = PDe, toastOptions: g, dir: _ = Y9(), gap: v = RDe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = D.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = D.useRef(null), te = D.useRef(!1), ne = D.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return D.useEffect(() => W9.subscribe((e) => {
@@ -66142,10 +66166,10 @@ var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${FDe}px`,
+ "--width": `${LDe}px`,
"--gap": `${v}px`,
...m,
- ...VDe(l, u)
+ ...UDe(l, u)
},
onBlur: (e) => {
te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -66163,7 +66187,7 @@ var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(BDe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(HDe, {
key: n.id,
icons: y,
index: i,
@@ -66197,8 +66221,8 @@ var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, UDe = (e, t) => {
- Z9 || (Z9 = !0, (0, eS.createRoot)(e).render(/* @__PURE__ */ (0, O.jsx)(HDe, {
+}), Z9 = !1, GDe = (e, t) => {
+ Z9 || (Z9 = !0, (0, eS.createRoot)(e).render(/* @__PURE__ */ (0, O.jsx)(WDe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -66219,7 +66243,7 @@ var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, WDe = (e, t) => {
+}, KDe = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -66232,7 +66256,7 @@ var HDe = /*#__PURE__*/ D.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function GDe() {
+function qDe() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
@@ -66242,7 +66266,7 @@ function $9(e) {
children: /* @__PURE__ */ (0, O.jsx)(bu, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, O.jsx)(ey, {
- getContainer: GDe,
+ getContainer: qDe,
children: /* @__PURE__ */ (0, O.jsx)(e, { ...t })
})
})
@@ -66253,7 +66277,7 @@ function $9(e) {
};
};
}
-var KDe = {
+var JDe = {
activity: {
prefetch: (e, t) => jw(t),
mount: $9($w)
@@ -66267,12 +66291,12 @@ var KDe = {
mount: $9(eie)
},
configuration: {
- prefetch: (e, t) => bI(t),
- mount: $9(dL)
+ prefetch: (e, t) => xI(t),
+ mount: $9(fL)
},
"configuration-summary": {
- prefetch: (e, t) => bI(t),
- mount: $9(pL)
+ prefetch: (e, t) => xI(t),
+ mount: $9(mL)
},
"data-cleanup": {
prefetch: (e, t) => oae(t),
@@ -66280,44 +66304,44 @@ var KDe = {
},
duplicates: {
prefetch: (e, t) => sie(t),
- mount: $9(Uj)
+ mount: $9(Wj)
},
"follow-manage": {
prefetch: (e, t) => yoe(t, e.tab),
- mount: $9(BN)
+ mount: $9(VN)
},
index: {
- prefetch: (e, t) => cP(e, t),
- mount: $9(LP)
+ prefetch: (e, t) => lP(e, t),
+ mount: $9(RP)
},
"library-processing": {
prefetch: (e, t) => TO(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(UP, { ...e }) : /* @__PURE__ */ (0, O.jsx)(PA, { ...e }))
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(WP, { ...e }) : /* @__PURE__ */ (0, O.jsx)(PA, { ...e }))
},
playlists: {
- prefetch: (e, t) => JP(t),
- mount: $9(CF)
+ prefetch: (e, t) => YP(t),
+ mount: $9(wF)
},
"quality-goals": {
prefetch: (e, t) => Tie(t),
- mount: $9(TF)
+ mount: $9(EF)
},
review: {
- prefetch: (e, t) => zie(t),
- mount: $9(qF)
+ prefetch: (e, t) => Bie(t),
+ mount: $9(JF)
},
scraping: {
- prefetch: (e, t) => sI(t),
- mount: $9(hI)
+ prefetch: (e, t) => cI(t),
+ mount: $9(gI)
},
stats: {
- prefetch: (e, t) => _L(t),
- mount: $9(JTe)
+ prefetch: (e, t) => vL(t),
+ mount: $9(YTe)
},
taste: {
- prefetch: (e, t) => vEe("all", t),
- mount: $9(_De)
+ prefetch: (e, t) => yEe("all", t),
+ mount: $9(yDe)
}
};
//#endregion
-export { UDe as mountToaster, KDe as pages, WDe as showToast };
+export { GDe as mountToaster, JDe as pages, KDe as showToast };